Documentation ¶
Index ¶
- func PossibleValuesForAliasPathAttributes() []string
- func PossibleValuesForAliasPathTokenType() []string
- func PossibleValuesForAliasPatternType() []string
- func PossibleValuesForAliasType() []string
- func PossibleValuesForProviderAuthorizationConsentState() []string
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviders2ID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionProviderID(input interface{}, key string) (warnings []string, errors []error)
- type Alias
- type AliasPath
- type AliasPathAttributes
- type AliasPathMetadata
- type AliasPathTokenType
- type AliasPattern
- type AliasPatternType
- type AliasType
- type ApiProfile
- type GetAtTenantScopeOperationOptions
- type GetAtTenantScopeOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListAtTenantScopeCompleteResult
- type ListAtTenantScopeOperationOptions
- type ListAtTenantScopeOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Permission
- type Provider
- type ProviderAuthorizationConsentState
- type ProviderConsentDefinition
- type ProviderExtendedLocation
- type ProviderId
- type ProviderOperationPredicate
- type ProviderPermission
- type ProviderPermissionListResult
- type ProviderPermissionsOperationResponse
- type ProviderRegistrationRequest
- type ProviderResourceType
- type ProviderResourceTypeListResult
- type ProviderResourceTypesListOperationOptions
- type ProviderResourceTypesListOperationResponse
- type Providers2Id
- type ProvidersClient
- func (c ProvidersClient) Get(ctx context.Context, id SubscriptionProviderId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ProvidersClient) GetAtTenantScope(ctx context.Context, id ProviderId, options GetAtTenantScopeOperationOptions) (result GetAtTenantScopeOperationResponse, err error)
- func (c ProvidersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ProvidersClient) ListAtTenantScope(ctx context.Context, options ListAtTenantScopeOperationOptions) (result ListAtTenantScopeOperationResponse, err error)
- func (c ProvidersClient) ListAtTenantScopeComplete(ctx context.Context, options ListAtTenantScopeOperationOptions) (ListAtTenantScopeCompleteResult, error)
- func (c ProvidersClient) ListAtTenantScopeCompleteMatchingPredicate(ctx context.Context, options ListAtTenantScopeOperationOptions, ...) (result ListAtTenantScopeCompleteResult, err error)
- func (c ProvidersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ProvidersClient) ProviderPermissions(ctx context.Context, id SubscriptionProviderId) (result ProviderPermissionsOperationResponse, err error)
- func (c ProvidersClient) ProviderResourceTypesList(ctx context.Context, id SubscriptionProviderId, ...) (result ProviderResourceTypesListOperationResponse, err error)
- func (c ProvidersClient) Register(ctx context.Context, id SubscriptionProviderId, ...) (result RegisterOperationResponse, err error)
- func (c ProvidersClient) RegisterAtManagementGroupScope(ctx context.Context, id Providers2Id) (result RegisterAtManagementGroupScopeOperationResponse, err error)
- func (c ProvidersClient) Unregister(ctx context.Context, id SubscriptionProviderId) (result UnregisterOperationResponse, err error)
- type RegisterAtManagementGroupScopeOperationResponse
- type RegisterOperationResponse
- type RoleDefinition
- type SubscriptionProviderId
- type UnregisterOperationResponse
- type ZoneMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAliasPathAttributes ¶
func PossibleValuesForAliasPathAttributes() []string
func PossibleValuesForAliasPathTokenType ¶
func PossibleValuesForAliasPathTokenType() []string
func PossibleValuesForAliasPatternType ¶
func PossibleValuesForAliasPatternType() []string
func PossibleValuesForAliasType ¶
func PossibleValuesForAliasType() []string
func PossibleValuesForProviderAuthorizationConsentState ¶
func PossibleValuesForProviderAuthorizationConsentState() []string
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
func ValidateProviders2ID ¶
ValidateProviders2ID checks that 'input' can be parsed as a Providers 2 ID
func ValidateSubscriptionProviderID ¶
func ValidateSubscriptionProviderID(input interface{}, key string) (warnings []string, errors []error)
ValidateSubscriptionProviderID checks that 'input' can be parsed as a Subscription Provider ID
Types ¶
type Alias ¶
type Alias struct { DefaultMetadata *AliasPathMetadata `json:"defaultMetadata,omitempty"` DefaultPath *string `json:"defaultPath,omitempty"` DefaultPattern *AliasPattern `json:"defaultPattern,omitempty"` Name *string `json:"name,omitempty"` Paths *[]AliasPath `json:"paths,omitempty"` Type *AliasType `json:"type,omitempty"` }
type AliasPath ¶
type AliasPath struct { ApiVersions *[]string `json:"apiVersions,omitempty"` Metadata *AliasPathMetadata `json:"metadata,omitempty"` Path *string `json:"path,omitempty"` Pattern *AliasPattern `json:"pattern,omitempty"` }
type AliasPathAttributes ¶
type AliasPathAttributes string
const ( AliasPathAttributesModifiable AliasPathAttributes = "Modifiable" AliasPathAttributesNone AliasPathAttributes = "None" )
func (*AliasPathAttributes) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *AliasPathAttributes) UnmarshalJSON(bytes []byte) error
type AliasPathMetadata ¶
type AliasPathMetadata struct { Attributes *AliasPathAttributes `json:"attributes,omitempty"` Type *AliasPathTokenType `json:"type,omitempty"` }
type AliasPathTokenType ¶
type AliasPathTokenType string
const ( AliasPathTokenTypeAny AliasPathTokenType = "Any" AliasPathTokenTypeArray AliasPathTokenType = "Array" AliasPathTokenTypeBoolean AliasPathTokenType = "Boolean" AliasPathTokenTypeInteger AliasPathTokenType = "Integer" AliasPathTokenTypeNotSpecified AliasPathTokenType = "NotSpecified" AliasPathTokenTypeNumber AliasPathTokenType = "Number" AliasPathTokenTypeObject AliasPathTokenType = "Object" AliasPathTokenTypeString AliasPathTokenType = "String" )
func (*AliasPathTokenType) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *AliasPathTokenType) UnmarshalJSON(bytes []byte) error
type AliasPattern ¶
type AliasPattern struct { Phrase *string `json:"phrase,omitempty"` Type *AliasPatternType `json:"type,omitempty"` Variable *string `json:"variable,omitempty"` }
type AliasPatternType ¶
type AliasPatternType string
const ( AliasPatternTypeExtract AliasPatternType = "Extract" AliasPatternTypeNotSpecified AliasPatternType = "NotSpecified" )
func (*AliasPatternType) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *AliasPatternType) UnmarshalJSON(bytes []byte) error
type AliasType ¶
type AliasType string
func (*AliasType) UnmarshalJSON ¶ added in v0.20230509.1154719
type ApiProfile ¶
type GetAtTenantScopeOperationOptions ¶
type GetAtTenantScopeOperationOptions struct {
Expand *string
}
func DefaultGetAtTenantScopeOperationOptions ¶
func DefaultGetAtTenantScopeOperationOptions() GetAtTenantScopeOperationOptions
func (GetAtTenantScopeOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o GetAtTenantScopeOperationOptions) ToHeaders() *client.Headers
func (GetAtTenantScopeOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o GetAtTenantScopeOperationOptions) ToOData() *odata.Query
func (GetAtTenantScopeOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o GetAtTenantScopeOperationOptions) ToQuery() *client.QueryParams
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ListAtTenantScopeCompleteResult ¶
type ListAtTenantScopeCompleteResult struct {
Items []Provider
}
type ListAtTenantScopeOperationOptions ¶
type ListAtTenantScopeOperationOptions struct {
Expand *string
}
func DefaultListAtTenantScopeOperationOptions ¶
func DefaultListAtTenantScopeOperationOptions() ListAtTenantScopeOperationOptions
func (ListAtTenantScopeOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListAtTenantScopeOperationOptions) ToHeaders() *client.Headers
func (ListAtTenantScopeOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListAtTenantScopeOperationOptions) ToOData() *odata.Query
func (ListAtTenantScopeOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListAtTenantScopeOperationOptions) ToQuery() *client.QueryParams
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Provider
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type Permission ¶
type Provider ¶
type Provider struct { Id *string `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` ProviderAuthorizationConsentState *ProviderAuthorizationConsentState `json:"providerAuthorizationConsentState,omitempty"` RegistrationPolicy *string `json:"registrationPolicy,omitempty"` RegistrationState *string `json:"registrationState,omitempty"` ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"` }
type ProviderAuthorizationConsentState ¶
type ProviderAuthorizationConsentState string
const ( ProviderAuthorizationConsentStateConsented ProviderAuthorizationConsentState = "Consented" ProviderAuthorizationConsentStateNotRequired ProviderAuthorizationConsentState = "NotRequired" ProviderAuthorizationConsentStateNotSpecified ProviderAuthorizationConsentState = "NotSpecified" ProviderAuthorizationConsentStateRequired ProviderAuthorizationConsentState = "Required" )
func (*ProviderAuthorizationConsentState) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *ProviderAuthorizationConsentState) UnmarshalJSON(bytes []byte) error
type ProviderConsentDefinition ¶
type ProviderConsentDefinition struct {
ConsentToAuthorization *bool `json:"consentToAuthorization,omitempty"`
}
type ProviderId ¶
type ProviderId struct {
ProviderName string
}
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(providerName string) ProviderId
NewProviderID returns a new ProviderId struct
func ParseProviderID ¶
func ParseProviderID(input string) (*ProviderId, error)
ParseProviderID parses 'input' into a ProviderId
func ParseProviderIDInsensitively ¶
func ParseProviderIDInsensitively(input string) (*ProviderId, error)
ParseProviderIDInsensitively parses 'input' case-insensitively into a ProviderId note: this method should only be used for API response data and not user input
func (ProviderId) Segments ¶
func (id ProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider ID
func (ProviderId) String ¶
func (id ProviderId) String() string
String returns a human-readable description of this Provider ID
type ProviderOperationPredicate ¶
type ProviderOperationPredicate struct { Id *string Namespace *string RegistrationPolicy *string RegistrationState *string }
func (ProviderOperationPredicate) Matches ¶
func (p ProviderOperationPredicate) Matches(input Provider) bool
type ProviderPermission ¶
type ProviderPermission struct { ApplicationId *string `json:"applicationId,omitempty"` ManagedByRoleDefinition *RoleDefinition `json:"managedByRoleDefinition,omitempty"` ProviderAuthorizationConsentState *ProviderAuthorizationConsentState `json:"providerAuthorizationConsentState,omitempty"` RoleDefinition *RoleDefinition `json:"roleDefinition,omitempty"` }
type ProviderPermissionListResult ¶
type ProviderPermissionListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]ProviderPermission `json:"value,omitempty"` }
type ProviderPermissionsOperationResponse ¶
type ProviderPermissionsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProviderPermissionListResult }
type ProviderRegistrationRequest ¶
type ProviderRegistrationRequest struct {
ThirdPartyProviderConsent *ProviderConsentDefinition `json:"thirdPartyProviderConsent,omitempty"`
}
type ProviderResourceType ¶
type ProviderResourceType struct { Aliases *[]Alias `json:"aliases,omitempty"` ApiProfiles *[]ApiProfile `json:"apiProfiles,omitempty"` ApiVersions *[]string `json:"apiVersions,omitempty"` Capabilities *string `json:"capabilities,omitempty"` DefaultApiVersion *string `json:"defaultApiVersion,omitempty"` LocationMappings *[]ProviderExtendedLocation `json:"locationMappings,omitempty"` Locations *[]string `json:"locations,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ResourceType *string `json:"resourceType,omitempty"` ZoneMappings *[]ZoneMapping `json:"zoneMappings,omitempty"` }
type ProviderResourceTypeListResult ¶
type ProviderResourceTypeListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]ProviderResourceType `json:"value,omitempty"` }
type ProviderResourceTypesListOperationOptions ¶
type ProviderResourceTypesListOperationOptions struct {
Expand *string
}
func DefaultProviderResourceTypesListOperationOptions ¶
func DefaultProviderResourceTypesListOperationOptions() ProviderResourceTypesListOperationOptions
func (ProviderResourceTypesListOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ProviderResourceTypesListOperationOptions) ToHeaders() *client.Headers
func (ProviderResourceTypesListOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ProviderResourceTypesListOperationOptions) ToOData() *odata.Query
func (ProviderResourceTypesListOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ProviderResourceTypesListOperationOptions) ToQuery() *client.QueryParams
type ProviderResourceTypesListOperationResponse ¶
type ProviderResourceTypesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProviderResourceTypeListResult }
type Providers2Id ¶
Providers2Id is a struct representing the Resource ID for a Providers 2
func NewProviders2ID ¶
func NewProviders2ID(groupId string, providerName string) Providers2Id
NewProviders2ID returns a new Providers2Id struct
func ParseProviders2ID ¶
func ParseProviders2ID(input string) (*Providers2Id, error)
ParseProviders2ID parses 'input' into a Providers2Id
func ParseProviders2IDInsensitively ¶
func ParseProviders2IDInsensitively(input string) (*Providers2Id, error)
ParseProviders2IDInsensitively parses 'input' case-insensitively into a Providers2Id note: this method should only be used for API response data and not user input
func (Providers2Id) Segments ¶
func (id Providers2Id) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 ID
func (Providers2Id) String ¶
func (id Providers2Id) String() string
String returns a human-readable description of this Providers 2 ID
type ProvidersClient ¶
type ProvidersClient struct {
Client *resourcemanager.Client
}
func NewProvidersClientWithBaseURI ¶
func NewProvidersClientWithBaseURI(api environments.Api) (*ProvidersClient, error)
func (ProvidersClient) Get ¶
func (c ProvidersClient) Get(ctx context.Context, id SubscriptionProviderId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ProvidersClient) GetAtTenantScope ¶
func (c ProvidersClient) GetAtTenantScope(ctx context.Context, id ProviderId, options GetAtTenantScopeOperationOptions) (result GetAtTenantScopeOperationResponse, err error)
GetAtTenantScope ...
func (ProvidersClient) List ¶
func (c ProvidersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ProvidersClient) ListAtTenantScope ¶
func (c ProvidersClient) ListAtTenantScope(ctx context.Context, options ListAtTenantScopeOperationOptions) (result ListAtTenantScopeOperationResponse, err error)
ListAtTenantScope ...
func (ProvidersClient) ListAtTenantScopeComplete ¶
func (c ProvidersClient) ListAtTenantScopeComplete(ctx context.Context, options ListAtTenantScopeOperationOptions) (ListAtTenantScopeCompleteResult, error)
ListAtTenantScopeComplete retrieves all the results into a single object
func (ProvidersClient) ListAtTenantScopeCompleteMatchingPredicate ¶
func (c ProvidersClient) ListAtTenantScopeCompleteMatchingPredicate(ctx context.Context, options ListAtTenantScopeOperationOptions, predicate ProviderOperationPredicate) (result ListAtTenantScopeCompleteResult, err error)
ListAtTenantScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProvidersClient) ListComplete ¶
func (c ProvidersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProvidersClient) ListCompleteMatchingPredicate ¶
func (c ProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ProviderOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProvidersClient) ProviderPermissions ¶
func (c ProvidersClient) ProviderPermissions(ctx context.Context, id SubscriptionProviderId) (result ProviderPermissionsOperationResponse, err error)
ProviderPermissions ...
func (ProvidersClient) ProviderResourceTypesList ¶
func (c ProvidersClient) ProviderResourceTypesList(ctx context.Context, id SubscriptionProviderId, options ProviderResourceTypesListOperationOptions) (result ProviderResourceTypesListOperationResponse, err error)
ProviderResourceTypesList ...
func (ProvidersClient) Register ¶
func (c ProvidersClient) Register(ctx context.Context, id SubscriptionProviderId, input ProviderRegistrationRequest) (result RegisterOperationResponse, err error)
Register ...
func (ProvidersClient) RegisterAtManagementGroupScope ¶
func (c ProvidersClient) RegisterAtManagementGroupScope(ctx context.Context, id Providers2Id) (result RegisterAtManagementGroupScopeOperationResponse, err error)
RegisterAtManagementGroupScope ...
func (ProvidersClient) Unregister ¶
func (c ProvidersClient) Unregister(ctx context.Context, id SubscriptionProviderId) (result UnregisterOperationResponse, err error)
Unregister ...
type RoleDefinition ¶
type RoleDefinition struct { Id *string `json:"id,omitempty"` IsServiceRole *bool `json:"isServiceRole,omitempty"` Name *string `json:"name,omitempty"` Permissions *[]Permission `json:"permissions,omitempty"` Scopes *[]string `json:"scopes,omitempty"` }
type SubscriptionProviderId ¶
SubscriptionProviderId is a struct representing the Resource ID for a Subscription Provider
func NewSubscriptionProviderID ¶
func NewSubscriptionProviderID(subscriptionId string, providerName string) SubscriptionProviderId
NewSubscriptionProviderID returns a new SubscriptionProviderId struct
func ParseSubscriptionProviderID ¶
func ParseSubscriptionProviderID(input string) (*SubscriptionProviderId, error)
ParseSubscriptionProviderID parses 'input' into a SubscriptionProviderId
func ParseSubscriptionProviderIDInsensitively ¶
func ParseSubscriptionProviderIDInsensitively(input string) (*SubscriptionProviderId, error)
ParseSubscriptionProviderIDInsensitively parses 'input' case-insensitively into a SubscriptionProviderId note: this method should only be used for API response data and not user input
func (SubscriptionProviderId) ID ¶
func (id SubscriptionProviderId) ID() string
ID returns the formatted Subscription Provider ID
func (SubscriptionProviderId) Segments ¶
func (id SubscriptionProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription Provider ID
func (SubscriptionProviderId) String ¶
func (id SubscriptionProviderId) String() string
String returns a human-readable description of this Subscription Provider ID
type ZoneMapping ¶
Source Files ¶
- client.go
- constants.go
- id_provider.go
- id_providers2.go
- id_subscriptionprovider.go
- method_get.go
- method_getattenantscope.go
- method_list.go
- method_listattenantscope.go
- method_providerpermissions.go
- method_providerresourcetypeslist.go
- method_register.go
- method_registeratmanagementgroupscope.go
- method_unregister.go
- model_alias.go
- model_aliaspath.go
- model_aliaspathmetadata.go
- model_aliaspattern.go
- model_apiprofile.go
- model_permission.go
- model_provider.go
- model_providerconsentdefinition.go
- model_providerextendedlocation.go
- model_providerpermission.go
- model_providerpermissionlistresult.go
- model_providerregistrationrequest.go
- model_providerresourcetype.go
- model_providerresourcetypelistresult.go
- model_roledefinition.go
- model_zonemapping.go
- predicates.go
- version.go