Dela via


ResourceBase<IFluentResourceT,InnerResourceT,FluentResourceT,IDefinitionAfterRegion,DefTypeWithTags,UTypeWithTags> Class

Definition

This class uses Reflection, it will be removed once we have a "Resource" from which all resource inherits

public abstract class ResourceBase<IFluentResourceT,InnerResourceT,FluentResourceT,IDefinitionAfterRegion,DefTypeWithTags,UTypeWithTags> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId,UTypeWithTags>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<DefTypeWithTags>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<UTypeWithTags> where IFluentResourceT : class, IResource where InnerResourceT : Resource where FluentResourceT : ResourceBase<IFluentResourceT,InnerResourceT,FluentResourceT,IDefinitionAfterRegion,DefTypeWithTags,UTypeWithTags>, IFluentResourceT where IDefinitionAfterRegion : class where DefTypeWithTags : class where UTypeWithTags : class
type ResourceBase<'IFluentResourceT, 'InnerResourceT, 'FluentResourceT, 'IDefinitionAfterRegion, 'DefTypeWithTags, 'UTypeWithTags (requires 'IFluentResourceT : null and 'IFluentResourceT :> IResource and 'InnerResourceT :> Resource and 'FluentResourceT :> ResourceBase<'IFluentResourceT, 'InnerResourceT, 'FluentResourceT, 'IDefinitionAfterRegion, 'DefTypeWithTags, 'UTypeWithTags> and 'FluentResourceT :> 'IFluentResourceT and 'IDefinitionAfterRegion : null and 'DefTypeWithTags : null and 'UTypeWithTags : null)> = class
    inherit CreatableUpdatable<'IFluentResourceT, 'InnerResourceT, 'FluentResourceT, IHasId, 'UTypeWithTags (requires 'IFluentResourceT : null and 'IFluentResourceT :> IResource and 'InnerResourceT :> Resource and 'FluentResourceT :> ResourceBase<'IFluentResourceT, 'InnerResourceT, 'FluentResourceT, 'IDefinitionAfterRegion, 'DefTypeWithTags, 'UTypeWithTags> and 'FluentResourceT :> 'IFluentResourceT and 'UTypeWithTags : null)>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IDefinitionWithTags<'DefTypeWithTags (requires 'DefTypeWithTags : null)>
    interface IUpdateWithTags<'UTypeWithTags (requires 'UTypeWithTags : null)>
Public MustInherit Class ResourceBase(Of IFluentResourceT, InnerResourceT, FluentResourceT, IDefinitionAfterRegion, DefTypeWithTags, UTypeWithTags)
Inherits CreatableUpdatable(Of IFluentResourceT, InnerResourceT, FluentResourceT, IHasId, UTypeWithTags)
Implements IDefinitionWithTags(Of DefTypeWithTags), IResource, IUpdateWithTags(Of UTypeWithTags)

Type Parameters

IFluentResourceT

The fluent wrapper interface for the resource

InnerResourceT

The autorest generated resource

FluentResourceT

The implementation for fluent wrapper interface

IDefinitionAfterRegion
DefTypeWithTags
UTypeWithTags
Inheritance
CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IHasId,UTypeWithTags>
ResourceBase<IFluentResourceT,InnerResourceT,FluentResourceT,IDefinitionAfterRegion,DefTypeWithTags,UTypeWithTags>
Derived
Implements

Constructors

ResourceBase<IFluentResourceT,InnerResourceT,FluentResourceT,IDefinitionAfterRegion,DefTypeWithTags,UTypeWithTags>(String, InnerResourceT)

Properties

CreatorTaskGroup (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Id
Inner (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
IsInCreateMode
Key (Inherited from Indexable)
Name
Region
RegionName
Tags
Type

Methods

AddCreatableDependency(IResourceCreator<IResourceT>) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Apply() (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
ApplyAsync(CancellationToken, Boolean) (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
Create() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateAsync(CancellationToken, Boolean) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreatedResource(String) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResourceAsync(CancellationToken) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
GetInnerAsync(CancellationToken) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
InnersFromWrappers<InnerT,IWrapperT>(ICollection<IWrapperT>, IList<InnerT>)
InnersFromWrappers<InnerT,IWrapperT>(ICollection<IWrapperT>)
Refresh() (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
SetInner(InnerResourceT) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Update() (Inherited from CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
WithoutTag(String)
WithRegion(Region)
WithRegion(String)
WithTag(String, String)
WithTags(IDictionary<String,String>)

Explicit Interface Implementations

IDefinitionWithTags<DefTypeWithTags>.WithTag(String, String)
IDefinitionWithTags<DefTypeWithTags>.WithTags(IDictionary<String,String>)
IResource.Tags
IResourceCreator<IResourceT>.CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IUpdateWithTags<UTypeWithTags>.WithoutTag(String)
IUpdateWithTags<UTypeWithTags>.WithTag(String, String)
IUpdateWithTags<UTypeWithTags>.WithTags(IDictionary<String,String>)

Applies to