Package | Description |
---|---|
com.azure.resourcemanager.devtestlabs.fluent |
Package containing the service clients for DevTestLabsClient.
|
com.azure.resourcemanager.devtestlabs.fluent.models |
Package containing the inner data models for DevTestLabsClient.
|
com.azure.resourcemanager.devtestlabs.models |
Package containing the data models for DevTestLabsClient.
|
Modifier and Type | Method and Description |
---|---|
PolicyInner |
PoliciesClient.createOrUpdate(String resourceGroupName,
String labName,
String policySetName,
String name,
PolicyInner policy)
Create or replace an existing policy.
|
PolicyInner |
PoliciesClient.get(String resourceGroupName,
String labName,
String policySetName,
String name)
Get policy.
|
PolicyInner |
PoliciesClient.update(String resourceGroupName,
String labName,
String policySetName,
String name,
PolicyFragment policy)
Allows modifying tags of policies.
|
Modifier and Type | Method and Description |
---|---|
PolicyInner |
PoliciesClient.createOrUpdate(String resourceGroupName,
String labName,
String policySetName,
String name,
PolicyInner policy)
Create or replace an existing policy.
|
com.azure.core.http.rest.Response<PolicyInner> |
PoliciesClient.createOrUpdateWithResponse(String resourceGroupName,
String labName,
String policySetName,
String name,
PolicyInner policy,
com.azure.core.util.Context context)
Create or replace an existing policy.
|
Modifier and Type | Method and Description |
---|---|
PolicyInner |
PolicyInner.withDescription(String description)
Set the description property: The description of the policy.
|
PolicyInner |
PolicyInner.withEvaluatorType(PolicyEvaluatorType evaluatorType)
Set the evaluatorType property: The evaluator type of the policy (i.e.
|
PolicyInner |
PolicyInner.withFactData(String factData)
Set the factData property: The fact data of the policy.
|
PolicyInner |
PolicyInner.withFactName(PolicyFactName factName)
Set the factName property: The fact name of the policy (e.g.
|
PolicyInner |
PolicyInner.withLocation(String location) |
PolicyInner |
PolicyInner.withStatus(PolicyStatus status)
Set the status property: The status of the policy.
|
PolicyInner |
PolicyInner.withTags(Map<String,String> tags) |
PolicyInner |
PolicyInner.withThreshold(String threshold)
Set the threshold property: The threshold of the policy (i.e.
|
Modifier and Type | Method and Description |
---|---|
PolicyInner |
Policy.innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner object.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.