Sdílet prostřednictvím


IGenericResources Interface

Definition

Entry point to generic resources management API.

public interface IGenericResources : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.ResourceManager.Fluent.GenericResource.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingInResourceGroupByTag<Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceManager>
type IGenericResources = interface
    interface ISupportsListing<IGenericResource>
    interface ISupportsListingByResourceGroup<IGenericResource>
    interface ISupportsListingInResourceGroupByTag<IGenericResource>
    interface ISupportsCreating<IBlank>
    interface ISupportsBatchCreation<IGenericResource>
    interface IHasManager<IResourceManager>
    interface IHasInner<IResourcesOperations>
Public Interface IGenericResources
Implements IHasInner(Of IResourcesOperations), IHasManager(Of IResourceManager), ISupportsBatchCreation(Of IGenericResource), ISupportsCreating(Of IBlank), ISupportsListing(Of IGenericResource), ISupportsListingByResourceGroup(Of IGenericResource), ISupportsListingInResourceGroupByTag(Of IGenericResource)
Implements

Properties

Inner (Inherited from IHasInner<T>)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)

Methods

CheckExistence(String, String, String, String, String, String)

Check if a resource exists in a resource group.

CheckExistenceAsync(String, String, String, String, String, String, CancellationToken)

Check if a resource exists in a resource group asynchronously.

Create(ICreatable<IFluentResourceT>[])

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

Creates a set (batch) of resources.

(Inherited from ISupportsBatchCreation<IFluentResourceT>)
Define(String) (Inherited from ISupportsCreating<T>)
Delete(String, String, String, String, String, String)

Delete resource and all of its child resources.

DeleteAsync(String, String, String, String, String, String, CancellationToken)

Delete resource and all of its child resources asynchronously.

DeleteById(String, String)

Delete a resource and all of its child resources by the resource ID.

DeleteByIdAsync(String, String, CancellationToken)

Delete a resource and all of its child resources by the resource ID asynchronously.

Get(String, String, String, String, String, String)

Return a resource belonging to a resource group.

GetAsync(String, String, String, String, String, String, CancellationToken)

Return a resource belonging to a resource group asynchronously.

GetById(String, String)

Return a resource by the resource ID.

GetByIdAsync(String, String, CancellationToken)

Return a resource by the resource ID asynchronously.

List()

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

Lists all the resources of the specified type in the currently selected subscription.

(Inherited from ISupportsListing<T>)
ListByResourceGroup(String)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
ListByResourceGroupAsync(String, Boolean, CancellationToken)

Lists resources of the specified type in the specified resource group.

(Inherited from ISupportsListingByResourceGroup<T>)
ListByTag(String, String, String)

Lists all the resources with the specified tag.

(Inherited from ISupportsListingInResourceGroupByTag<T>)
ListByTagAsync(String, String, String, Boolean, CancellationToken)

Lists all the resources with the specified tag.

(Inherited from ISupportsListingInResourceGroupByTag<T>)
MoveResources(String, IResourceGroup, IList<String>)

Move resources from one resource group to another.

MoveResourcesAsync(String, IResourceGroup, IList<String>, CancellationToken)

Move resources from one resource group to another asynchronously.

Applies to