Interface CustomerSubscription
public interface CustomerSubscription
An immutable client-side representation of CustomerSubscription.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the CustomerSubscription definition.static interfaceThe CustomerSubscription definition stages. -
Method Summary
Modifier and TypeMethodDescriptionetag()Gets the etag property: The entity tag used for optimistic concurrency when modifying the resource.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.azurestack.fluent.models.CustomerSubscriptionInner object.name()Gets the name property: The name of the resource.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.tenantId()Gets the tenantId property: Tenant Id.type()Gets the type property: The type of the resource.
-
Method Details
-
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.
-
etag
String etag()Gets the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Returns:
- the etag value.
-
tenantId
String tenantId()Gets the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
innerModel
CustomerSubscriptionInner innerModel()Gets the inner com.azure.resourcemanager.azurestack.fluent.models.CustomerSubscriptionInner object.- Returns:
- the inner object.
-
refresh
CustomerSubscription refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-