public interface AuthorizationPolicyResourceFormat
An immutable client-side representation of AuthorizationPolicyResourceFormat.
-
Nested Class Summary
Nested Classes
static interface
The entirety of the AuthorizationPolicyResourceFormat definition.
static interface
The AuthorizationPolicyResourceFormat definition stages.
static interface
The template for AuthorizationPolicyResourceFormat update.
static interface
The AuthorizationPolicyResourceFormat update stages.
-
Method Summary
Gets the id property: Fully qualified resource Id for the resource.
Gets the inner com.azure.resourcemanager.customerinsights.fluent.models.AuthorizationPolicyResourceFormatInner
object.
Gets the name property: The name of the resource.
Gets the permissions property: The permissions associated with the policy.
Gets the policyName property: Name of the policy.
Gets the primaryKey property: Primary key associated with the policy.
Refreshes the resource to sync with Azure.
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
Regenerates the primary policy key of the specified authorization policy.
Regenerates the primary policy key of the specified authorization policy.
Regenerates the secondary policy key of the specified authorization policy.
Regenerates the secondary policy key of the specified authorization policy.
Gets the name of the resource group.
Gets the secondaryKey property: Secondary key associated with the policy.
Gets the type property: The type of the resource.
Begins update for the AuthorizationPolicyResourceFormat resource.
-
Method Details
-
id
Gets the id property: Fully qualified resource Id for the resource.
- Returns:
- the id value.
-
name
Gets the name property: The name of the resource.
- Returns:
- the name value.
-
type
Gets the type property: The type of the resource.
- Returns:
- the type value.
-
policyName
Gets the policyName property: Name of the policy.
- Returns:
- the policyName value.
-
permissions
Gets the permissions property: The permissions associated with the policy.
- Returns:
- the permissions value.
-
primaryKey
Gets the primaryKey property: Primary key associated with the policy.
- Returns:
- the primaryKey value.
-
secondaryKey
Gets the secondaryKey property: Secondary key associated with the policy.
- Returns:
- the secondaryKey value.
-
resourceGroupName
Gets the name of the resource group.
- Returns:
- the name of the resource group.
-
innerModel
Gets the inner com.azure.resourcemanager.customerinsights.fluent.models.AuthorizationPolicyResourceFormatInner
object.
- Returns:
- the inner object.
-
update
Begins update for the AuthorizationPolicyResourceFormat resource.
- Returns:
- the stage of resource update.
-
refresh
Refreshes the resource to sync with Azure.
- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.
- Parameters:
context
- The context to associate with this operation.
- Returns:
- the refreshed resource.
-
regeneratePrimaryKeyWithResponse
com.azure.core.http.rest.Response<AuthorizationPolicy> regeneratePrimaryKeyWithResponse(com.azure.core.util.Context context)
Regenerates the primary policy key of the specified authorization policy.
- Parameters:
context
- The context to associate with this operation.
- Returns:
- the authorization policy 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.
-
regeneratePrimaryKey
Regenerates the primary policy key of the specified authorization policy.
- Returns:
- the authorization policy.
- Throws:
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.
-
regenerateSecondaryKeyWithResponse
com.azure.core.http.rest.Response<AuthorizationPolicy> regenerateSecondaryKeyWithResponse(com.azure.core.util.Context context)
Regenerates the secondary policy key of the specified authorization policy.
- Parameters:
context
- The context to associate with this operation.
- Returns:
- the authorization policy 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.
-
regenerateSecondaryKey
Regenerates the secondary policy key of the specified authorization policy.
- Returns:
- the authorization policy.
- Throws:
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.