Documentation ¶
Index ¶
- func PossibleValuesForManagedIdentityType() []string
- func ValidateServiceRunnerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IdentityProperties
- type ManagedIdentityType
- type ServiceRunner
- type ServiceRunnerId
- type ServiceRunnersClient
- func (c ServiceRunnersClient) CreateOrUpdate(ctx context.Context, id ServiceRunnerId, input ServiceRunner) (result CreateOrUpdateOperationResponse, err error)
- func (c ServiceRunnersClient) Delete(ctx context.Context, id ServiceRunnerId) (result DeleteOperationResponse, err error)
- func (c ServiceRunnersClient) Get(ctx context.Context, id ServiceRunnerId) (result GetOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagedIdentityType ¶
func PossibleValuesForManagedIdentityType() []string
func ValidateServiceRunnerID ¶
ValidateServiceRunnerID checks that 'input' can be parsed as a Service Runner ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServiceRunner }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServiceRunner }
type IdentityProperties ¶
type IdentityProperties struct { ClientSecretUrl *string `json:"clientSecretUrl,omitempty"` PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *ManagedIdentityType `json:"type,omitempty"` }
type ManagedIdentityType ¶
type ManagedIdentityType string
const ( ManagedIdentityTypeNone ManagedIdentityType = "None" ManagedIdentityTypeSystemAssigned ManagedIdentityType = "SystemAssigned" ManagedIdentityTypeSystemAssignedUserAssigned ManagedIdentityType = "SystemAssigned,UserAssigned" ManagedIdentityTypeUserAssigned ManagedIdentityType = "UserAssigned" )
func (*ManagedIdentityType) UnmarshalJSON ¶
func (s *ManagedIdentityType) UnmarshalJSON(bytes []byte) error
type ServiceRunner ¶
type ServiceRunnerId ¶
type ServiceRunnerId struct { SubscriptionId string ResourceGroupName string LabName string ServiceRunnerName string }
ServiceRunnerId is a struct representing the Resource ID for a Service Runner
func NewServiceRunnerID ¶
func NewServiceRunnerID(subscriptionId string, resourceGroupName string, labName string, serviceRunnerName string) ServiceRunnerId
NewServiceRunnerID returns a new ServiceRunnerId struct
func ParseServiceRunnerID ¶
func ParseServiceRunnerID(input string) (*ServiceRunnerId, error)
ParseServiceRunnerID parses 'input' into a ServiceRunnerId
func ParseServiceRunnerIDInsensitively ¶
func ParseServiceRunnerIDInsensitively(input string) (*ServiceRunnerId, error)
ParseServiceRunnerIDInsensitively parses 'input' case-insensitively into a ServiceRunnerId note: this method should only be used for API response data and not user input
func (*ServiceRunnerId) FromParseResult ¶
func (id *ServiceRunnerId) FromParseResult(input resourceids.ParseResult) error
func (ServiceRunnerId) ID ¶
func (id ServiceRunnerId) ID() string
ID returns the formatted Service Runner ID
func (ServiceRunnerId) Segments ¶
func (id ServiceRunnerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service Runner ID
func (ServiceRunnerId) String ¶
func (id ServiceRunnerId) String() string
String returns a human-readable description of this Service Runner ID
type ServiceRunnersClient ¶
type ServiceRunnersClient struct {
Client *resourcemanager.Client
}
func NewServiceRunnersClientWithBaseURI ¶
func NewServiceRunnersClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceRunnersClient, error)
func (ServiceRunnersClient) CreateOrUpdate ¶
func (c ServiceRunnersClient) CreateOrUpdate(ctx context.Context, id ServiceRunnerId, input ServiceRunner) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServiceRunnersClient) Delete ¶
func (c ServiceRunnersClient) Delete(ctx context.Context, id ServiceRunnerId) (result DeleteOperationResponse, err error)
Delete ...
func (ServiceRunnersClient) Get ¶
func (c ServiceRunnersClient) Get(ctx context.Context, id ServiceRunnerId) (result GetOperationResponse, err error)
Get ...