Interface AuthorizationPolicyResourceFormat


public interface AuthorizationPolicyResourceFormat
An immutable client-side representation of AuthorizationPolicyResourceFormat.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • policyName

      String policyName()
      Gets the policyName property: Name of the policy.
      Returns:
      the policyName value.
    • permissions

      List<PermissionTypes> permissions()
      Gets the permissions property: The permissions associated with the policy.
      Returns:
      the permissions value.
    • primaryKey

      String primaryKey()
      Gets the primaryKey property: Primary key associated with the policy.
      Returns:
      the primaryKey value.
    • secondaryKey

      String secondaryKey()
      Gets the secondaryKey property: Secondary key associated with the policy.
      Returns:
      the secondaryKey value.
    • resourceGroupName

      String 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

      AuthorizationPolicyResourceFormat refresh(com.azure.core.util.Context context)
      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

      AuthorizationPolicy 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

      AuthorizationPolicy 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.