public interface Policy
Modifier and Type | Interface and Description |
---|---|
static interface |
Policy.Definition
The entirety of the Policy definition.
|
static interface |
Policy.DefinitionStages
The Policy definition stages.
|
static interface |
Policy.Update
The template for Policy update.
|
static interface |
Policy.UpdateStages
The Policy update stages.
|
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Gets the createdDate property: The creation date of the policy.
|
String |
description()
Gets the description property: The description of the policy.
|
PolicyEvaluatorType |
evaluatorType()
Gets the evaluatorType property: The evaluator type of the policy (i.e.
|
String |
factData()
Gets the factData property: The fact data of the policy.
|
PolicyFactName |
factName()
Gets the factName property: The fact name of the policy (e.g.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
PolicyInner |
innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner object.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
name()
Gets the name property: The name of the resource.
|
String |
provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
|
Policy |
refresh()
Refreshes the resource to sync with Azure.
|
Policy |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
PolicyStatus |
status()
Gets the status property: The status of the policy.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
threshold()
Gets the threshold property: The threshold of the policy (i.e.
|
String |
type()
Gets the type property: The type of the resource.
|
String |
uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
Policy.Update |
update()
Begins update for the Policy resource.
|
String id()
String name()
String type()
String location()
String description()
PolicyStatus status()
PolicyFactName factName()
String factData()
String threshold()
PolicyEvaluatorType evaluatorType()
OffsetDateTime createdDate()
String provisioningState()
String uniqueIdentifier()
com.azure.core.management.Region region()
String regionName()
PolicyInner innerModel()
Policy.Update update()
Policy refresh()
Policy refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.Copyright © 2021 Microsoft Corporation. All rights reserved.