msi

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*azurex.Client
	// contains filtered or unexported fields
}

Client is the definition of the MSI client

func New

func New(p *azurex.Client) *Client

New expects *azurex.Client and returns *msi.Client

func (*Client) CreateOrUpdate

func (c *Client) CreateOrUpdate(ctx context.Context, resourceName string, tags map[string]*string) (*Identity, error)

CreateOrUpdate performs creation of updation of identities

func (*Client) EnsureDelete

func (c *Client) EnsureDelete(ctx context.Context, resourceName string) (bool, error)

EnsureDelete ensures deletion of the identity

type Identity

type Identity struct {
	ID             string
	Name           string
	Type           string
	Location       string
	SubscriptionID string
	ResourceGroup  string
	TenantID       string
	PrincipalID    string
	ClientID       string
}

Identity is the definition of the Identity struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL