Partager via


DefaultRolloutSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.providerhub.models.DefaultRolloutSpecification

Implements

public class DefaultRolloutSpecification
implements JsonSerializable<DefaultRolloutSpecification>

The DefaultRolloutSpecification model.

Constructor Summary

Constructor Description
DefaultRolloutSpecification()

Creates an instance of DefaultRolloutSpecification class.

Method Summary

Modifier and Type Method and Description
DefaultRolloutSpecificationAutoProvisionConfig autoProvisionConfig()

Get the autoProvisionConfig property: The auto provisioning config.

DefaultRolloutSpecificationCanary canary()

Get the canary property: The canary traffic region configuration.

DefaultRolloutSpecificationExpeditedRollout expeditedRollout()

Get the expeditedRollout property: The expedited rollout definition.

static DefaultRolloutSpecification fromJson(JsonReader jsonReader)

Reads an instance of DefaultRolloutSpecification from the JsonReader.

DefaultRolloutSpecificationHighTraffic highTraffic()

Get the highTraffic property: The high traffic region configuration.

DefaultRolloutSpecificationLowTraffic lowTraffic()

Get the lowTraffic property: The low traffic region configuration.

DefaultRolloutSpecificationMediumTraffic mediumTraffic()

Get the mediumTraffic property: The medium traffic region configuration.

DefaultRolloutSpecificationProviderRegistration providerRegistration()

Get the providerRegistration property: The provider registration.

List<ResourceTypeRegistrationInner> resourceTypeRegistrations()

Get the resourceTypeRegistrations property: The resource type registrations.

DefaultRolloutSpecificationRestOfTheWorldGroupOne restOfTheWorldGroupOne()

Get the restOfTheWorldGroupOne property: The rest of the world group one region configuration.

DefaultRolloutSpecificationRestOfTheWorldGroupTwo restOfTheWorldGroupTwo()

Get the restOfTheWorldGroupTwo property: The rest of the world group two region configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefaultRolloutSpecification withAutoProvisionConfig(DefaultRolloutSpecificationAutoProvisionConfig autoProvisionConfig)

Set the autoProvisionConfig property: The auto provisioning config.

DefaultRolloutSpecification withCanary(DefaultRolloutSpecificationCanary canary)

Set the canary property: The canary traffic region configuration.

DefaultRolloutSpecification withExpeditedRollout(DefaultRolloutSpecificationExpeditedRollout expeditedRollout)

Set the expeditedRollout property: The expedited rollout definition.

DefaultRolloutSpecification withHighTraffic(DefaultRolloutSpecificationHighTraffic highTraffic)

Set the highTraffic property: The high traffic region configuration.

DefaultRolloutSpecification withLowTraffic(DefaultRolloutSpecificationLowTraffic lowTraffic)

Set the lowTraffic property: The low traffic region configuration.

DefaultRolloutSpecification withMediumTraffic(DefaultRolloutSpecificationMediumTraffic mediumTraffic)

Set the mediumTraffic property: The medium traffic region configuration.

DefaultRolloutSpecification withProviderRegistration(DefaultRolloutSpecificationProviderRegistration providerRegistration)

Set the providerRegistration property: The provider registration.

DefaultRolloutSpecification withResourceTypeRegistrations(List<ResourceTypeRegistrationInner> resourceTypeRegistrations)

Set the resourceTypeRegistrations property: The resource type registrations.

DefaultRolloutSpecification withRestOfTheWorldGroupOne(DefaultRolloutSpecificationRestOfTheWorldGroupOne restOfTheWorldGroupOne)

Set the restOfTheWorldGroupOne property: The rest of the world group one region configuration.

DefaultRolloutSpecification withRestOfTheWorldGroupTwo(DefaultRolloutSpecificationRestOfTheWorldGroupTwo restOfTheWorldGroupTwo)

Set the restOfTheWorldGroupTwo property: The rest of the world group two region configuration.

Methods inherited from java.lang.Object

Constructor Details

DefaultRolloutSpecification

public DefaultRolloutSpecification()

Creates an instance of DefaultRolloutSpecification class.

Method Details

autoProvisionConfig

public DefaultRolloutSpecificationAutoProvisionConfig autoProvisionConfig()

Get the autoProvisionConfig property: The auto provisioning config.

Returns:

the autoProvisionConfig value.

canary

public DefaultRolloutSpecificationCanary canary()

Get the canary property: The canary traffic region configuration.

Returns:

the canary value.

expeditedRollout

public DefaultRolloutSpecificationExpeditedRollout expeditedRollout()

Get the expeditedRollout property: The expedited rollout definition.

Returns:

the expeditedRollout value.

fromJson

public static DefaultRolloutSpecification fromJson(JsonReader jsonReader)

Reads an instance of DefaultRolloutSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DefaultRolloutSpecification 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 DefaultRolloutSpecification.

highTraffic

public DefaultRolloutSpecificationHighTraffic highTraffic()

Get the highTraffic property: The high traffic region configuration.

