public interface FactoriesClient
| Modifier and Type | Method and Description |
|---|---|
FactoryInner |
configureFactoryRepo(String locationId,
FactoryRepoUpdate factoryRepoUpdate)
Updates a factory's repo information.
|
com.azure.core.http.rest.Response<FactoryInner> |
configureFactoryRepoWithResponse(String locationId,
FactoryRepoUpdate factoryRepoUpdate,
com.azure.core.util.Context context)
Updates a factory's repo information.
|
FactoryInner |
createOrUpdate(String resourceGroupName,
String factoryName,
FactoryInner factory)
Creates or updates a factory.
|
com.azure.core.http.rest.Response<FactoryInner> |
createOrUpdateWithResponse(String resourceGroupName,
String factoryName,
FactoryInner factory,
String ifMatch,
com.azure.core.util.Context context)
Creates or updates a factory.
|
void |
delete(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.
|
FactoryInner |
getByResourceGroup(String resourceGroupName,
String factoryName)
Gets a factory.
|
com.azure.core.http.rest.Response<FactoryInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String factoryName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a factory.
|
AccessPolicyResponseInner |
getDataPlaneAccess(String resourceGroupName,
String factoryName,
UserAccessPolicy policy)
Get Data Plane access.
|
com.azure.core.http.rest.Response<AccessPolicyResponseInner> |
getDataPlaneAccessWithResponse(String resourceGroupName,
String factoryName,
UserAccessPolicy policy,
com.azure.core.util.Context context)
Get Data Plane access.
|
GitHubAccessTokenResponseInner |
getGitHubAccessToken(String resourceGroupName,
String factoryName,
GitHubAccessTokenRequest gitHubAccessTokenRequest)
Get GitHub Access Token.
|
com.azure.core.http.rest.Response<GitHubAccessTokenResponseInner> |
getGitHubAccessTokenWithResponse(String resourceGroupName,
String factoryName,
GitHubAccessTokenRequest gitHubAccessTokenRequest,
com.azure.core.util.Context context)
Get GitHub Access Token.
|
com.azure.core.http.rest.PagedIterable<FactoryInner> |
list()
Lists factories under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<FactoryInner> |
list(com.azure.core.util.Context context)
Lists factories under the specified subscription.
|
com.azure.core.http.rest.PagedIterable<FactoryInner> |
listByResourceGroup(String resourceGroupName)
Lists factories.
|
com.azure.core.http.rest.PagedIterable<FactoryInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists factories.
|
FactoryInner |
update(String resourceGroupName,
String factoryName,
FactoryUpdateParameters factoryUpdateParameters)
Updates a factory.
|
com.azure.core.http.rest.Response<FactoryInner> |
updateWithResponse(String resourceGroupName,
String factoryName,
FactoryUpdateParameters factoryUpdateParameters,
com.azure.core.util.Context context)
Updates a factory.
|
com.azure.core.http.rest.PagedIterable<FactoryInner> 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<FactoryInner> 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.FactoryInner 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<FactoryInner> 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<FactoryInner> 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<FactoryInner> 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.FactoryInner createOrUpdate(String resourceGroupName, String factoryName, FactoryInner factory)
resourceGroupName - The resource group name.factoryName - The factory name.factory - Factory resource 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<FactoryInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, FactoryInner factory, String ifMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.factory - Factory resource definition.ifMatch - ETag of the factory entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.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.FactoryInner update(String resourceGroupName, String factoryName, FactoryUpdateParameters factoryUpdateParameters)
resourceGroupName - The resource group name.factoryName - The factory name.factoryUpdateParameters - The parameters for updating a factory.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<FactoryInner> updateWithResponse(String resourceGroupName, String factoryName, FactoryUpdateParameters factoryUpdateParameters, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.factoryUpdateParameters - The parameters for updating a factory.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.FactoryInner 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<FactoryInner> 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 delete(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.GitHubAccessTokenResponseInner 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<GitHubAccessTokenResponseInner> 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.AccessPolicyResponseInner 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<AccessPolicyResponseInner> 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.Copyright © 2021 Microsoft Corporation. All rights reserved.