| 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 |
|---|---|
PolicyDefinitionInner |
PolicyDefinitionsClient.createOrUpdate(String policyDefinitionName,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given subscription with the given name.
|
PolicyDefinitionInner |
PolicyDefinitionsClient.createOrUpdateAtManagementGroup(String policyDefinitionName,
String managementGroupId,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given management group with the given name.
|
PolicyDefinitionInner |
PolicyDefinitionsClient.get(String policyDefinitionName)
This operation retrieves the policy definition in the given subscription with the given name.
|
PolicyDefinitionInner |
PolicyDefinitionsClient.getAtManagementGroup(String policyDefinitionName,
String managementGroupId)
This operation retrieves the policy definition in the given management group with the given name.
|
PolicyDefinitionInner |
PolicyDefinitionsClient.getBuiltIn(String policyDefinitionName)
This operation retrieves the built-in policy definition with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyDefinitionInner |
PolicyDefinitionsClient.createOrUpdate(String policyDefinitionName,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given subscription with the given name.
|
Mono<PolicyDefinitionInner> |
PolicyDefinitionsClient.createOrUpdateAsync(String policyDefinitionName,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given subscription with the given name.
|
PolicyDefinitionInner |
PolicyDefinitionsClient.createOrUpdateAtManagementGroup(String policyDefinitionName,
String managementGroupId,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given management group with the given name.
|
Mono<PolicyDefinitionInner> |
PolicyDefinitionsClient.createOrUpdateAtManagementGroupAsync(String policyDefinitionName,
String managementGroupId,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<PolicyDefinitionInner> |
PolicyDefinitionsClient.createOrUpdateAtManagementGroupWithResponse(String policyDefinitionName,
String managementGroupId,
PolicyDefinitionInner parameters,
com.azure.core.util.Context context)
This operation creates or updates a policy definition in the given management group with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicyDefinitionInner>> |
PolicyDefinitionsClient.createOrUpdateAtManagementGroupWithResponseAsync(String policyDefinitionName,
String managementGroupId,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<PolicyDefinitionInner> |
PolicyDefinitionsClient.createOrUpdateWithResponse(String policyDefinitionName,
PolicyDefinitionInner parameters,
com.azure.core.util.Context context)
This operation creates or updates a policy definition in the given subscription with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicyDefinitionInner>> |
PolicyDefinitionsClient.createOrUpdateWithResponseAsync(String policyDefinitionName,
PolicyDefinitionInner parameters)
This operation creates or updates a policy definition in the given subscription with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
PolicyDefinitionInner |
PolicyDefinitionInner.withDescription(String description)
Set the description property: The policy definition description.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withDisplayName(String displayName)
Set the displayName property: The display name of the policy definition.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withMetadata(Object metadata)
Set the metadata property: The policy definition metadata.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withMode(String mode)
Set the mode property: The policy definition mode.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withParameters(Map<String,ParameterDefinitionsValue> parameters)
Set the parameters property: The parameter definitions for parameters used in the policy rule.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withPolicyRule(Object policyRule)
Set the policyRule property: The policy rule.
|
PolicyDefinitionInner |
PolicyDefinitionInner.withPolicyType(PolicyType policyType)
Set the policyType property: The type of policy definition.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.