Share via


ProjectInner Class

public final class ProjectInner
extends Resource

Represents a project resource.

Constructor Summary

Constructor Description
ProjectInner()

Creates an instance of ProjectInner class.

Method Summary

Modifier and Type Method and Description
ProjectCatalogSettings catalogSettings()

Get the catalogSettings property: Settings to be used when associating a project with a catalog.

String description()

Get the description property: Description of the project.

String devCenterId()

Get the devCenterId property: Resource Id of an associated DevCenter.

String devCenterUri()

Get the devCenterUri property: The URI of the Dev Center resource this project is associated with.

String displayName()

Get the displayName property: The display name of the project.

static ProjectInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: Managed identity properties.

Integer maxDevBoxesPerUser()

Get the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

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.

ProjectInner withCatalogSettings(ProjectCatalogSettings catalogSettings)

Set the catalogSettings property: Settings to be used when associating a project with a catalog.

ProjectInner withDescription(String description)

Set the description property: Description of the project.

ProjectInner withDevCenterId(String devCenterId)

Set the devCenterId property: Resource Id of an associated DevCenter.

ProjectInner withDisplayName(String displayName)

Set the displayName property: The display name of the project.

ProjectInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed identity properties.

ProjectInner withLocation(String location)
ProjectInner withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)

Set the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.

ProjectInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ProjectInner

public ProjectInner()

Creates an instance of ProjectInner class.

Method Details

catalogSettings

public ProjectCatalogSettings catalogSettings()

Get the catalogSettings property: Settings to be used when associating a project with a catalog.

Returns:

the catalogSettings value.

description

public String description()

Get the description property: Description of the project.

Returns:

the description value.

devCenterId

public String devCenterId()

Get the devCenterId property: Resource Id of an associated DevCenter.

Returns:

the devCenterId value.

devCenterUri

public String devCenterUri()

Get the devCenterUri property: The URI of the Dev Center resource this project is associated with.

Returns:

the devCenterUri value.

displayName

public String displayName()

Get the displayName property: The display name of the project.

Returns:

the displayName value.

fromJson

public static ProjectInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProjectInner 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:

ProjectInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed identity properties.

Returns:

the identity value.

maxDevBoxesPerUser

public Integer maxDevBoxesPerUser()

Get the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.

Returns:

the maxDevBoxesPerUser value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProjectInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState 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:

ProjectInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProjectInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCatalogSettings

public ProjectInner withCatalogSettings(ProjectCatalogSettings catalogSettings)

Set the catalogSettings property: Settings to be used when associating a project with a catalog.

Parameters:

catalogSettings - the catalogSettings value to set.

Returns:

the ProjectInner object itself.

withDescription

public ProjectInner withDescription(String description)

Set the description property: Description of the project.

Parameters:

description - the description value to set.

Returns:

the ProjectInner object itself.

withDevCenterId

public ProjectInner withDevCenterId(String devCenterId)

Set the devCenterId property: Resource Id of an associated DevCenter.

Parameters:

devCenterId - the devCenterId value to set.

Returns:

the ProjectInner object itself.

withDisplayName

public ProjectInner withDisplayName(String displayName)

Set the displayName property: The display name of the project.

Parameters:

displayName - the displayName value to set.

Returns:

the ProjectInner object itself.

withIdentity

public ProjectInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed identity properties.

Parameters:

identity - the identity value to set.

Returns:

the ProjectInner object itself.

withLocation

public ProjectInner withLocation(String location)

Overrides:

ProjectInner.withLocation(String location)

Parameters:

location

withMaxDevBoxesPerUser

public ProjectInner withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)

Set the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.

Parameters:

maxDevBoxesPerUser - the maxDevBoxesPerUser value to set.

Returns:

the ProjectInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to