tenantaccessgit

package
v0.20230331.1143618 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 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 ValidateAccessID added in v0.20220907.1111434

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

ValidateAccessID checks that 'input' can be parsed as a Access ID

Types

type AccessId added in v0.20220907.1111434

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

AccessId is a struct representing the Resource ID for a Access

func NewAccessID added in v0.20220907.1111434

func NewAccessID(subscriptionId string, resourceGroupName string, serviceName string, accessName AccessIdName) AccessId

NewAccessID returns a new AccessId struct

func ParseAccessID added in v0.20220907.1111434

func ParseAccessID(input string) (*AccessId, error)

ParseAccessID parses 'input' into a AccessId

func ParseAccessIDInsensitively added in v0.20220907.1111434

func ParseAccessIDInsensitively(input string) (*AccessId, error)

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

func (AccessId) ID added in v0.20220907.1111434

func (id AccessId) ID() string

ID returns the formatted Access ID

func (AccessId) Segments added in v0.20220907.1111434

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

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

func (AccessId) String added in v0.20220907.1111434

func (id AccessId) String() string

String returns a human-readable description of this Access 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 AccessId) (result RegeneratePrimaryKeyOperationResponse, err error)

RegeneratePrimaryKey ...

func (TenantAccessGitClient) RegenerateSecondaryKey

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

RegenerateSecondaryKey ...

Jump to

Keyboard shortcuts

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