public final class ProviderResourceType extends Object
| Constructor and Description |
|---|
ProviderResourceType() |
| Modifier and Type | Method and Description |
|---|---|
List<Alias> |
aliases()
Get the aliases property: The aliases that are supported by this resource type.
|
List<ApiProfile> |
apiProfiles()
Get the apiProfiles property: The API profiles for the resource provider.
|
List<String> |
apiVersions()
Get the apiVersions property: The API version.
|
String |
capabilities()
Get the capabilities property: The additional capabilities offered by this resource type.
|
String |
defaultApiVersion()
Get the defaultApiVersion property: The default API version.
|
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 resourceType property: The resource type.
|
void |
validate()
Validates the instance.
|
ProviderResourceType |
withAliases(List<Alias> aliases)
Set the aliases property: The aliases that are supported by this resource type.
|
ProviderResourceType |
withApiVersions(List<String> apiVersions)
Set the apiVersions property: The API version.
|
ProviderResourceType |
withCapabilities(String capabilities)
Set the capabilities property: The additional capabilities offered by this resource type.
|
ProviderResourceType |
withLocations(List<String> locations)
Set the locations property: The collection of locations where this resource type can be created.
|
ProviderResourceType |
withProperties(Map<String,String> properties)
Set the properties property: The properties.
|
ProviderResourceType |
withResourceType(String resourceType)
Set the resourceType property: The resource type.
|
public String resourceType()
public ProviderResourceType withResourceType(String resourceType)
resourceType - the resourceType value to set.public List<String> locations()
public ProviderResourceType withLocations(List<String> locations)
locations - the locations value to set.public List<Alias> aliases()
public ProviderResourceType withAliases(List<Alias> aliases)
aliases - the aliases value to set.public List<String> apiVersions()
public ProviderResourceType withApiVersions(List<String> apiVersions)
apiVersions - the apiVersions value to set.public String defaultApiVersion()
public List<ApiProfile> apiProfiles()
public String capabilities()
public ProviderResourceType withCapabilities(String capabilities)
capabilities - the capabilities value to set.public Map<String,String> properties()
public ProviderResourceType withProperties(Map<String,String> properties)
properties - the properties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.