共用方式為


IPolicyAssignments Interface

Definition

public interface IPolicyAssignments : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingById, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>
type IPolicyAssignments = interface
    interface ISupportsListing<IPolicyAssignment>
    interface ISupportsListingByResourceGroup<IPolicyAssignment>
    interface ISupportsGettingById<IPolicyAssignment>
    interface ISupportsCreating<IBlank>
    interface ISupportsDeletingById
Public Interface IPolicyAssignments
Implements ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsGettingById(Of IPolicyAssignment), ISupportsListing(Of IPolicyAssignment), ISupportsListingByResourceGroup(Of IPolicyAssignment)
Implements

Methods

Define(String) (Inherited from ISupportsCreating<T>)
DeleteById(String)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

Deletes a resource from Azure, identifying it by its resource ID.

(Inherited from ISupportsDeletingById)
GetById(String)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

Gets the information about a resource from Azure based on the resource id.

(Inherited from ISupportsGettingById<T>)
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>)
ListByResource(String)

List policy assignments of the resource.

ListByResourceAsync(String, CancellationToken)

List policy assignments of the resource.

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>)

Applies to