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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Accepted<GenericResource>beginCreate()Begins creating the Azure resource.GenericResource.DefinitionStages.WithCreatewithIdentity(Identity identity)Specifies managed identity.GenericResource.DefinitionStages.WithCreatewithKind(String kind)Specifies resource kind.GenericResource.DefinitionStages.WithCreatewithProperties(Object properties)Specifies other properties.GenericResource.DefinitionStages.WithCreatewithSku(Sku sku)Specifies resource SKU.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.models.GenericResource.DefinitionStages.WithApiVersion
withApiVersion
-
Methods inherited from interface com.azure.resourcemanager.resources.models.GenericResource.DefinitionStages.WithParentResource
withParentResourceId, withParentResourcePath
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
-
-
-
Method Detail
-
withProperties
GenericResource.DefinitionStages.WithCreate withProperties(Object properties)
Specifies other properties.- Parameters:
properties- the properties object- Returns:
- the next stage of generic resource definition
-
withKind
GenericResource.DefinitionStages.WithCreate withKind(String kind)
Specifies resource kind.- Parameters:
kind- the kind of the resource- Returns:
- the next stage of generic resource definition
-
withSku
GenericResource.DefinitionStages.WithCreate withSku(Sku sku)
Specifies resource SKU.- Parameters:
sku- the SKU of the resource- Returns:
- the next stage of generic resource definition
-
withIdentity
GenericResource.DefinitionStages.WithCreate withIdentity(Identity identity)
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
-
-