Interface GlobalParametersClient
public interface GlobalParametersClient
An instance of this class provides access to all the operations defined in GlobalParametersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String factoryName, String globalParameterName, GlobalParameterResourceInner defaultParameter) Creates or updates a Global parameter.com.azure.core.http.rest.Response<GlobalParameterResourceInner>
createOrUpdateWithResponse
(String resourceGroupName, String factoryName, String globalParameterName, GlobalParameterResourceInner defaultParameter, com.azure.core.util.Context context) Creates or updates a Global parameter.void
Deletes a Global parameter.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String factoryName, String globalParameterName, com.azure.core.util.Context context) Deletes a Global parameter.Gets a Global parameter.com.azure.core.http.rest.Response<GlobalParameterResourceInner>
getWithResponse
(String resourceGroupName, String factoryName, String globalParameterName, com.azure.core.util.Context context) Gets a Global parameter.com.azure.core.http.rest.PagedIterable<GlobalParameterResourceInner>
listByFactory
(String resourceGroupName, String factoryName) Lists Global parameters.com.azure.core.http.rest.PagedIterable<GlobalParameterResourceInner>
listByFactory
(String resourceGroupName, String factoryName, com.azure.core.util.Context context) Lists Global parameters.
-
Method Details
-
listByFactory
com.azure.core.http.rest.PagedIterable<GlobalParameterResourceInner> listByFactory(String resourceGroupName, String factoryName) Lists Global parameters.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.- Returns:
- a list of Global parameters as paginated response with
PagedIterable
. - Throws:
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.
-
listByFactory
com.azure.core.http.rest.PagedIterable<GlobalParameterResourceInner> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context) Lists Global parameters.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.context
- The context to associate with this operation.- Returns:
- a list of Global parameters as paginated response with
PagedIterable
. - Throws:
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.
-
getWithResponse
com.azure.core.http.rest.Response<GlobalParameterResourceInner> getWithResponse(String resourceGroupName, String factoryName, String globalParameterName, com.azure.core.util.Context context) Gets a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.context
- The context to associate with this operation.- Returns:
- a Global parameter along with
Response
. - Throws:
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.
-
get
GlobalParameterResourceInner get(String resourceGroupName, String factoryName, String globalParameterName) Gets a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.- Returns:
- a Global parameter.
- Throws:
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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<GlobalParameterResourceInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, String globalParameterName, GlobalParameterResourceInner defaultParameter, com.azure.core.util.Context context) Creates or updates a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.defaultParameter
- Global parameter resource definition.context
- The context to associate with this operation.- Returns:
- global parameters resource type along with
Response
. - Throws:
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.
-
createOrUpdate
GlobalParameterResourceInner createOrUpdate(String resourceGroupName, String factoryName, String globalParameterName, GlobalParameterResourceInner defaultParameter) Creates or updates a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.defaultParameter
- Global parameter resource definition.- Returns:
- global parameters resource type.
- Throws:
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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String globalParameterName, com.azure.core.util.Context context) Deletes a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
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.
-
delete
Deletes a Global parameter.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.globalParameterName
- The global parameter name.- Throws:
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.
-