ProviderResourceType Class
- java.
lang. Object - com.
microsoft. azure. management. resources. ProviderResourceType
- com.
public class ProviderResourceType
Resource type managed by the resource provider.
Constructor Summary
Constructor | Description | |
---|---|---|
ProviderResourceType() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Alias> |
aliases()
Get the aliases that are supported by this resource type. |
java.util.List<Api |
apiProfiles()
Get the API profiles for the resource provider. |
java.util.List<java.lang.String> |
apiVersions()
Get the API version. |
java.lang.String |
capabilities()
Get the additional capabilities offered by this resource type. |
java.lang.String |
defaultApiVersion()
Get the default API version. |
java.util.List<java.lang.String> |
locations()
Get the collection of locations where this resource type can be created. |
java.util.Map<java.lang.String,java.lang.String> |
properties()
Get the properties. |
java.lang.String |
resourceType()
Get the resource type. |
Provider |
withAliases(List<Alias> aliases)
Set the aliases that are supported by this resource type. |
Provider |
withApiVersions(List<String> apiVersions)
Set the API version. |
Provider |
withCapabilities(String capabilities)
Set the additional capabilities offered by this resource type. |
Provider |
withLocations(List<String> locations)
Set the collection of locations where this resource type can be created. |
Provider |
withProperties(Map<String,String> properties)
Set the properties. |
Provider |
withResourceType(String resourceType)
Set the resource type. |
Methods inherited from java.lang.Object
Constructor Details
ProviderResourceType
public ProviderResourceType()
Method Details
aliases
public List
Get the aliases that are supported by this resource type.
Returns:
apiProfiles
public List
Get the API profiles for the resource provider.
Returns:
apiVersions
public List
Get the API version.
Returns:
capabilities
public String capabilities()
Get the additional capabilities offered by this resource type.
Returns:
defaultApiVersion
public String defaultApiVersion()
Get the default API version.
Returns:
locations
public List
Get the collection of locations where this resource type can be created.
Returns:
properties
public Map
Get the properties.
Returns:
resourceType
public String resourceType()
Get the resource type.
Returns:
withAliases
public ProviderResourceType withAliases(List
Set the aliases that are supported by this resource type.
Parameters:
Returns:
withApiVersions
public ProviderResourceType withApiVersions(List
Set the API version.
Parameters:
Returns:
withCapabilities
public ProviderResourceType withCapabilities(String capabilities)
Set the additional capabilities offered by this resource type.
Parameters:
Returns:
withLocations
public ProviderResourceType withLocations(List
Set the collection of locations where this resource type can be created.
Parameters:
Returns:
withProperties
public ProviderResourceType withProperties(Map
Set the properties.
Parameters:
Returns:
withResourceType
public ProviderResourceType withResourceType(String resourceType)
Set the resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java