Share via


ProviderProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.quantum.models.ProviderProperties

Implements

public final class ProviderProperties
implements JsonSerializable<ProviderProperties>

Provider properties.

Constructor Summary

Constructor Description
ProviderProperties()

Creates an instance of ProviderProperties class.

Method Summary

Modifier and Type Method and Description
ProviderPropertiesAad aad()

Get the aad property: Azure Active Directory info.

String company()

Get the company property: Company name.

String defaultEndpoint()

Get the defaultEndpoint property: Provider's default endpoint.

String description()

Get the description property: A description about this provider.

static ProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ProviderProperties from the JsonReader.

ProviderPropertiesManagedApplication managedApplication()

Get the managedApplication property: Provider's Managed-Application info.

List<PricingDimension> pricingDimensions()

Get the pricingDimensions property: The list of pricing dimensions from the provider.

String providerType()

Get the providerType property: Provider type.

List<QuotaDimension> quotaDimensions()

Get the quotaDimensions property: The list of quota dimensions from the provider.

List<SkuDescription> skus()

Get the skus property: The list of skus available from this provider.

List<TargetDescription> targets()

Get the targets property: The list of targets available from this provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProviderProperties withAad(ProviderPropertiesAad aad)

Set the aad property: Azure Active Directory info.

ProviderProperties withManagedApplication(ProviderPropertiesManagedApplication managedApplication)

Set the managedApplication property: Provider's Managed-Application info.

ProviderProperties withPricingDimensions(List<PricingDimension> pricingDimensions)

Set the pricingDimensions property: The list of pricing dimensions from the provider.

ProviderProperties withQuotaDimensions(List<QuotaDimension> quotaDimensions)

Set the quotaDimensions property: The list of quota dimensions from the provider.

ProviderProperties withSkus(List<SkuDescription> skus)

Set the skus property: The list of skus available from this provider.

ProviderProperties withTargets(List<TargetDescription> targets)

Set the targets property: The list of targets available from this provider.

Methods inherited from java.lang.Object

Constructor Details

ProviderProperties

public ProviderProperties()

Creates an instance of ProviderProperties class.

Method Details

aad

public ProviderPropertiesAad aad()

Get the aad property: Azure Active Directory info.

Returns:

the aad value.

company

public String company()

Get the company property: Company name.

Returns:

the company value.

defaultEndpoint

public String defaultEndpoint()

Get the defaultEndpoint property: Provider's default endpoint.

Returns:

the defaultEndpoint value.

description

public String description()

Get the description property: A description about this provider.

Returns:

the description value.

fromJson

public static ProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ProviderProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ProviderProperties.

managedApplication

public ProviderPropertiesManagedApplication managedApplication()

Get the managedApplication property: Provider's Managed-Application info.

Returns:

the managedApplication value.

pricingDimensions

public List<PricingDimension> pricingDimensions()

Get the pricingDimensions property: The list of pricing dimensions from the provider.

Returns:

the pricingDimensions value.

providerType

public String providerType()

Get the providerType property: Provider type.

Returns:

the providerType value.

quotaDimensions

public List<QuotaDimension> quotaDimensions()

Get the quotaDimensions property: The list of quota dimensions from the provider.

Returns:

the quotaDimensions value.

skus

public List<SkuDescription> skus()

Get the skus property: The list of skus available from this provider.

Returns:

the skus value.

targets

public List<TargetDescription> targets()

Get the targets property: The list of targets available from this provider.

Returns:

the targets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAad

public ProviderProperties withAad(ProviderPropertiesAad aad)

Set the aad property: Azure Active Directory info.

Parameters:

aad - the aad value to set.

Returns:

the ProviderProperties object itself.

withManagedApplication

public ProviderProperties withManagedApplication(ProviderPropertiesManagedApplication managedApplication)

Set the managedApplication property: Provider's Managed-Application info.

Parameters:

managedApplication - the managedApplication value to set.

Returns:

the ProviderProperties object itself.

withPricingDimensions

public ProviderProperties withPricingDimensions(List<PricingDimension> pricingDimensions)

Set the pricingDimensions property: The list of pricing dimensions from the provider.

Parameters:

pricingDimensions - the pricingDimensions value to set.

Returns:

the ProviderProperties object itself.

withQuotaDimensions

public ProviderProperties withQuotaDimensions(List<QuotaDimension> quotaDimensions)

Set the quotaDimensions property: The list of quota dimensions from the provider.

Parameters:

quotaDimensions - the quotaDimensions value to set.

Returns:

the ProviderProperties object itself.

withSkus

public ProviderProperties withSkus(List<SkuDescription> skus)

Set the skus property: The list of skus available from this provider.

Parameters:

skus - the skus value to set.

Returns:

the ProviderProperties object itself.

withTargets

public ProviderProperties withTargets(List<TargetDescription> targets)

Set the targets property: The list of targets available from this provider.

Parameters:

targets - the targets value to set.

Returns:

the ProviderProperties object itself.

Applies to