tenantaccessgit

package
v0.20220901.1111930 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessIdName

func PossibleValuesForAccessIdName() []string

func ValidateAccesID

func ValidateAccesID(input interface{}, key string) (warnings []string, errors []error)

ValidateAccesID checks that 'input' can be parsed as a Acces ID

Types

type AccesId

type AccesId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	AccessName        AccessIdName
}

AccesId is a struct representing the Resource ID for a Acces

func NewAccesID

func NewAccesID(subscriptionId string, resourceGroupName string, serviceName string, accessName AccessIdName) AccesId

NewAccesID returns a new AccesId struct

func ParseAccesID

func ParseAccesID(input string) (*AccesId, error)

ParseAccesID parses 'input' into a AccesId

func ParseAccesIDInsensitively

func ParseAccesIDInsensitively(input string) (*AccesId, error)

ParseAccesIDInsensitively parses 'input' case-insensitively into a AccesId note: this method should only be used for API response data and not user input

func (AccesId) ID

func (id AccesId) ID() string

ID returns the formatted Acces ID

func (AccesId) Segments

func (id AccesId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Acces ID

func (AccesId) String

func (id AccesId) String() string

String returns a human-readable description of this Acces ID

type AccessIdName

type AccessIdName string
const (
	AccessIdNameAccess    AccessIdName = "access"
	AccessIdNameGitAccess AccessIdName = "gitAccess"
)

type RegeneratePrimaryKeyOperationResponse

type RegeneratePrimaryKeyOperationResponse struct {
	HttpResponse *http.Response
}

type RegenerateSecondaryKeyOperationResponse

type RegenerateSecondaryKeyOperationResponse struct {
	HttpResponse *http.Response
}

type TenantAccessGitClient

type TenantAccessGitClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewTenantAccessGitClientWithBaseURI

func NewTenantAccessGitClientWithBaseURI(endpoint string) TenantAccessGitClient

func (TenantAccessGitClient) RegeneratePrimaryKey

func (c TenantAccessGitClient) RegeneratePrimaryKey(ctx context.Context, id AccesId) (result RegeneratePrimaryKeyOperationResponse, err error)

RegeneratePrimaryKey ...

func (TenantAccessGitClient) RegenerateSecondaryKey

func (c TenantAccessGitClient) RegenerateSecondaryKey(ctx context.Context, id AccesId) (result RegenerateSecondaryKeyOperationResponse, err error)

RegenerateSecondaryKey ...

Jump to

Keyboard shortcuts

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