AccountInner Class

public final class AccountInner
extends Resource

Account resource.

Constructor Summary

Constructor Description
AccountInner()

Creates an instance of AccountInner class.

Method Summary

Modifier and Type Method and Description
CloudConnectors cloudConnectors()

Get the cloudConnectors property: Cloud connectors.

OffsetDateTime createdAt()

Get the createdAt property: Gets the time at which the entity was created.

String createdBy()

Get the createdBy property: Gets the creator of the entity.

String createdByObjectId()

Get the createdByObjectId property: Gets the creators of the entity's object id.

AccountPropertiesEndpoints endpoints()

Get the endpoints property: The URIs that are the public endpoints of the account.

String friendlyName()

Get the friendlyName property: Gets or sets the friendly name.

static AccountInner fromJson(JsonReader jsonReader)

Reads an instance of AccountInner from the JsonReader.

String id()

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

Identity identity()

Get the identity property: Identity Info on the tracked resource.

String managedResourceGroupName()

Get the managedResourceGroupName property: Gets or sets the managed resource group name.

AccountPropertiesManagedResources managedResources()

Get the managedResources property: Gets the resource identifiers of the managed resources.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Gets the private endpoint connections information.

ProvisioningState provisioningState()

Get the provisioningState property: Gets or sets the state of the provisioning.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Gets or sets the public network access.

AccountSku sku()

Get the sku property: Gets or sets the Sku.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AccountInner withCloudConnectors(CloudConnectors cloudConnectors)

Set the cloudConnectors property: Cloud connectors.

AccountInner withIdentity(Identity identity)

Set the identity property: Identity Info on the tracked resource.

AccountInner withLocation(String location)
AccountInner withManagedResourceGroupName(String managedResourceGroupName)

Set the managedResourceGroupName property: Gets or sets the managed resource group name.

AccountInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Gets or sets the public network access.

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

cloudConnectors

public CloudConnectors cloudConnectors()

Get the cloudConnectors property: Cloud connectors. External cloud identifier used as part of scanning configuration.

Returns:

the cloudConnectors value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: Gets the time at which the entity was created.

Returns:

the createdAt value.

createdBy

public String createdBy()

Get the createdBy property: Gets the creator of the entity.

Returns:

the createdBy value.

createdByObjectId

public String createdByObjectId()

Get the createdByObjectId property: Gets the creators of the entity's object id.

Returns:

the createdByObjectId value.

endpoints

public AccountPropertiesEndpoints endpoints()

Get the endpoints property: The URIs that are the public endpoints of the account.

Returns:

the endpoints value.

friendlyName

public String friendlyName()

Get the friendlyName property: Gets or sets the friendly name.

Returns:

the friendlyName 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.

id

public String id()

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

Overrides:

AccountInner.id()

Returns:

the id value.

identity

public Identity identity()

Get the identity property: Identity Info on the tracked resource.

Returns:

the identity value.

managedResourceGroupName

public String managedResourceGroupName()

Get the managedResourceGroupName property: Gets or sets the managed resource group name.

Returns:

the managedResourceGroupName value.

managedResources

public AccountPropertiesManagedResources managedResources()

Get the managedResources property: Gets the resource identifiers of the managed resources.

Returns:

the managedResources 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: Gets the private endpoint connections information.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Gets or sets the state of the provisioning.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Gets or sets the public network access.

Returns:

the publicNetworkAccess value.

sku

public AccountSku sku()

Get the sku property: Gets or sets the Sku.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

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.

withCloudConnectors

public AccountInner withCloudConnectors(CloudConnectors cloudConnectors)

Set the cloudConnectors property: Cloud connectors. External cloud identifier used as part of scanning configuration.

Parameters:

cloudConnectors - the cloudConnectors value to set.

Returns:

the AccountInner object itself.

withIdentity

public AccountInner withIdentity(Identity identity)

Set the identity property: Identity Info on the tracked 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

withManagedResourceGroupName

public AccountInner withManagedResourceGroupName(String managedResourceGroupName)

Set the managedResourceGroupName property: Gets or sets the managed resource group name.

Parameters:

managedResourceGroupName - the managedResourceGroupName value to set.

Returns:

the AccountInner object itself.

withPublicNetworkAccess

public AccountInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Gets or sets the public network access.

Parameters:

publicNetworkAccess - the publicNetworkAccess 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