Documentation ¶
Index ¶
- type AvailableOperations
- type BotResponseList
- type BotsClient
- func (client *BotsClient) BeginCreate(ctx context.Context, resourceGroupName string, botName string, ...) (*runtime.Poller[BotsClientCreateResponse], error)
- func (client *BotsClient) BeginDelete(ctx context.Context, resourceGroupName string, botName string, ...) (*runtime.Poller[BotsClientDeleteResponse], error)
- func (client *BotsClient) Get(ctx context.Context, resourceGroupName string, botName string, ...) (BotsClientGetResponse, error)
- func (client *BotsClient) NewListByResourceGroupPager(resourceGroupName string, options *BotsClientListByResourceGroupOptions) *runtime.Pager[BotsClientListByResourceGroupResponse]
- func (client *BotsClient) NewListPager(options *BotsClientListOptions) *runtime.Pager[BotsClientListResponse]
- func (client *BotsClient) Update(ctx context.Context, resourceGroupName string, botName string, ...) (BotsClientUpdateResponse, error)
- type BotsClientBeginCreateOptions
- type BotsClientBeginDeleteOptions
- type BotsClientCreateResponse
- type BotsClientDeleteResponse
- type BotsClientGetOptions
- type BotsClientGetResponse
- type BotsClientListByResourceGroupOptions
- type BotsClientListByResourceGroupResponse
- type BotsClientListOptions
- type BotsClientListResponse
- type BotsClientUpdateOptions
- type BotsClientUpdateResponse
- type Error
- type ErrorAdditionalInfo
- type ErrorError
- type HealthBot
- type Identity
- type IdentityType
- type OperationDetail
- type OperationDisplay
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type Properties
- type Resource
- type ResourceIdentityType
- type SKU
- type SKUName
- type SystemData
- type TrackedResource
- type UpdateParameters
- type UserAssignedIdentity
- type ValidationResult
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableOperations ¶
type AvailableOperations struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of available operation details Value []*OperationDetail `json:"value,omitempty"` }
AvailableOperations - Available operations of the service
type BotResponseList ¶
type BotResponseList struct { // READ-ONLY; The link used to get the next page of bot service resources. NextLink *string `json:"nextLink,omitempty" azure:"ro"` // READ-ONLY; Gets the list of Azure Health Bot results and their properties. Value []*HealthBot `json:"value,omitempty" azure:"ro"` }
BotResponseList - The list of Azure Health Bot operation response.
type BotsClient ¶
type BotsClient struct {
// contains filtered or unexported fields
}
BotsClient contains the methods for the Bots group. Don't use this type directly, use NewBotsClient() instead.
func NewBotsClient ¶
func NewBotsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BotsClient, error)
NewBotsClient creates a new instance of BotsClient with the specified values. subscriptionID - Azure Subscription ID. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*BotsClient) BeginCreate ¶
func (client *BotsClient) BeginCreate(ctx context.Context, resourceGroupName string, botName string, parameters HealthBot, options *BotsClientBeginCreateOptions) (*runtime.Poller[BotsClientCreateResponse], error)
BeginCreate - Create a new Azure Health Bot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 resourceGroupName - The name of the Bot resource group in the user subscription. botName - The name of the Bot resource. parameters - The parameters to provide for the created Azure Health Bot. options - BotsClientBeginCreateOptions contains the optional parameters for the BotsClient.BeginCreate method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ResourceCreationPut.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subid", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := client.BeginCreate(ctx, "healthbotClient", "samplebotname", armhealthbot.HealthBot{ Location: to.Ptr("East US"), Identity: &armhealthbot.Identity{ Type: to.Ptr(armhealthbot.ResourceIdentityTypeSystemAssignedUserAssigned), UserAssignedIdentities: map[string]*armhealthbot.UserAssignedIdentity{ "/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi": {}, "/subscriptions/subscription-id/resourcegroups/myrg/providers/microsoft.managedidentity/userassignedidentities/my-mi2": {}, }, }, SKU: &armhealthbot.SKU{ Name: to.Ptr(armhealthbot.SKUNameF0), }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } res, err := poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } // TODO: use response item _ = res }
Output:
func (*BotsClient) BeginDelete ¶
func (client *BotsClient) BeginDelete(ctx context.Context, resourceGroupName string, botName string, options *BotsClientBeginDeleteOptions) (*runtime.Poller[BotsClientDeleteResponse], error)
BeginDelete - Delete a HealthBot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 resourceGroupName - The name of the Bot resource group in the user subscription. botName - The name of the Bot resource. options - BotsClientBeginDeleteOptions contains the optional parameters for the BotsClient.BeginDelete method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ResourceDeletionDelete.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subid", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := client.BeginDelete(ctx, "healthbotClient", "samplebotname", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } _, err = poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } }
Output:
func (*BotsClient) Get ¶
func (client *BotsClient) Get(ctx context.Context, resourceGroupName string, botName string, options *BotsClientGetOptions) (BotsClientGetResponse, error)
Get - Get a HealthBot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 resourceGroupName - The name of the Bot resource group in the user subscription. botName - The name of the Bot resource. options - BotsClientGetOptions contains the optional parameters for the BotsClient.Get method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ResourceInfoGet.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subid", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := client.Get(ctx, "healthbotClient", "samplebotname", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // TODO: use response item _ = res }
Output:
func (*BotsClient) NewListByResourceGroupPager ¶ added in v0.4.0
func (client *BotsClient) NewListByResourceGroupPager(resourceGroupName string, options *BotsClientListByResourceGroupOptions) *runtime.Pager[BotsClientListByResourceGroupResponse]
NewListByResourceGroupPager - Returns all the resources of a particular type belonging to a resource group If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 resourceGroupName - The name of the Bot resource group in the user subscription. options - BotsClientListByResourceGroupOptions contains the optional parameters for the BotsClient.ListByResourceGroup method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ListBotsByResourceGroup.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subscription-id", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := client.NewListByResourceGroupPager("OneResourceGroupName", nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
func (*BotsClient) NewListPager ¶ added in v0.4.0
func (client *BotsClient) NewListPager(options *BotsClientListOptions) *runtime.Pager[BotsClientListResponse]
NewListPager - Returns all the resources of a particular type belonging to a subscription. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 options - BotsClientListOptions contains the optional parameters for the BotsClient.List method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ListBotsBySubscription.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subscription-id", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := client.NewListPager(nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
func (*BotsClient) Update ¶
func (client *BotsClient) Update(ctx context.Context, resourceGroupName string, botName string, parameters UpdateParameters, options *BotsClientUpdateOptions) (BotsClientUpdateResponse, error)
Update - Patch a HealthBot. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 resourceGroupName - The name of the Bot resource group in the user subscription. botName - The name of the Bot resource. parameters - The parameters to provide for the required Azure Health Bot. options - BotsClientUpdateOptions contains the optional parameters for the BotsClient.Update method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/ResourceUpdatePatch.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewBotsClient("subid", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := client.Update(ctx, "healthbotClient", "samplebotname", armhealthbot.UpdateParameters{ SKU: &armhealthbot.SKU{ Name: to.Ptr(armhealthbot.SKUNameF0), }, }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // TODO: use response item _ = res }
Output:
type BotsClientBeginCreateOptions ¶ added in v0.2.0
type BotsClientBeginCreateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
BotsClientBeginCreateOptions contains the optional parameters for the BotsClient.BeginCreate method.
type BotsClientBeginDeleteOptions ¶ added in v0.2.0
type BotsClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
BotsClientBeginDeleteOptions contains the optional parameters for the BotsClient.BeginDelete method.
type BotsClientCreateResponse ¶ added in v0.2.0
type BotsClientCreateResponse struct {
HealthBot
}
BotsClientCreateResponse contains the response from method BotsClient.Create.
type BotsClientDeleteResponse ¶ added in v0.2.0
type BotsClientDeleteResponse struct { }
BotsClientDeleteResponse contains the response from method BotsClient.Delete.
type BotsClientGetOptions ¶ added in v0.2.0
type BotsClientGetOptions struct { }
BotsClientGetOptions contains the optional parameters for the BotsClient.Get method.
type BotsClientGetResponse ¶ added in v0.2.0
type BotsClientGetResponse struct {
HealthBot
}
BotsClientGetResponse contains the response from method BotsClient.Get.
type BotsClientListByResourceGroupOptions ¶ added in v0.2.0
type BotsClientListByResourceGroupOptions struct { }
BotsClientListByResourceGroupOptions contains the optional parameters for the BotsClient.ListByResourceGroup method.
type BotsClientListByResourceGroupResponse ¶ added in v0.2.0
type BotsClientListByResourceGroupResponse struct {
BotResponseList
}
BotsClientListByResourceGroupResponse contains the response from method BotsClient.ListByResourceGroup.
type BotsClientListOptions ¶ added in v0.2.0
type BotsClientListOptions struct { }
BotsClientListOptions contains the optional parameters for the BotsClient.List method.
type BotsClientListResponse ¶ added in v0.2.0
type BotsClientListResponse struct {
BotResponseList
}
BotsClientListResponse contains the response from method BotsClient.List.
type BotsClientUpdateOptions ¶ added in v0.2.0
type BotsClientUpdateOptions struct { }
BotsClientUpdateOptions contains the optional parameters for the BotsClient.Update method.
type BotsClientUpdateResponse ¶ added in v0.2.0
type BotsClientUpdateResponse struct {
HealthBot
}
BotsClientUpdateResponse contains the response from method BotsClient.Update.
type Error ¶
type Error struct { // The error object. Error *ErrorError `json:"error,omitempty"` }
Error - The resource management error response.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. Info interface{} `json:"info,omitempty" azure:"ro"` // READ-ONLY; The additional info type. Type *string `json:"type,omitempty" azure:"ro"` }
ErrorAdditionalInfo - The resource management error additional info.
type ErrorError ¶
type ErrorError struct { // READ-ONLY; The error additional info. AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` // READ-ONLY; The error code. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; The error details. Details []*Error `json:"details,omitempty" azure:"ro"` // READ-ONLY; The error message. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The error target. Target *string `json:"target,omitempty" azure:"ro"` }
ErrorError - The error object.
type HealthBot ¶
type HealthBot struct { // REQUIRED; The geo-location where the resource lives Location *string `json:"location,omitempty"` // REQUIRED; SKU of the Azure Health Bot. SKU *SKU `json:"sku,omitempty"` // The identity of the Azure Health Bot. Identity *Identity `json:"identity,omitempty"` // The set of properties specific to Azure Health Bot resource. Properties *Properties `json:"properties,omitempty"` // Resource tags. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Fully qualified resource Id for the resource. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
HealthBot - Azure Health Bot resource definition
func (HealthBot) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type HealthBot.
type Identity ¶
type Identity struct { // The identity type. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user // assigned identities. The type 'None' will remove any identities from the Azure // Health Bot Type *ResourceIdentityType `json:"type,omitempty"` // The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource // ids in the form: // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities,omitempty"` // READ-ONLY; The principal ID of resource identity. This property will only be provided for a system assigned identity. PrincipalID *string `json:"principalId,omitempty" azure:"ro"` // READ-ONLY; The tenant ID of resource. This property will only be provided for a system assigned identity. TenantID *string `json:"tenantId,omitempty" azure:"ro"` }
Identity for the resource.
func (Identity) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Identity.
type IdentityType ¶
type IdentityType string
IdentityType - The type of identity that creates/modifies resources
const ( IdentityTypeApplication IdentityType = "Application" IdentityTypeKey IdentityType = "Key" IdentityTypeManagedIdentity IdentityType = "ManagedIdentity" IdentityTypeUser IdentityType = "User" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns the possible values for the IdentityType const type.
type OperationDetail ¶
type OperationDetail struct { // Display of the operation Display *OperationDisplay `json:"display,omitempty"` // Indicates whether the operation is a data action IsDataAction *bool `json:"isDataAction,omitempty"` // Name of the operation Name *string `json:"name,omitempty"` // Origin of the operation Origin *string `json:"origin,omitempty"` // Additional properties. Properties interface{} `json:"properties,omitempty"` }
OperationDetail - Operation detail payload
type OperationDisplay ¶
type OperationDisplay struct { // Localized friendly description for the operation Description *string `json:"description,omitempty"` // Localized friendly name for the operation Operation *string `json:"operation,omitempty"` // Resource provider of the operation Provider *string `json:"provider,omitempty"` // Resource of the operation Resource *string `json:"resource,omitempty"` }
OperationDisplay - Operation display payload
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶ added in v0.4.0
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - Lists all the available Azure Health Bot operations. If the operation fails it returns an *azcore.ResponseError type. Generated from API version 2021-06-10 options - OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-06-10/examples/GetOperations.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() client, err := armhealthbot.NewOperationsClient(cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := client.NewListPager(nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
type OperationsClientListOptions ¶ added in v0.2.0
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
type OperationsClientListResponse ¶ added in v0.2.0
type OperationsClientListResponse struct {
AvailableOperations
}
OperationsClientListResponse contains the response from method OperationsClient.List.
type Properties ¶ added in v0.2.0
type Properties struct { // READ-ONLY; The link. BotManagementPortalLink *string `json:"botManagementPortalLink,omitempty" azure:"ro"` // READ-ONLY; The provisioning state of the Azure Health Bot resource. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` }
Properties - The properties of a Azure Health Bot. The Health Bot Service is a cloud platform that empowers developers in Healthcare organizations to build and deploy their compliant, AI-powered virtual health assistants and health bots, that help them improve processes and reduce costs.
type Resource ¶
type Resource struct { // READ-ONLY; Fully qualified resource Id for the resource. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
Resource - The resource model definition for a ARM tracked top level resource
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType - The identity type. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the Azure Health Bot
const ( ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" ResourceIdentityTypeNone ResourceIdentityType = "None" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.
type SKU ¶
type SKU struct { // REQUIRED; The name of the Azure Health Bot SKU Name *SKUName `json:"name,omitempty"` }
SKU - The resource model definition representing SKU
type SKUName ¶
type SKUName string
SKUName - The name of the Azure Health Bot SKU
func PossibleSKUNameValues ¶
func PossibleSKUNameValues() []SKUName
PossibleSKUNameValues returns the possible values for the SKUName const type.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC) CreatedAt *time.Time `json:"createdAt,omitempty"` // The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // The type of identity that created the resource CreatedByType *IdentityType `json:"createdByType,omitempty"` // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` // The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The type of identity that last modified the resource LastModifiedByType *IdentityType `json:"lastModifiedByType,omitempty"` }
SystemData - Read only system data
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type TrackedResource ¶
type TrackedResource struct { // REQUIRED; The geo-location where the resource lives Location *string `json:"location,omitempty"` // Resource tags. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Fully qualified resource Id for the resource. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
TrackedResource - The resource model definition for a ARM tracked top level resource
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
type UpdateParameters ¶ added in v0.2.0
type UpdateParameters struct { // The identity of the Azure Health Bot. Identity *Identity `json:"identity,omitempty"` Location *string `json:"location,omitempty"` // SKU of the Azure Health Bot. SKU *SKU `json:"sku,omitempty"` // Tags for a Azure Health Bot. Tags map[string]*string `json:"tags,omitempty"` }
UpdateParameters - Parameters for updating a Azure Health Bot.
func (UpdateParameters) MarshalJSON ¶ added in v0.2.0
func (u UpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UpdateParameters.
type UserAssignedIdentity ¶
type UserAssignedIdentity struct { // READ-ONLY; The client ID of user assigned identity. ClientID *string `json:"clientId,omitempty" azure:"ro"` // READ-ONLY; The principal ID of user assigned identity. PrincipalID *string `json:"principalId,omitempty" azure:"ro"` }
UserAssignedIdentity - The details of the user assigned managed identity used by the Video Analyzer resource.
type ValidationResult ¶
type ValidationResult struct { // The status code of the response validation. Status *string `json:"status,omitempty"` }
ValidationResult - The response returned from validation process