Returns:

the highTraffic value.

lowTraffic

public DefaultRolloutSpecificationLowTraffic lowTraffic()

Get the lowTraffic property: The low traffic region configuration.

Returns:

the lowTraffic value.

mediumTraffic

public DefaultRolloutSpecificationMediumTraffic mediumTraffic()

Get the mediumTraffic property: The medium traffic region configuration.

Returns:

the mediumTraffic value.

providerRegistration

public DefaultRolloutSpecificationProviderRegistration providerRegistration()

Get the providerRegistration property: The provider registration.

Returns:

the providerRegistration value.

resourceTypeRegistrations

public List<ResourceTypeRegistrationInner> resourceTypeRegistrations()

Get the resourceTypeRegistrations property: The resource type registrations.

Returns:

the resourceTypeRegistrations value.

restOfTheWorldGroupOne

public DefaultRolloutSpecificationRestOfTheWorldGroupOne restOfTheWorldGroupOne()

Get the restOfTheWorldGroupOne property: The rest of the world group one region configuration.

Returns:

the restOfTheWorldGroupOne value.

restOfTheWorldGroupTwo

public DefaultRolloutSpecificationRestOfTheWorldGroupTwo restOfTheWorldGroupTwo()

Get the restOfTheWorldGroupTwo property: The rest of the world group two region configuration.

Returns:

the restOfTheWorldGroupTwo value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAutoProvisionConfig

public DefaultRolloutSpecification withAutoProvisionConfig(DefaultRolloutSpecificationAutoProvisionConfig autoProvisionConfig)

Set the autoProvisionConfig property: The auto provisioning config.

Parameters:

autoProvisionConfig - the autoProvisionConfig value to set.

Returns:

the DefaultRolloutSpecification object itself.

withCanary

public DefaultRolloutSpecification withCanary(DefaultRolloutSpecificationCanary canary)

Set the canary property: The canary traffic region configuration.

Parameters:

canary - the canary value to set.

Returns:

the DefaultRolloutSpecification object itself.

withExpeditedRollout

public DefaultRolloutSpecification withExpeditedRollout(DefaultRolloutSpecificationExpeditedRollout expeditedRollout)

Set the expeditedRollout property: The expedited rollout definition.

Parameters:

expeditedRollout - the expeditedRollout value to set.

Returns:

the DefaultRolloutSpecification object itself.

withHighTraffic

public DefaultRolloutSpecification withHighTraffic(DefaultRolloutSpecificationHighTraffic highTraffic)

Set the highTraffic property: The high traffic region configuration.

Parameters:

highTraffic - the highTraffic value to set.

Returns:

the DefaultRolloutSpecification object itself.

withLowTraffic

public DefaultRolloutSpecification withLowTraffic(DefaultRolloutSpecificationLowTraffic lowTraffic)

Set the lowTraffic property: The low traffic region configuration.

Parameters:

lowTraffic - the lowTraffic value to set.

Returns:

the DefaultRolloutSpecification object itself.

withMediumTraffic

public DefaultRolloutSpecification withMediumTraffic(DefaultRolloutSpecificationMediumTraffic mediumTraffic)

Set the mediumTraffic property: The medium traffic region configuration.

Parameters:

mediumTraffic - the mediumTraffic value to set.

Returns:

the DefaultRolloutSpecification object itself.

withProviderRegistration

public DefaultRolloutSpecification withProviderRegistration(DefaultRolloutSpecificationProviderRegistration providerRegistration)

Set the providerRegistration property: The provider registration.

Parameters:

providerRegistration - the providerRegistration value to set.

Returns:

the DefaultRolloutSpecification object itself.

withResourceTypeRegistrations

public DefaultRolloutSpecification withResourceTypeRegistrations(List<ResourceTypeRegistrationInner> resourceTypeRegistrations)

Set the resourceTypeRegistrations property: The resource type registrations.

Parameters:

resourceTypeRegistrations - the resourceTypeRegistrations value to set.

Returns:

the DefaultRolloutSpecification object itself.

withRestOfTheWorldGroupOne

public DefaultRolloutSpecification withRestOfTheWorldGroupOne(DefaultRolloutSpecificationRestOfTheWorldGroupOne restOfTheWorldGroupOne)

Set the restOfTheWorldGroupOne property: The rest of the world group one region configuration.

Parameters:

restOfTheWorldGroupOne - the restOfTheWorldGroupOne value to set.

Returns:

the DefaultRolloutSpecification object itself.

withRestOfTheWorldGroupTwo

public DefaultRolloutSpecification withRestOfTheWorldGroupTwo(DefaultRolloutSpecificationRestOfTheWorldGroupTwo restOfTheWorldGroupTwo)

Set the restOfTheWorldGroupTwo property: The rest of the world group two region configuration.

Parameters:

restOfTheWorldGroupTwo - the restOfTheWorldGroupTwo value to set.

Returns:

the DefaultRolloutSpecification object itself.

Applies to