Policy Interface
public interface Policy
An immutable client-side representation of Policy.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Offset |
createdDate()
Gets the created |
| abstract String |
description()
Gets the description property: The description of the policy. |
|
abstract
Policy |
evaluatorType()
Gets the evaluator |
| abstract String |
factData()
Gets the fact |
|
abstract
Policy |
factName()
Gets the fact |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Policy |
innerModel()
Gets the inner com. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
name()
Gets the name property: The name of the resource. |
| abstract String |
provisioningState()
Gets the provisioning |
| abstract Policy |
refresh()
Refreshes the resource to sync with Azure. |
| abstract Policy |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
Policy |
status()
Gets the status property: The status of the policy. |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
threshold()
Gets the threshold property: The threshold of the policy (i. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract String |
uniqueIdentifier()
Gets the unique |
| abstract Update |
update()
Begins update for the Policy resource. |
Method Details
createdDate
public abstract OffsetDateTime createdDate()
Gets the createdDate property: The creation date of the policy.
Returns:
description
public abstract String description()
Gets the description property: The description of the policy.
Returns:
evaluatorType
public abstract PolicyEvaluatorType evaluatorType()
Gets the evaluatorType property: The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).
Returns:
factData
public abstract String factData()
Gets the factData property: The fact data of the policy.
Returns:
factName
public abstract PolicyFactName factName()
Gets the factName property: The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract PolicyInner innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.PolicyInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: The provisioning status of the resource.
Returns:
refresh
public abstract Policy refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Policy refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
status
public abstract PolicyStatus status()
Gets the status property: The status of the policy.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
threshold
public abstract String threshold()
Gets the threshold property: The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy).
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
uniqueIdentifier
public abstract String uniqueIdentifier()
Gets the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
update
public abstract Policy.Update update()
Begins update for the Policy resource.
Returns: