Dela via


IDefinition Interface

Definition

Container interface for all the definitions.

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate, Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkWatcher>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithCreate>
    interface IWithExistingResourceGroup<IWithCreate>
    interface IWithNewResourceGroup<IWithCreate>
    interface IWithCreatableResourceGroup<IWithCreate>
    interface IWithCreate
    interface ICreatable<INetworkWatcher>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
Public Interface IDefinition
Implements IBlank, ICreatable(Of INetworkWatcher), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreate, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to