| Package | Description |
|---|---|
| com.azure.resourcemanager.resources.fluent |
Package containing the service clients for ResourceManagementClient.
|
| com.azure.resourcemanager.resources.fluent.models |
Package containing the inner data models for ResourceManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyAssignmentInner |
PolicyAssignmentsClient.create(String scope,
String policyAssignmentName,
PolicyAssignmentInner parameters)
This operation creates or updates a policy assignment with the given scope and name.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.createById(String policyAssignmentId,
PolicyAssignmentInner parameters)
This operation creates or updates the policy assignment with the given ID.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.delete(String scope,
String policyAssignmentName)
This operation deletes a policy assignment, given its name and the scope it was created in.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.deleteById(String policyAssignmentId)
This operation deletes the policy with the given ID.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.get(String scope,
String policyAssignmentName)
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.getById(String policyAssignmentId)
The operation retrieves the policy assignment with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyAssignmentInner |
PolicyAssignmentsClient.create(String scope,
String policyAssignmentName,
PolicyAssignmentInner parameters)
This operation creates or updates a policy assignment with the given scope and name.
|
Mono<PolicyAssignmentInner> |
PolicyAssignmentsClient.createAsync(String scope,
String policyAssignmentName,
PolicyAssignmentInner parameters)
This operation creates or updates a policy assignment with the given scope and name.
|
PolicyAssignmentInner |
PolicyAssignmentsClient.createById(String policyAssignmentId,
PolicyAssignmentInner parameters)
This operation creates or updates the policy assignment with the given ID.
|
Mono<PolicyAssignmentInner> |
PolicyAssignmentsClient.createByIdAsync(String policyAssignmentId,
PolicyAssignmentInner parameters)
This operation creates or updates the policy assignment with the given ID.
|
com.azure.core.http.rest.Response<PolicyAssignmentInner> |
PolicyAssignmentsClient.createByIdWithResponse(String policyAssignmentId,
PolicyAssignmentInner parameters,
com.azure.core.util.Context context)
This operation creates or updates the policy assignment with the given ID.
|
Mono<com.azure.core.http.rest.Response<PolicyAssignmentInner>> |
PolicyAssignmentsClient.createByIdWithResponseAsync(String policyAssignmentId,
PolicyAssignmentInner parameters)
This operation creates or updates the policy assignment with the given ID.
|
com.azure.core.http.rest.Response<PolicyAssignmentInner> |
PolicyAssignmentsClient.createWithResponse(String scope,
String policyAssignmentName,
PolicyAssignmentInner parameters,
com.azure.core.util.Context context)
This operation creates or updates a policy assignment with the given scope and name.
|
Mono<com.azure.core.http.rest.Response<PolicyAssignmentInner>> |
PolicyAssignmentsClient.createWithResponseAsync(String scope,
String policyAssignmentName,
PolicyAssignmentInner parameters)
This operation creates or updates a policy assignment with the given scope and name.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyAssignmentInner |
PolicyAssignmentInner.withDescription(String description)
Set the description property: This message will be part of response in case of policy violation.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withDisplayName(String displayName)
Set the displayName property: The display name of the policy assignment.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withEnforcementMode(EnforcementMode enforcementMode)
Set the enforcementMode property: The policy assignment enforcement mode.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withIdentity(Identity identity)
Set the identity property: The managed identity associated with the policy assignment.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withLocation(String location)
Set the location property: The location of the policy assignment.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withMetadata(Object metadata)
Set the metadata property: The policy assignment metadata.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withNotScopes(List<String> notScopes)
Set the notScopes property: The policy's excluded scopes.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withParameters(Map<String,ParameterValuesValue> parameters)
Set the parameters property: The parameter values for the assigned policy rule.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withPolicyDefinitionId(String policyDefinitionId)
Set the policyDefinitionId property: The ID of the policy definition or policy set definition being assigned.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withScope(String scope)
Set the scope property: The scope for the policy assignment.
|
PolicyAssignmentInner |
PolicyAssignmentInner.withSku(PolicySku sku)
Set the sku property: The policy sku.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.