Share via


GenericResource.DefinitionStages.WithCreate Interface

Implements

public static interface GenericResource.DefinitionStages.WithCreate
extends WithParentResource, WithApiVersion, Creatable<GenericResource>, DefinitionWithTags<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 Type Method and Description
abstract Accepted<GenericResource> beginCreate()

Begins creating the Azure resource.

abstract WithCreate withIdentity(Identity identity)

Specifies managed identity.

abstract WithCreate withKind(String kind)

Specifies resource kind.

abstract WithCreate withProperties(Object properties)

Specifies other properties.

abstract WithCreate withSku(Sku sku)

Specifies resource SKU.

Method Details

beginCreate

public abstract Accepted<GenericResource> beginCreate()

Begins creating the Azure resource.

Returns:

the accepted create operation

withIdentity

public abstract GenericResource.DefinitionStages.WithCreate withIdentity(Identity identity)

Specifies managed identity.

Parameters:

identity - the managed identity

Returns:

the next stage of generic resource definition

withKind

public abstract GenericResource.DefinitionStages.WithCreate withKind(String kind)

Specifies resource kind.

Parameters:

kind - the kind of the resource

Returns:

the next stage of generic resource definition

withProperties

public abstract GenericResource.DefinitionStages.WithCreate withProperties(Object properties)

Specifies other properties.

Parameters:

properties - the properties object

Returns:

the next stage of generic resource definition

withSku

public abstract GenericResource.DefinitionStages.WithCreate withSku(Sku sku)

Specifies resource SKU.

Parameters:

sku - the SKU of the resource

Returns:

the next stage of generic resource definition

Applies to