AccountInner Class

public final class AccountInner
extends Resource

Device Update account details.

Constructor Summary

Constructor Description
AccountInner()

Creates an instance of AccountInner class.

Method Summary

Modifier and Type Method and Description
Encryption encryption()

Get the encryption property: CMK encryption at rest properties.

static AccountInner fromJson(JsonReader jsonReader)

Reads an instance of AccountInner from the JsonReader.

String hostname()

Get the hostname property: API host name.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: The type of identity used for the resource.

List<Location> locations()

Get the locations property: Device Update account primary and failover location details.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections associated with the account.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for the account.

Sku sku()

Get the sku property: Device Update Sku.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AccountInner withEncryption(Encryption encryption)

Set the encryption property: CMK encryption at rest properties.

AccountInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The type of identity used for the resource.

AccountInner withLocation(String location)
AccountInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections associated with the account.

AccountInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for the account.

AccountInner withSku(Sku sku)

Set the sku property: Device Update Sku.

AccountInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

AccountInner

public AccountInner()

Creates an instance of AccountInner class.

Method Details

encryption

public Encryption encryption()

Get the encryption property: CMK encryption at rest properties.

Returns:

the encryption value.

fromJson

public static AccountInner fromJson(JsonReader jsonReader)

Reads an instance of AccountInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccountInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

Get the hostname property: API host name.

Returns:

the hostname value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AccountInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The type of identity used for the resource.

Returns:

the identity value.

locations

public List<Location> locations()

Get the locations property: Device Update account primary and failover location details.

Returns:

the locations value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AccountInner.name()

Returns:

the name value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections associated with the account.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for the account.

Returns:

the publicNetworkAccess value.

sku

public Sku sku()

Get the sku property: Device Update Sku.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AccountInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AccountInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEncryption

public AccountInner withEncryption(Encryption encryption)

Set the encryption property: CMK encryption at rest properties.

Parameters:

encryption - the encryption value to set.

Returns:

the AccountInner object itself.

withIdentity

public AccountInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The type of identity used for the resource.

Parameters:

identity - the identity value to set.

Returns:

the AccountInner object itself.

withLocation

public AccountInner withLocation(String location)

Overrides:

AccountInner.withLocation(String location)

Parameters:

location

withPrivateEndpointConnections

public AccountInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections associated with the account.

Parameters:

privateEndpointConnections - the privateEndpointConnections value to set.

Returns:

the AccountInner object itself.

withPublicNetworkAccess

public AccountInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for the account.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the AccountInner object itself.

withSku

public AccountInner withSku(Sku sku)

Set the sku property: Device Update Sku.

Parameters:

sku - the sku value to set.

Returns:

the AccountInner object itself.

withTags

public AccountInner withTags(Map<String,String> tags)

Overrides:

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

Parameters:

tags

Applies to