Interface PlacementPolicy
-
public interface PlacementPolicy
An immutable client-side representation of PlacementPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PlacementPolicy.Definition
The entirety of the PlacementPolicy definition.static interface
PlacementPolicy.DefinitionStages
The PlacementPolicy definition stages.static interface
PlacementPolicy.Update
The template for PlacementPolicy update.static interface
PlacementPolicy.UpdateStages
The PlacementPolicy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
id()
Gets the id property: Fully qualified resource Id for the resource.PlacementPolicyInner
innerModel()
Gets the inner com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner object.String
name()
Gets the name property: The name of the resource.PlacementPolicyProperties
properties()
Gets the properties property: placement policy properties.PlacementPolicy
refresh()
Refreshes the resource to sync with Azure.PlacementPolicy
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
type()
Gets the type property: The type of the resource.PlacementPolicy.Update
update()
Begins update for the PlacementPolicy resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
properties
PlacementPolicyProperties properties()
Gets the properties property: placement policy properties.- Returns:
- the properties value.
-
innerModel
PlacementPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner object.- Returns:
- the inner object.
-
update
PlacementPolicy.Update update()
Begins update for the PlacementPolicy resource.- Returns:
- the stage of resource update.
-
refresh
PlacementPolicy refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
PlacementPolicy refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-