public interface Factories
| Modifier and Type | Method and Description |
|---|---|
Factory |
configureFactoryRepo(String locationId,
FactoryRepoUpdate factoryRepoUpdate)
Updates a factory's repo information.
|
com.azure.core.http.rest.Response<Factory> |
configureFactoryRepoWithResponse(String locationId,
FactoryRepoUpdate factoryRepoUpdate,
com.azure.core.util.Context context)
Updates a factory's repo information.
|
Factory.DefinitionStages.Blank |
define(String name)
Begins definition for a new Factory resource.
|
void |
deleteById(String id)
Deletes a factory.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a factory.
|
void |
deleteByResourceGroup(String resourceGroupName,
String factoryName)
Deletes a factory.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String factoryName,
com.azure.core.util.Context context)
Deletes a factory.
|
Factory |
getById(String id)
Gets a factory.
|
com.azure.core.http.rest.Response<Factory> |
getByIdWithResponse(String id,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a factory.
|
Factory |
getByResourceGroup(String resourceGroupName,
String factoryName)
Gets a factory.
|
com.azure.core.http.rest.Response<Factory> |
getByResourceGroupWithResponse(String resourceGroupName,
String factoryName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a factory.
|
AccessPolicyResponse |
getDataPlaneAccess(String resourceGroupName,
String factoryName,
UserAccessPolicy policy)
Get Data Plane access.
|
com.azure.core.http.rest.Response<AccessPolicyResponse> |
getDataPlaneAccessWithResponse(String resourceGroupName,
String factoryName,
UserAccessPolicy policy,
com.azure.core.util.Context context)
Get Data Plane access.
|
GitHubAccessTokenResponse |
getGitHubAccessToken(String resourceGroupName,
String factoryName,
GitHubAccessTokenRequest gitHubAccessTokenRequest)
Get GitHub Access Token.
|
com.azure.core.http.rest.Response<GitHubAccessTokenResponse> |
getGitHubAccessTokenWithResponse(String resourceGroupName,
String factoryName,
GitHubAccessTokenRequest gitHubAccessTokenRequest,
com.azure.core.util.Context context)
Get GitHub Access Token.
|
com.azure.core.http.rest.PagedIterable<Factory> |
list()
Lists factories under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<Factory> |
list(com.azure.core.util.Context context)
Lists factories under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<Factory> |
listByResourceGroup(String resourceGroupName)
Lists factories.
|
com.azure.core.http.rest.PagedIterable<Factory> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists factories.
|
com.azure.core.http.rest.PagedIterable<Factory> list()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<Factory> list(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Factory configureFactoryRepo(String locationId, FactoryRepoUpdate factoryRepoUpdate)
locationId - The location identifier.factoryRepoUpdate - Update factory repo request definition.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Factory> configureFactoryRepoWithResponse(String locationId, FactoryRepoUpdate factoryRepoUpdate, com.azure.core.util.Context context)
locationId - The location identifier.factoryRepoUpdate - Update factory repo request definition.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<Factory> listByResourceGroup(String resourceGroupName)
resourceGroupName - The resource group name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<Factory> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Factory getByResourceGroup(String resourceGroupName, String factoryName)
resourceGroupName - The resource group name.factoryName - The factory name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Factory> getByResourceGroupWithResponse(String resourceGroupName, String factoryName, String ifNoneMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.ifNoneMatch - ETag of the factory entity. Should only be specified for get. If the ETag matches the existing
entity tag, or if * was provided, then no content will be returned.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteByResourceGroup(String resourceGroupName, String factoryName)
resourceGroupName - The resource group name.factoryName - The factory name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.GitHubAccessTokenResponse getGitHubAccessToken(String resourceGroupName, String factoryName, GitHubAccessTokenRequest gitHubAccessTokenRequest)
resourceGroupName - The resource group name.factoryName - The factory name.gitHubAccessTokenRequest - Get GitHub access token request definition.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<GitHubAccessTokenResponse> getGitHubAccessTokenWithResponse(String resourceGroupName, String factoryName, GitHubAccessTokenRequest gitHubAccessTokenRequest, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.gitHubAccessTokenRequest - Get GitHub access token request definition.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.AccessPolicyResponse getDataPlaneAccess(String resourceGroupName, String factoryName, UserAccessPolicy policy)
resourceGroupName - The resource group name.factoryName - The factory name.policy - Data Plane user access policy definition.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<AccessPolicyResponse> getDataPlaneAccessWithResponse(String resourceGroupName, String factoryName, UserAccessPolicy policy, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.policy - Data Plane user access policy definition.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Factory getById(String id)
id - the resource ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Factory> getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context)
id - the resource ID.ifNoneMatch - ETag of the factory entity. Should only be specified for get. If the ETag matches the existing
entity tag, or if * was provided, then no content will be returned.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteById(String id)
id - the resource ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Factory.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.