Documentation ¶
Index ¶
- Constants
- type CredRequestDefinition
- type CredentialsObject
- type CustomClaims
- type DelegatedResourceObject
- type ErrorResponse
- type ErrorResponseError
- type ManagedIdentityDataPlaneAPIClient
- func (client *ManagedIdentityDataPlaneAPIClient) Deleteidentity(ctx context.Context, ...) (ManagedIdentityDataPlaneAPIClientDeleteidentityResponse, error)
- func (client *ManagedIdentityDataPlaneAPIClient) Getcred(ctx context.Context, options *ManagedIdentityDataPlaneAPIClientGetcredOptions) (ManagedIdentityDataPlaneAPIClientGetcredResponse, error)
- func (client *ManagedIdentityDataPlaneAPIClient) Getcreds(ctx context.Context, credRequest CredRequestDefinition, ...) (ManagedIdentityDataPlaneAPIClientGetcredsResponse, error)
- func (client *ManagedIdentityDataPlaneAPIClient) Moveidentity(ctx context.Context, moveRequestBody MoveRequestBodyDefinition, ...) (ManagedIdentityDataPlaneAPIClientMoveidentityResponse, error)
- type ManagedIdentityDataPlaneAPIClientDeleteidentityOptions
- type ManagedIdentityDataPlaneAPIClientDeleteidentityResponse
- type ManagedIdentityDataPlaneAPIClientGetcredOptions
- type ManagedIdentityDataPlaneAPIClientGetcredResponse
- type ManagedIdentityDataPlaneAPIClientGetcredsOptions
- type ManagedIdentityDataPlaneAPIClientGetcredsResponse
- type ManagedIdentityDataPlaneAPIClientMoveidentityOptions
- type ManagedIdentityDataPlaneAPIClientMoveidentityResponse
- type MoveIdentityResponse
- type MoveRequestBodyDefinition
- type NestedCredentialsObject
Constants ¶
const ( IdentityURLKey contextKey = msiIdentityURLHeader // Cloud Environments AzurePublicCloud = "AZUREPUBLICCLOUD" AzureUSGovCloud = "AZUREUSGOVERNMENTCLOUD" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredRequestDefinition ¶
type CredRequestDefinition struct { CustomClaims *CustomClaims DelegatedResources []*string IdentityIDs []*string }
func (CredRequestDefinition) MarshalJSON ¶
func (c CredRequestDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CredRequestDefinition.
func (*CredRequestDefinition) UnmarshalJSON ¶
func (c *CredRequestDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CredRequestDefinition.
type CredentialsObject ¶
type CredentialsObject struct { AuthenticationEndpoint *string CannotRenewAfter *string ClientID *string ClientSecret *string ClientSecretURL *string CustomClaims *CustomClaims DelegatedResources []*DelegatedResourceObject DelegationURL *string ExplicitIdentities []*NestedCredentialsObject InternalID *string MtlsAuthenticationEndpoint *string NotAfter *string NotBefore *string ObjectID *string RenewAfter *string TenantID *string }
func (CredentialsObject) MarshalJSON ¶
func (c CredentialsObject) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CredentialsObject.
func (*CredentialsObject) UnmarshalJSON ¶
func (c *CredentialsObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CredentialsObject.
type CustomClaims ¶
func (CustomClaims) MarshalJSON ¶
func (c CustomClaims) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomClaims.
func (*CustomClaims) UnmarshalJSON ¶
func (c *CustomClaims) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomClaims.
type DelegatedResourceObject ¶
type DelegatedResourceObject struct { DelegationID *string DelegationURL *string ExplicitIdentities []*NestedCredentialsObject ImplicitIdentity *NestedCredentialsObject InternalID *string ResourceID *string }
func (DelegatedResourceObject) MarshalJSON ¶
func (d DelegatedResourceObject) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DelegatedResourceObject.
func (*DelegatedResourceObject) UnmarshalJSON ¶
func (d *DelegatedResourceObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DelegatedResourceObject.
type ErrorResponse ¶
type ErrorResponse struct {
Error *ErrorResponseError
}
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type ErrorResponseError ¶
func (ErrorResponseError) MarshalJSON ¶
func (e ErrorResponseError) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponseError.
func (*ErrorResponseError) UnmarshalJSON ¶
func (e *ErrorResponseError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponseError.
type ManagedIdentityDataPlaneAPIClient ¶
type ManagedIdentityDataPlaneAPIClient struct {
// contains filtered or unexported fields
}
ManagedIdentityDataPlaneAPIClient contains the methods for the ManagedIdentityDataPlaneAPI group. Don't use this type directly, use a constructor function instead.
func NewClient ¶
func NewClient(aud, cloud string, cred azcore.TokenCredential) (*ManagedIdentityDataPlaneAPIClient, error)
TODO - Add parameter to specify module name in azcore.NewClient() NewClient creates a new Managed Identity Dataplane API client
func (*ManagedIdentityDataPlaneAPIClient) Deleteidentity ¶
func (client *ManagedIdentityDataPlaneAPIClient) Deleteidentity(ctx context.Context, options *ManagedIdentityDataPlaneAPIClientDeleteidentityOptions) (ManagedIdentityDataPlaneAPIClientDeleteidentityResponse, error)
Deleteidentity - If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-01-01
- options - ManagedIdentityDataPlaneAPIClientDeleteidentityOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Deleteidentity method.
func (*ManagedIdentityDataPlaneAPIClient) Getcred ¶
func (client *ManagedIdentityDataPlaneAPIClient) Getcred(ctx context.Context, options *ManagedIdentityDataPlaneAPIClientGetcredOptions) (ManagedIdentityDataPlaneAPIClientGetcredResponse, error)
Getcred - If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-01-01
- options - ManagedIdentityDataPlaneAPIClientGetcredOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Getcred method.
func (*ManagedIdentityDataPlaneAPIClient) Getcreds ¶
func (client *ManagedIdentityDataPlaneAPIClient) Getcreds(ctx context.Context, credRequest CredRequestDefinition, options *ManagedIdentityDataPlaneAPIClientGetcredsOptions) (ManagedIdentityDataPlaneAPIClientGetcredsResponse, error)
Getcreds - If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-01-01
- options - ManagedIdentityDataPlaneAPIClientGetcredsOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Getcreds method.
func (*ManagedIdentityDataPlaneAPIClient) Moveidentity ¶
func (client *ManagedIdentityDataPlaneAPIClient) Moveidentity(ctx context.Context, moveRequestBody MoveRequestBodyDefinition, options *ManagedIdentityDataPlaneAPIClientMoveidentityOptions) (ManagedIdentityDataPlaneAPIClientMoveidentityResponse, error)
Moveidentity - If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-01-01
- options - ManagedIdentityDataPlaneAPIClientMoveidentityOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Moveidentity method.
type ManagedIdentityDataPlaneAPIClientDeleteidentityOptions ¶
type ManagedIdentityDataPlaneAPIClientDeleteidentityOptions struct { }
ManagedIdentityDataPlaneAPIClientDeleteidentityOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Deleteidentity method.
type ManagedIdentityDataPlaneAPIClientDeleteidentityResponse ¶
type ManagedIdentityDataPlaneAPIClientDeleteidentityResponse struct { }
ManagedIdentityDataPlaneAPIClientDeleteidentityResponse contains the response from method ManagedIdentityDataPlaneAPIClient.Deleteidentity.
type ManagedIdentityDataPlaneAPIClientGetcredOptions ¶
type ManagedIdentityDataPlaneAPIClientGetcredOptions struct { }
ManagedIdentityDataPlaneAPIClientGetcredOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Getcred method.
type ManagedIdentityDataPlaneAPIClientGetcredResponse ¶
type ManagedIdentityDataPlaneAPIClientGetcredResponse struct {
CredentialsObject
}
ManagedIdentityDataPlaneAPIClientGetcredResponse contains the response from method ManagedIdentityDataPlaneAPIClient.Getcred.
type ManagedIdentityDataPlaneAPIClientGetcredsOptions ¶
type ManagedIdentityDataPlaneAPIClientGetcredsOptions struct { }
ManagedIdentityDataPlaneAPIClientGetcredsOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Getcreds method.
type ManagedIdentityDataPlaneAPIClientGetcredsResponse ¶
type ManagedIdentityDataPlaneAPIClientGetcredsResponse struct {
CredentialsObject
}
ManagedIdentityDataPlaneAPIClientGetcredsResponse contains the response from method ManagedIdentityDataPlaneAPIClient.Getcreds.
type ManagedIdentityDataPlaneAPIClientMoveidentityOptions ¶
type ManagedIdentityDataPlaneAPIClientMoveidentityOptions struct { }
ManagedIdentityDataPlaneAPIClientMoveidentityOptions contains the optional parameters for the ManagedIdentityDataPlaneAPIClient.Moveidentity method.
type ManagedIdentityDataPlaneAPIClientMoveidentityResponse ¶
type ManagedIdentityDataPlaneAPIClientMoveidentityResponse struct {
MoveIdentityResponse
}
ManagedIdentityDataPlaneAPIClientMoveidentityResponse contains the response from method ManagedIdentityDataPlaneAPIClient.Moveidentity.
type MoveIdentityResponse ¶
type MoveIdentityResponse struct {
IdentityURL *string
}
func (MoveIdentityResponse) MarshalJSON ¶
func (m MoveIdentityResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MoveIdentityResponse.
func (*MoveIdentityResponse) UnmarshalJSON ¶
func (m *MoveIdentityResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MoveIdentityResponse.
type MoveRequestBodyDefinition ¶
type MoveRequestBodyDefinition struct {
TargetResourceID *string
}
func (MoveRequestBodyDefinition) MarshalJSON ¶
func (m MoveRequestBodyDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MoveRequestBodyDefinition.
func (*MoveRequestBodyDefinition) UnmarshalJSON ¶
func (m *MoveRequestBodyDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MoveRequestBodyDefinition.
type NestedCredentialsObject ¶
type NestedCredentialsObject struct { AuthenticationEndpoint *string CannotRenewAfter *string ClientID *string ClientSecret *string ClientSecretURL *string CustomClaims *CustomClaims MtlsAuthenticationEndpoint *string NotAfter *string NotBefore *string ObjectID *string RenewAfter *string ResourceID *string TenantID *string }
func (NestedCredentialsObject) MarshalJSON ¶
func (n NestedCredentialsObject) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NestedCredentialsObject.
func (*NestedCredentialsObject) UnmarshalJSON ¶
func (n *NestedCredentialsObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NestedCredentialsObject.