tenantaccessgit

package
v0.20240108.1165100 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MPL-2.0 Imports: 10 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) FromParseResult added in v0.20231127.1171502

func (id *AccessId) FromParseResult(input resourceids.ParseResult) error

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"
)

func (*AccessIdName) UnmarshalJSON added in v0.20230801.1071415

func (s *AccessIdName) UnmarshalJSON(bytes []byte) error

type RegeneratePrimaryKeyOperationResponse

type RegeneratePrimaryKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RegenerateSecondaryKeyOperationResponse

type RegenerateSecondaryKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type TenantAccessGitClient

type TenantAccessGitClient struct {
	Client *resourcemanager.Client
}

func NewTenantAccessGitClientWithBaseURI

func NewTenantAccessGitClientWithBaseURI(sdkApi sdkEnv.Api) (*TenantAccessGitClient, error)

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