GenericResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. resources. fluent. models. GenericResourceInner
- com.
- com.
- com.
public class GenericResourceInner
extends Resource
Resource information.
Constructor Summary
Constructor | Description |
---|---|
GenericResourceInner() |
Creates an instance of Generic |
Method Summary
Modifier and Type | Method and Description |
---|---|
Extended |
extendedLocation()
Get the extended |
Identity |
identity()
Get the identity property: The identity of the resource. |
String |
kind()
Get the kind property: The kind of the resource. |
String |
managedBy()
Get the managed |
Plan |
plan()
Get the plan property: The plan of the resource. |
Object |
properties()
Get the properties property: The resource properties. |
Sku |
sku()
Get the sku property: The SKU of the resource. |
void |
validate()
Validates the instance. |
Generic |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Generic |
withIdentity(Identity identity)
Set the identity property: The identity of the resource. |
Generic |
withKind(String kind)
Set the kind property: The kind of the resource. |
Generic |
withLocation(String location) |
Generic |
withManagedBy(String managedBy)
Set the managed |
Generic |
withPlan(Plan plan)
Set the plan property: The plan of the resource. |
Generic |
withProperties(Object properties)
Set the properties property: The resource properties. |
Generic |
withSku(Sku sku)
Set the sku property: The SKU of the resource. |
Generic |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GenericResourceInner
public GenericResourceInner()
Creates an instance of GenericResourceInner class.
Method Details
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Resource extended location.
Returns:
identity
public Identity identity()
Get the identity property: The identity of the resource.
Returns:
kind
public String kind()
Get the kind property: The kind of the resource.
Returns:
managedBy
public String managedBy()
Get the managedBy property: ID of the resource that manages this resource.
Returns:
plan
public Plan plan()
Get the plan property: The plan of the resource.
Returns:
properties
public Object properties()
Get the properties property: The resource properties.
Returns:
sku
public Sku sku()
Get the sku property: The SKU of the resource.
Returns:
validate
public void validate()
Validates the instance.
withExtendedLocation
public GenericResourceInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Resource extended location.
Parameters:
Returns:
withIdentity
public GenericResourceInner withIdentity(Identity identity)
Set the identity property: The identity of the resource.
Parameters:
Returns:
withKind
public GenericResourceInner withKind(String kind)
Set the kind property: The kind of the resource.
Parameters:
Returns:
withLocation
public GenericResourceInner withLocation(String location)
Overrides:
GenericResourceInner.withLocation(String location)Parameters:
withManagedBy
public GenericResourceInner withManagedBy(String managedBy)
Set the managedBy property: ID of the resource that manages this resource.
Parameters:
Returns:
withPlan
public GenericResourceInner withPlan(Plan plan)
Set the plan property: The plan of the resource.
Parameters:
Returns:
withProperties
public GenericResourceInner withProperties(Object properties)
Set the properties property: The resource properties.
Parameters:
Returns:
withSku
public GenericResourceInner withSku(Sku sku)
Set the sku property: The SKU of the resource.
Parameters:
Returns:
withTags
public GenericResourceInner withTags(Map
Overrides:
GenericResourceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示