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

Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode 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 méthode

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
Résultat Microsoft.Azure.Commands.Tags.Model.PSTag

DeleteTag() public méthode

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
Résultat Microsoft.Azure.Commands.Tags.Model.PSTag

GetTag() public méthode

public GetTag ( string tag ) : Microsoft.Azure.Commands.Tags.Model.PSTag
tag string
Résultat Microsoft.Azure.Commands.Tags.Model.PSTag

ListTags() public méthode

public ListTags ( ) : List
Résultat List

TagsClient() public méthode

Parameterless constructor for mocking
public TagsClient ( ) : System
Résultat System

TagsClient() public méthode

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

TagsClient() public méthode

Creates new TagsClient instance
public TagsClient ( IResourceManagementClient resourceManagementClient ) : System
resourceManagementClient IResourceManagementClient The IResourceManagementClient instance
Résultat System