共用方式為


ExternalChildResourcesCached<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT> Class

Definition

public abstract class ExternalChildResourcesCached<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT> where FluentModelTImpl : ExternalChildResource<IFluentModelT,InnerModelT,IParentT,ParentImplT>, IFluentModelT where IFluentModelT : class, IExternalChildResource<IFluentModelT,IParentT> where ParentImplT : IParentT
type ExternalChildResourcesCached<'FluentModelTImpl, 'IFluentModelT, 'InnerModelT, 'IParentT, #'IParentT (requires 'FluentModelTImpl :> ExternalChildResource<'IFluentModelT, 'InnerModelT, 'IParentT, #'IParentT> and 'FluentModelTImpl :> 'IFluentModelT and 'IFluentModelT : null and 'IFluentModelT :> IExternalChildResource<'IFluentModelT, 'IParentT>)> = class
    inherit ExternalChildResourceCollection<'FluentModelTImpl, 'IFluentModelT, 'InnerModelT, 'IParentT, #'IParentT (requires 'FluentModelTImpl :> ExternalChildResource<'IFluentModelT, 'InnerModelT, 'IParentT, #'IParentT> and 'FluentModelTImpl :> 'IFluentModelT and 'IFluentModelT : null and 'IFluentModelT :> IExternalChildResource<'IFluentModelT, 'IParentT>)>
Public MustInherit Class ExternalChildResourcesCached(Of FluentModelTImpl, IFluentModelT, InnerModelT, IParentT, ParentImplT)
Inherits ExternalChildResourceCollection(Of FluentModelTImpl, IFluentModelT, InnerModelT, IParentT, ParentImplT)

Type Parameters

FluentModelTImpl
IFluentModelT
InnerModelT
IParentT
ParentImplT
Inheritance
ExternalChildResourcesCached<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>

Constructors

ExternalChildResourcesCached<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>(ParentImplT, String)

Creates a new ExternalChildResourcesCached.

Fields

childResourceName

Used to construct error string, this is user friendly name of the child resource (e.g. Subnet, Extension).

(Inherited from ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>)
collection

The child resource instances that this collection contains.

(Inherited from ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>)

Properties

Collection
Parent (Inherited from ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>)

Methods

AddChildResource(FluentModelTImpl)

Adds an external child resource to the collection.

CacheCollection()

Initializes the external child resource collection.

ClearAfterCommit()
CommitAndGetAllAsync(CancellationToken)

Commits the changes in the external child resource collection.

(Inherited from ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>)
Find(String)

Finds a child resource with the given name.

(Inherited from ExternalChildResourceCollection<FluentModelTImpl,IFluentModelT,InnerModelT,IParentT,ParentImplT>)
ListChildResources()

Gets the list of external child resources.

NewChildResource(String)

Gets a new external child resource model instance.

PrepareDefine(String)

Prepare for definition of a new external child resource.

PrepareDefine(String, String)

Prepare for definition of a new external child resource.

PrepareRemove(String)

Mark an external child resource with given name as to be removed.

PrepareRemove(String, String)

Mark an external child resource with given name as to be removed.

PrepareUpdate(String)

Prepare for an external child resource update.

PrepareUpdate(String, String)

Prepare for an external child resource update.

Refresh()

Refresh the collection.

Applies to