public class ProviderResourceType extends Object
| Constructor and Description |
|---|
ProviderResourceType() |
| Modifier and Type | Method and Description |
|---|---|
List<Alias> |
aliases()
Get the aliases that are supported by this resource type.
|
List<ApiProfile> |
apiProfiles()
Get the API profiles for the resource provider.
|
List<String> |
apiVersions()
Get the API version.
|
String |
capabilities()
Get the additional capabilities offered by this resource type.
|
String |
defaultApiVersion()
Get the default API version.
|
List<String> |
locations()
Get the collection of locations where this resource type can be created.
|
Map<String,String> |
properties()
Get the properties.
|
String |
resourceType()
Get the resource type.
|
ProviderResourceType |
withAliases(List<Alias> aliases)
Set the aliases that are supported by this resource type.
|
ProviderResourceType |
withApiVersions(List<String> apiVersions)
Set the API version.
|
ProviderResourceType |
withCapabilities(String capabilities)
Set the additional capabilities offered by this resource type.
|
ProviderResourceType |
withLocations(List<String> locations)
Set the collection of locations where this resource type can be created.
|
ProviderResourceType |
withProperties(Map<String,String> properties)
Set the properties.
|
ProviderResourceType |
withResourceType(String resourceType)
Set the resource type.
|
public String resourceType()
public ProviderResourceType withResourceType(String resourceType)
resourceType - the resourceType value to setpublic List<String> locations()
public ProviderResourceType withLocations(List<String> locations)
locations - the locations value to setpublic List<Alias> aliases()
public ProviderResourceType withAliases(List<Alias> aliases)
aliases - the aliases value to setpublic ProviderResourceType withApiVersions(List<String> apiVersions)
apiVersions - the apiVersions value to setpublic String defaultApiVersion()
public List<ApiProfile> apiProfiles()
public String capabilities()
public ProviderResourceType withCapabilities(String capabilities)
capabilities - the capabilities value to setpublic ProviderResourceType withProperties(Map<String,String> properties)
properties - the properties value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/