SupportsCreating<T>.define(String name) 方法

定义

Begins a definition for a new resource.

This is the beginning of the builder pattern used to create top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is create().

Note that the create() method is only available at the stage of the resource definition that has the minimum set of input parameters specified. If you do not see create() among the available methods, it means you have not yet specified all the required input settings. Input settings generally begin with the word "with", for example: and return the next stage of the resource definition, as an interface in the "fluent interface" style.

public T define(String name)

参数

name
String

the name of the new resource

返回

T

the first stage of the new resource definition

适用于