PoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devopsinfrastructure. fluent. models. PoolInner
- com.
- com.
- com.
public final class PoolInner
extends Resource
Concrete tracked resource types can be created by aliasing this type using a specific property type.
Constructor Summary
| Constructor | Description |
|---|---|
| PoolInner() |
Creates an instance of Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Pool |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Pool |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Pool |
withLocation(String location) |
|
Pool |
withProperties(PoolProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Pool |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PoolInner
public PoolInner()
Creates an instance of PoolInner class.
Method Details
fromJson
public static PoolInner fromJson(JsonReader jsonReader)
Reads an instance of PoolInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PoolInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PoolInner.name()Returns:
properties
public PoolProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PoolInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public PoolInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withLocation
public PoolInner withLocation(String location)
Overrides:
PoolInner.withLocation(String location)Parameters:
withProperties
public PoolInner withProperties(PoolProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public PoolInner withTags(Map<String,String> tags)
Overrides:
PoolInner.withTags(Map<String,String> tags)Parameters: