WorkspaceResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. WorkspaceResourceProperties
- com.
Implements
public final class WorkspaceResourceProperties
implements JsonSerializable<WorkspaceResourceProperties>
Properties of a Workspace.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkspaceResourceProperties() |
Creates an instance of Workspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
apiKeyEnabled()
Get the api |
| String |
endpointUri()
Get the endpoint |
|
static
Workspace |
fromJson(JsonReader jsonReader)
Reads an instance of Workspace |
| List<Provider> |
providers()
Get the providers property: List of Providers selected for this Workspace. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
storageAccount()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Usable |
usable()
Get the usable property: Whether the current workspace is ready to accept Jobs. |
| void |
validate()
Validates the instance. |
|
Workspace |
withApiKeyEnabled(Boolean apiKeyEnabled)
Set the api |
|
Workspace |
withProviders(List<Provider> providers)
Set the providers property: List of Providers selected for this Workspace. |
|
Workspace |
withStorageAccount(String storageAccount)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
WorkspaceResourceProperties
public WorkspaceResourceProperties()
Creates an instance of WorkspaceResourceProperties class.
Method Details
apiKeyEnabled
public Boolean apiKeyEnabled()
Get the apiKeyEnabled property: Indicator of enablement of the Quantum workspace Api keys.
Returns:
endpointUri
public String endpointUri()
Get the endpointUri property: The URI of the workspace endpoint.
Returns:
fromJson
public static WorkspaceResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of WorkspaceResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
providers
public List<Provider> providers()
Get the providers property: List of Providers selected for this Workspace.
Returns:
provisioningState
public ProvisioningStatus provisioningState()
Get the provisioningState property: Provisioning status field.
Returns:
storageAccount
public String storageAccount()
Get the storageAccount property: ARM Resource Id of the storage account associated with this workspace.
Returns:
toJson
usable
public UsableStatus usable()
Get the usable property: Whether the current workspace is ready to accept Jobs.
Returns:
validate
public void validate()
Validates the instance.
withApiKeyEnabled
public WorkspaceResourceProperties withApiKeyEnabled(Boolean apiKeyEnabled)
Set the apiKeyEnabled property: Indicator of enablement of the Quantum workspace Api keys.
Parameters:
Returns:
withProviders
public WorkspaceResourceProperties withProviders(List<Provider> providers)
Set the providers property: List of Providers selected for this Workspace.
Parameters:
Returns:
withStorageAccount
public WorkspaceResourceProperties withStorageAccount(String storageAccount)
Set the storageAccount property: ARM Resource Id of the storage account associated with this workspace.
Parameters:
Returns: