ProviderResourceType Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ProviderResourceType
- com.
Implements
public final class ProviderResourceType
implements JsonSerializable<ProviderResourceType>
Resource type managed by the resource provider.
Constructor Summary
Constructor | Description |
---|---|
ProviderResourceType() |
Creates an instance of Provider |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Alias> |
aliases()
Get the aliases property: The aliases that are supported by this resource type. |
List<Api |
apiProfiles()
Get the api |
List<String> |
apiVersions()
Get the api |
String |
capabilities()
Get the capabilities property: The additional capabilities offered by this resource type. |
String |
defaultApiVersion()
Get the default |
static
Provider |
fromJson(JsonReader jsonReader)
Reads an instance of Provider |
List<Provider |
locationMappings()
Get the location |
List<String> |
locations()
Get the locations property: The collection of locations where this resource type can be created. |
Map<String,String> |
properties()
Get the properties property: The properties. |
String |
resourceType()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Provider |
withAliases(List<Alias> aliases)
Set the aliases property: The aliases that are supported by this resource type. |
Provider |
withApiVersions(List<String> apiVersions)
Set the api |
Provider |
withCapabilities(String capabilities)
Set the capabilities property: The additional capabilities offered by this resource type. |
Provider |
withLocationMappings(List<ProviderExtendedLocation> locationMappings)
Set the location |
Provider |
withLocations(List<String> locations)
Set the locations property: The collection of locations where this resource type can be created. |
Provider |
withProperties(Map<String,String> properties)
Set the properties property: The properties. |
Provider |
withResourceType(String resourceType)
Set the resource |
Provider |
withZoneMappings(List<ZoneMapping> zoneMappings)
Set the zone |
List<Zone |
zoneMappings()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
ProviderResourceType
public ProviderResourceType()
Creates an instance of ProviderResourceType class.
Method Details
aliases
public List
Get the aliases property: The aliases that are supported by this resource type.
Returns:
apiProfiles
public List
Get the apiProfiles property: The API profiles for the resource provider.
Returns:
apiVersions
public List
Get the apiVersions property: The API version.
Returns:
capabilities
public String capabilities()
Get the capabilities property: The additional capabilities offered by this resource type.
Returns:
defaultApiVersion
public String defaultApiVersion()
Get the defaultApiVersion property: The default API version.
Returns:
fromJson
public static ProviderResourceType fromJson(JsonReader jsonReader)
Reads an instance of ProviderResourceType from the JsonReader.
Parameters:
Returns:
Throws:
locationMappings
public List
Get the locationMappings property: The location mappings that are supported by this resource type.
Returns:
locations
public List
Get the locations property: The collection of locations where this resource type can be created.
Returns:
properties
public Map
Get the properties property: The properties.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The resource type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAliases
public ProviderResourceType withAliases(List
Set the aliases property: The aliases that are supported by this resource type.
Parameters:
Returns:
withApiVersions
public ProviderResourceType withApiVersions(List
Set the apiVersions property: The API version.
Parameters:
Returns:
withCapabilities
public ProviderResourceType withCapabilities(String capabilities)
Set the capabilities property: The additional capabilities offered by this resource type.
Parameters:
Returns:
withLocationMappings
public ProviderResourceType withLocationMappings(List
Set the locationMappings property: The location mappings that are supported by this resource type.
Parameters:
Returns:
withLocations
public ProviderResourceType withLocations(List
Set the locations property: The collection of locations where this resource type can be created.
Parameters:
Returns:
withProperties
public ProviderResourceType withProperties(Map
Set the properties property: The properties.
Parameters:
Returns:
withResourceType
public ProviderResourceType withResourceType(String resourceType)
Set the resourceType property: The resource type.
Parameters:
Returns:
withZoneMappings
public ProviderResourceType withZoneMappings(List
Set the zoneMappings property: The zoneMappings property.
Parameters:
Returns:
zoneMappings
public List
Get the zoneMappings property: The zoneMappings property.
Returns:
Applies to
Azure SDK for Java