public interface PolicyMetadatasClient
Modifier and Type | Method and Description |
---|---|
PolicyMetadataInner |
getResource(String resourceName)
Get policy metadata resource.
|
com.azure.core.http.rest.Response<PolicyMetadataInner> |
getResourceWithResponse(String resourceName,
com.azure.core.util.Context context)
Get policy metadata resource.
|
com.azure.core.http.rest.PagedIterable<SlimPolicyMetadataInner> |
list()
Get a list of the policy metadata resources.
|
com.azure.core.http.rest.PagedIterable<SlimPolicyMetadataInner> |
list(Integer top,
com.azure.core.util.Context context)
Get a list of the policy metadata resources.
|
PolicyMetadataInner getResource(String resourceName)
resourceName
- The name of the policy metadata resource.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<PolicyMetadataInner> getResourceWithResponse(String resourceName, com.azure.core.util.Context context)
resourceName
- The name of the policy metadata resource.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<SlimPolicyMetadataInner> 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<SlimPolicyMetadataInner> list(Integer top, com.azure.core.util.Context context)
top
- Maximum number of records to return.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.