Interface GenericResource.DefinitionStages.WithCreate
- All Superinterfaces:
Creatable<GenericResource>, GenericResource.DefinitionStages.WithApiVersion, GenericResource.DefinitionStages.WithParentResource, HasName, Indexable, Resource.DefinitionWithTags<GenericResource.DefinitionStages.WithCreate>
- All Known Subinterfaces:
GenericResource.Definition
- Enclosing interface:
GenericResource.DefinitionStages
public static interface GenericResource.DefinitionStages.WithCreate
extends GenericResource.DefinitionStages.WithParentResource, GenericResource.DefinitionStages.WithApiVersion, Creatable<GenericResource>, Resource.DefinitionWithTags<GenericResource.DefinitionStages.WithCreate>
A deployment definition with sufficient inputs to create a new
resource in the cloud, but exposing additional optional inputs to
specify.
-
Method Summary
Modifier and TypeMethodDescriptionBegins creating the Azure resource.withIdentity(Identity identity) Specifies managed identity.Specifies resource kind.withProperties(Object properties) Specifies other properties.Specifies resource SKU.Methods inherited from interface Creatable
create, create, createAsync, createAsyncMethods inherited from interface GenericResource.DefinitionStages.WithApiVersion
withApiVersionMethods inherited from interface GenericResource.DefinitionStages.WithParentResource
withParentResourceId, withParentResourcePathMethods inherited from interface Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withProperties
Specifies other properties.- Parameters:
properties- the properties object- Returns:
- the next stage of generic resource definition
-
withKind
Specifies resource kind.- Parameters:
kind- the kind of the resource- Returns:
- the next stage of generic resource definition
-
withSku
Specifies resource SKU.- Parameters:
sku- the SKU of the resource- Returns:
- the next stage of generic resource definition
-
withIdentity
Specifies managed identity.- Parameters:
identity- the managed identity- Returns:
- the next stage of generic resource definition
-
beginCreate
Accepted<GenericResource> beginCreate()Begins creating the Azure resource.- Returns:
- the accepted create operation
-