Interface CommitmentPlan
-
public interface CommitmentPlan
An immutable client-side representation of CommitmentPlan.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CommitmentPlan.Definition
The entirety of the CommitmentPlan definition.static interface
CommitmentPlan.DefinitionStages
The CommitmentPlan definition stages.static interface
CommitmentPlan.Update
The template for CommitmentPlan update.static interface
CommitmentPlan.UpdateStages
The CommitmentPlan update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
etag()
Gets the etag property: Resource Etag.String
id()
Gets the id property: Fully qualified resource Id for the resource.CommitmentPlanInner
innerModel()
Gets the inner com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentPlanInner object.String
name()
Gets the name property: The name of the resource.CommitmentPlanProperties
properties()
Gets the properties property: Properties of Cognitive Services account commitment plan.CommitmentPlan
refresh()
Refreshes the resource to sync with Azure.CommitmentPlan
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.String
type()
Gets the type property: The type of the resource.CommitmentPlan.Update
update()
Begins update for the CommitmentPlan 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.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
etag
String etag()
Gets the etag property: Resource Etag.- Returns:
- the etag value.
-
properties
CommitmentPlanProperties properties()
Gets the properties property: Properties of Cognitive Services account commitment plan.- Returns:
- the properties value.
-
innerModel
CommitmentPlanInner innerModel()
Gets the inner com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentPlanInner object.- Returns:
- the inner object.
-
update
CommitmentPlan.Update update()
Begins update for the CommitmentPlan resource.- Returns:
- the stage of resource update.
-
refresh
CommitmentPlan refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
CommitmentPlan 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.
-
-