次の方法で共有


GenericResourceExpandedInner Class

public final class GenericResourceExpandedInner
extends GenericResourceInner

Resource information.

Constructor Summary

Constructor Description
GenericResourceExpandedInner()

Creates an instance of GenericResourceExpandedInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime changedTime()

Get the changedTime property: The changed time of the resource.

OffsetDateTime createdTime()

Get the createdTime property: The created time of the resource.

String provisioningState()

Get the provisioningState property: The provisioning state of the resource.

void validate()

Validates the instance.

GenericResourceExpandedInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Resource extended location.

GenericResourceExpandedInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

GenericResourceExpandedInner withKind(String kind)

Set the kind property: The kind of the resource.

GenericResourceExpandedInner withLocation(String location)
GenericResourceExpandedInner withManagedBy(String managedBy)

Set the managedBy property: ID of the resource that manages this resource.

GenericResourceExpandedInner withPlan(Plan plan)

Set the plan property: The plan of the resource.

GenericResourceExpandedInner withProperties(Object properties)

Set the properties property: The resource properties.

GenericResourceExpandedInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

GenericResourceExpandedInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from GenericResourceInner

Methods inherited from java.lang.Object

Constructor Details

GenericResourceExpandedInner

public GenericResourceExpandedInner()

Creates an instance of GenericResourceExpandedInner class.

Method Details

changedTime

public OffsetDateTime changedTime()

Get the changedTime property: The changed time of the resource. This is only present if requested via the $expand query parameter.

Returns:

the changedTime value.

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: The created time of the resource. This is only present if requested via the $expand query parameter.

Returns:

the createdTime value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state of the resource. This is only present if requested via the $expand query parameter.

Returns:

the provisioningState value.

validate

public void validate()

Validates the instance.

Overrides:

GenericResourceExpandedInner.validate()

withExtendedLocation

public GenericResourceExpandedInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Resource extended location.

Overrides:

GenericResourceExpandedInner.withExtendedLocation(ExtendedLocation extendedLocation)

Parameters:

extendedLocation

withIdentity

public GenericResourceExpandedInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

Overrides:

GenericResourceExpandedInner.withIdentity(Identity identity)

Parameters:

identity

withKind

public GenericResourceExpandedInner withKind(String kind)

Set the kind property: The kind of the resource.

Overrides:

GenericResourceExpandedInner.withKind(String kind)

Parameters:

kind

withLocation

public GenericResourceExpandedInner withLocation(String location)

Overrides:

GenericResourceExpandedInner.withLocation(String location)

Parameters:

location

withManagedBy

public GenericResourceExpandedInner withManagedBy(String managedBy)

Set the managedBy property: ID of the resource that manages this resource.

Overrides:

GenericResourceExpandedInner.withManagedBy(String managedBy)

Parameters:

managedBy

withPlan

public GenericResourceExpandedInner withPlan(Plan plan)

Set the plan property: The plan of the resource.

Overrides:

GenericResourceExpandedInner.withPlan(Plan plan)

Parameters:

plan

withProperties

public GenericResourceExpandedInner withProperties(Object properties)

Set the properties property: The resource properties.

Overrides:

GenericResourceExpandedInner.withProperties(Object properties)

Parameters:

properties

withSku

public GenericResourceExpandedInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

Overrides:

GenericResourceExpandedInner.withSku(Sku sku)

Parameters:

sku

withTags

public GenericResourceExpandedInner withTags(Map tags)

Overrides:

GenericResourceExpandedInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to