C# Class Microsoft.Azure.Commands.Tags.Model.TagsClient

显示文件 Open project: Azure/azure-powershell

Public Methods

Method Description
CreateTag ( string tag, List values ) : Microsoft.Azure.Commands.Tags.Model.PSTag

Creates a tag and if the tag name exists add the value to the existing tag name.

DeleteTag ( string tag, List values ) : Microsoft.Azure.Commands.Tags.Model.PSTag

Deletes the entire tag or specific tag value.

GetTag ( string tag ) : Microsoft.Azure.Commands.Tags.Model.PSTag
ListTags ( ) : List
TagsClient ( ) : System

Parameterless constructor for mocking

TagsClient ( AzureContext context ) : System

Creates new tags client instance.

TagsClient ( IResourceManagementClient resourceManagementClient ) : System

Creates new TagsClient instance

Method Details

CreateTag() public method

Creates a tag and if the tag name exists add the value to the existing tag name.
public CreateTag ( string tag, List values ) : Microsoft.Azure.Commands.Tags.Model.PSTag
tag string The tag name
values List The tag values
return Microsoft.Azure.Commands.Tags.Model.PSTag

DeleteTag() public method

Deletes the entire tag or specific tag value.
public DeleteTag ( string tag, List values ) : Microsoft.Azure.Commands.Tags.Model.PSTag
tag string The tag name
values List Values to remove
return Microsoft.Azure.Commands.Tags.Model.PSTag

GetTag() public method

public GetTag ( string tag ) : Microsoft.Azure.Commands.Tags.Model.PSTag
tag string
return Microsoft.Azure.Commands.Tags.Model.PSTag

ListTags() public method

public ListTags ( ) : List
return List

TagsClient() public method

Parameterless constructor for mocking
public TagsClient ( ) : System
return System

TagsClient() public method

Creates new tags client instance.
public TagsClient ( AzureContext context ) : System
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The Azure context instance
return System

TagsClient() public method

Creates new TagsClient instance
public TagsClient ( IResourceManagementClient resourceManagementClient ) : System
resourceManagementClient IResourceManagementClient The IResourceManagementClient instance
return System