From 7897da70df6d5b2df452a7ed1ead7c3aad48ae92 Mon Sep 17 00:00:00 2001 From: Peng Jiahui <46921893+Alancere@users.noreply.github.com> Date: Fri, 14 Apr 2023 11:14:27 +0800 Subject: [PATCH] Release refresh all package 1681364069 (#20624) * [Release] sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/hybridnetwork/armhybridnetwork/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/iotcentral/armiotcentral/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/iothub/armiothub/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/iotsecurity/armiotsecurity/0.6.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/kusto/armkusto/1.3.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/labservices/armlabservices/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/logic/armlogic/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * [Release] sdk/resourcemanager/logz/armlogz/1.1.1 generation from spec commit: 06f8de1dc4c49c4bc683583faf1723cdf12dd728 * update changelog --- .../armhybridkubernetes/CHANGELOG.md | 6 + .../armhybridkubernetes/autorest.md | 2 +- .../armhybridkubernetes/constants.go | 2 +- .../armhybridkubernetes/models.go | 134 +- .../armhybridkubernetes/models_serde.go | 14 +- .../armhybridnetwork/CHANGELOG.md | 6 + .../armhybridnetwork/autorest.md | 2 +- .../armhybridnetwork/constants.go | 2 +- .../hybridnetwork/armhybridnetwork/models.go | 396 ++-- .../armhybridnetwork/models_serde.go | 32 +- .../iotcentral/armiotcentral/CHANGELOG.md | 6 + .../iotcentral/armiotcentral/autorest.md | 2 +- .../iotcentral/armiotcentral/constants.go | 2 +- .../iotcentral/armiotcentral/models.go | 118 +- .../iotcentral/armiotcentral/models_serde.go | 12 +- .../iothub/armiothub/CHANGELOG.md | 6 + .../iothub/armiothub/autorest.md | 2 +- .../iothub/armiothub/constants.go | 2 +- .../iothub/armiothub/models.go | 626 ++--- .../iothub/armiothub/models_serde.go | 16 +- .../iotsecurity/armiotsecurity/CHANGELOG.md | 6 + .../iotsecurity/armiotsecurity/autorest.md | 2 +- .../iotsecurity/armiotsecurity/constants.go | 2 +- .../iotsecurity/armiotsecurity/models.go | 466 ++-- .../armiotsecurity/models_serde.go | 24 +- .../armkubernetesconfiguration/CHANGELOG.md | 6 + .../armkubernetesconfiguration/autorest.md | 2 +- .../armkubernetesconfiguration/constants.go | 2 +- .../armkubernetesconfiguration/models.go | 408 ++-- .../models_serde.go | 12 +- .../kusto/armkusto/CHANGELOG.md | 6 + .../kusto/armkusto/autorest.md | 2 +- .../kusto/armkusto/constants.go | 2 +- sdk/resourcemanager/kusto/armkusto/models.go | 750 +++--- .../kusto/armkusto/models_serde.go | 12 +- .../labservices/armlabservices/CHANGELOG.md | 6 + .../labservices/armlabservices/autorest.md | 2 +- .../labservices/armlabservices/constants.go | 2 +- .../labservices/armlabservices/models.go | 552 ++--- .../armlabservices/models_serde.go | 12 +- .../logic/armlogic/CHANGELOG.md | 6 + .../logic/armlogic/autorest.md | 2 +- .../logic/armlogic/constants.go | 2 +- sdk/resourcemanager/logic/armlogic/models.go | 2056 ++++++++--------- .../logic/armlogic/models_serde.go | 106 +- sdk/resourcemanager/logz/armlogz/CHANGELOG.md | 6 + sdk/resourcemanager/logz/armlogz/autorest.md | 2 +- sdk/resourcemanager/logz/armlogz/constants.go | 2 +- sdk/resourcemanager/logz/armlogz/models.go | 216 +- .../logz/armlogz/models_serde.go | 12 +- 50 files changed, 3117 insertions(+), 2957 deletions(-) diff --git a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/CHANGELOG.md b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/CHANGELOG.md index 26e270c17365..1ac19f24b4ac 100644 --- a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/CHANGELOG.md +++ b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/autorest.md b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/autorest.md index 8bafccce111f..61b660641576 100644 --- a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/autorest.md +++ b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/hybridkubernetes/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/hybridkubernetes/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/constants.go b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/constants.go index d35b86b8f461..90d5fbc8f608 100644 --- a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/constants.go +++ b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/constants.go @@ -11,7 +11,7 @@ package armhybridkubernetes const ( moduleName = "armhybridkubernetes" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // AuthenticationMethod - The mode of client authentication. diff --git a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models.go b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models.go index 87b459a32969..6c4150589f78 100644 --- a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models.go +++ b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models.go @@ -14,28 +14,28 @@ import "time" // ConnectedCluster - Represents a connected cluster. type ConnectedCluster struct { // REQUIRED; The identity of the connected cluster. - Identity *ConnectedClusterIdentity `json:"identity,omitempty"` + Identity *ConnectedClusterIdentity // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Describes the connected cluster resource properties. - Properties *ConnectedClusterProperties `json:"properties,omitempty"` + Properties *ConnectedClusterProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ConnectedClusterClientBeginCreateOptions contains the optional parameters for the ConnectedClusterClient.BeginCreate method. @@ -82,179 +82,179 @@ type ConnectedClusterClientUpdateOptions struct { type ConnectedClusterIdentity struct { // REQUIRED; The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. // The type 'None' means no identity is assigned to the connected cluster. - Type *ResourceIdentityType `json:"type,omitempty"` + Type *ResourceIdentityType // READ-ONLY; The principal id of connected cluster identity. This property will only be provided for a system assigned identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant id associated with the connected cluster. This property will only be provided for a system assigned // identity. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // ConnectedClusterList - The paginated list of connected Clusters type ConnectedClusterList struct { // The link to fetch the next page of connected cluster - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of connected clusters - Value []*ConnectedCluster `json:"value,omitempty"` + Value []*ConnectedCluster } // ConnectedClusterPatch - Object containing updates for patch operations. type ConnectedClusterPatch struct { // Describes the connected cluster resource properties that can be updated during PATCH operation. - Properties any `json:"properties,omitempty"` + Properties any // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ConnectedClusterProperties - Properties of the connected cluster. type ConnectedClusterProperties struct { // REQUIRED; Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. - AgentPublicKeyCertificate *string `json:"agentPublicKeyCertificate,omitempty"` + AgentPublicKeyCertificate *string // The Kubernetes distribution running on this connected cluster. - Distribution *string `json:"distribution,omitempty"` + Distribution *string // The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. - Infrastructure *string `json:"infrastructure,omitempty"` + Infrastructure *string // Provisioning state of the connected cluster resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *ProvisioningState // READ-ONLY; Version of the agent running on the connected cluster resource - AgentVersion *string `json:"agentVersion,omitempty" azure:"ro"` + AgentVersion *string // READ-ONLY; Represents the connectivity status of the connected cluster. - ConnectivityStatus *ConnectivityStatus `json:"connectivityStatus,omitempty" azure:"ro"` + ConnectivityStatus *ConnectivityStatus // READ-ONLY; The Kubernetes version of the connected cluster resource - KubernetesVersion *string `json:"kubernetesVersion,omitempty" azure:"ro"` + KubernetesVersion *string // READ-ONLY; Time representing the last instance when heart beat was received from the cluster - LastConnectivityTime *time.Time `json:"lastConnectivityTime,omitempty" azure:"ro"` + LastConnectivityTime *time.Time // READ-ONLY; Expiration time of the managed identity certificate - ManagedIdentityCertificateExpirationTime *time.Time `json:"managedIdentityCertificateExpirationTime,omitempty" azure:"ro"` + ManagedIdentityCertificateExpirationTime *time.Time // READ-ONLY; Connected cluster offering - Offering *string `json:"offering,omitempty" azure:"ro"` + Offering *string // READ-ONLY; Number of CPU cores present in the connected cluster resource - TotalCoreCount *int32 `json:"totalCoreCount,omitempty" azure:"ro"` + TotalCoreCount *int32 // READ-ONLY; Number of nodes present in the connected cluster resource - TotalNodeCount *int32 `json:"totalNodeCount,omitempty" azure:"ro"` + TotalNodeCount *int32 } // CredentialResult - The credential result response. type CredentialResult struct { // READ-ONLY; The name of the credential. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Base64-encoded Kubernetes configuration file. - Value []byte `json:"value,omitempty" azure:"ro"` + Value []byte } // CredentialResults - The list of credential result response. type CredentialResults struct { // READ-ONLY; Contains the REP (rendezvous endpoint) and “Sender” access token. - HybridConnectionConfig *HybridConnectionConfig `json:"hybridConnectionConfig,omitempty" azure:"ro"` + HybridConnectionConfig *HybridConnectionConfig // READ-ONLY; Base64-encoded Kubernetes configuration file. - Kubeconfigs []*CredentialResult `json:"kubeconfigs,omitempty" azure:"ro"` + Kubeconfigs []*CredentialResult } // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // HybridConnectionConfig - Contains the REP (rendezvous endpoint) and “Sender” access token. type HybridConnectionConfig struct { // READ-ONLY; Timestamp when this token will be expired. - ExpirationTime *int64 `json:"expirationTime,omitempty" azure:"ro"` + ExpirationTime *int64 // READ-ONLY; Name of the connection - HybridConnectionName *string `json:"hybridConnectionName,omitempty" azure:"ro"` + HybridConnectionName *string // READ-ONLY; Name of the relay. - Relay *string `json:"relay,omitempty" azure:"ro"` + Relay *string // READ-ONLY; Sender access token - Token *string `json:"token,omitempty" azure:"ro"` + Token *string } type ListClusterUserCredentialProperties struct { // REQUIRED; The mode of client authentication. - AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"` + AuthenticationMethod *AuthenticationMethod // REQUIRED; Boolean value to indicate whether the request is for client side proxy or not - ClientProxy *bool `json:"clientProxy,omitempty"` + ClientProxy *bool } // Operation - The Connected cluster API operation type Operation struct { // READ-ONLY; The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty" azure:"ro"` + Display *OperationDisplay // READ-ONLY; Operation name: {Microsoft.Kubernetes}/{resource}/{operation} - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // Description of the operation. - Description *string `json:"description,omitempty"` + Description *string // Operation type: Read, write, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft.connectedClusters - Provider *string `json:"provider,omitempty"` + Provider *string // Connected Cluster Resource on which the operation is performed - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationList - The paginated list of connected cluster API operations. type OperationList struct { // The link to fetch the next page of connected cluster API operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // READ-ONLY; The list of connected cluster API operations. - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationsClientGetOptions contains the optional parameters for the OperationsClient.NewGetPager method. @@ -265,51 +265,51 @@ type OperationsClientGetOptions struct { // Resource - Common fields that are returned in the response for all Azure Resource Manager resources type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource modification (UTC). - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *LastModifiedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *LastModifiedByType } // TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' // and a 'location' type TrackedResource struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } diff --git a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models_serde.go b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models_serde.go index 59fc8a50fb0b..903167932cac 100644 --- a/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models_serde.go +++ b/sdk/resourcemanager/hybridkubernetes/armhybridkubernetes/models_serde.go @@ -141,7 +141,7 @@ func (c *ConnectedClusterList) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ConnectedClusterPatch. func (c ConnectedClusterPatch) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "properties", &c.Properties) + populateAny(objectMap, "properties", c.Properties) populate(objectMap, "tags", c.Tags) return json.Marshal(objectMap) } @@ -305,7 +305,7 @@ func (c *CredentialResults) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -709,6 +709,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func populateByteArray(m map[string]any, k string, b []byte, f runtime.Base64Encoding) { if azcore.IsNullValue(b) { m[k] = nil diff --git a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/CHANGELOG.md b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/CHANGELOG.md index da1a3d7325a5..719044fdabec 100644 --- a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/CHANGELOG.md +++ b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-04-06) ### Features Added diff --git a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/autorest.md b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/autorest.md index 3091494e225b..c6dc76027d79 100644 --- a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/autorest.md +++ b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/hybridnetwork/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/hybridnetwork/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 tag: package-2021-05-01 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/constants.go b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/constants.go index aff20f09e079..12fa3a09d204 100644 --- a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/constants.go +++ b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/constants.go @@ -11,7 +11,7 @@ package armhybridnetwork const ( moduleName = "armhybridnetwork" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // CreatedByType - The type of identity that created the resource. diff --git a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models.go b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models.go index b1f7f31689a4..5c8fbb70a08d 100644 --- a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models.go +++ b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models.go @@ -14,19 +14,19 @@ import "time" // AzureStackEdgeFormat - The reference to the Azure stack edge device. type AzureStackEdgeFormat struct { // REQUIRED; The reference to the Azure stack edge device. - AzureStackEdge *SubResource `json:"azureStackEdge,omitempty"` + AzureStackEdge *SubResource // REQUIRED; The type of the device. - DeviceType *DeviceType `json:"deviceType,omitempty"` + DeviceType *DeviceType // READ-ONLY; The list of network functions deployed on the device. - NetworkFunctions []*SubResource `json:"networkFunctions,omitempty" azure:"ro"` + NetworkFunctions []*SubResource // READ-ONLY; The provisioning state of the device resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The current device status. - Status *Status `json:"status,omitempty" azure:"ro"` + Status *Status } // GetDevicePropertiesFormat implements the DevicePropertiesFormatClassification interface for type AzureStackEdgeFormat. @@ -42,7 +42,7 @@ func (a *AzureStackEdgeFormat) GetDevicePropertiesFormat() *DevicePropertiesForm // CustomProfile - Specifies the custom settings for the virtual machine. type CustomProfile struct { // Path for metadata configuration. - MetadataConfigurationPath *string `json:"metadataConfigurationPath,omitempty"` + MetadataConfigurationPath *string } // DataDisk - Specifies information about the operating system disk used by the virtual machine. @@ -50,47 +50,47 @@ type CustomProfile struct { // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json]. type DataDisk struct { // Specifies how the virtual machine should be created. - CreateOption *DiskCreateOptionTypes `json:"createOption,omitempty"` + CreateOption *DiskCreateOptionTypes // Specifies the size of an empty disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual // machine image. - DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` + DiskSizeGB *int32 // The name of data disk. - Name *string `json:"name,omitempty"` + Name *string } // Device resource. type Device struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // Device properties. - Properties DevicePropertiesFormatClassification `json:"properties,omitempty"` + Properties DevicePropertiesFormatClassification // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DeviceListResult - Response for devices API service call. type DeviceListResult struct { // A list of devices. - Value []*Device `json:"value,omitempty"` + Value []*Device // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // DevicePropertiesFormatClassification provides polymorphic access to related types. @@ -105,16 +105,16 @@ type DevicePropertiesFormatClassification interface { // DevicePropertiesFormat - Device properties. type DevicePropertiesFormat struct { // REQUIRED; The type of the device. - DeviceType *DeviceType `json:"deviceType,omitempty"` + DeviceType *DeviceType // READ-ONLY; The list of network functions deployed on the device. - NetworkFunctions []*SubResource `json:"networkFunctions,omitempty" azure:"ro"` + NetworkFunctions []*SubResource // READ-ONLY; The provisioning state of the device resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The current device status. - Status *Status `json:"status,omitempty" azure:"ro"` + Status *Status } // GetDevicePropertiesFormat implements the DevicePropertiesFormatClassification interface for type DevicePropertiesFormat. @@ -123,7 +123,7 @@ func (d *DevicePropertiesFormat) GetDevicePropertiesFormat() *DevicePropertiesFo // DeviceRegistrationKey - The device registration key. type DeviceRegistrationKey struct { // READ-ONLY; The registration key for the device. - RegistrationKey *string `json:"registrationKey,omitempty" azure:"ro"` + RegistrationKey *string } // DevicesClientBeginCreateOrUpdateOptions contains the optional parameters for the DevicesClient.BeginCreateOrUpdate method. @@ -168,231 +168,231 @@ type DevicesClientUpdateTagsOptions struct { // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // ImageReference - The image reference properties. type ImageReference struct { // Specifies in decimal numbers, the exact version of image used to create the virtual machine. - ExactVersion *string `json:"exactVersion,omitempty"` + ExactVersion *string // Specifies the offer of the image used to create the virtual machine. - Offer *string `json:"offer,omitempty"` + Offer *string // The image publisher. - Publisher *string `json:"publisher,omitempty"` + Publisher *string // The image SKU. - SKU *string `json:"sku,omitempty"` + SKU *string // Specifies the version of the image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. // Major, Minor, and Build are decimal numbers. Specify 'latest' to use the // latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update // after deploy time even if a new version becomes available. - Version *string `json:"version,omitempty"` + Version *string } // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. type LinuxConfiguration struct { // Specifies the ssh key configuration for a Linux OS. - SSH *SSHConfiguration `json:"ssh,omitempty"` + SSH *SSHConfiguration } // NetworkFunction - Network function resource response. type NetworkFunction struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty"` + Etag *string // Network function properties. - Properties *NetworkFunctionPropertiesFormat `json:"properties,omitempty"` + Properties *NetworkFunctionPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NetworkFunctionListResult - Response for network function API service call. type NetworkFunctionListResult struct { // A list of network function resources in a subscription or resource group. - Value []*NetworkFunction `json:"value,omitempty"` + Value []*NetworkFunction // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // NetworkFunctionPropertiesFormat - Network function properties. type NetworkFunctionPropertiesFormat struct { // The reference to the device resource. Once set, it cannot be updated. - Device *SubResource `json:"device,omitempty"` + Device *SubResource // The parameters for the managed application. - ManagedApplicationParameters any `json:"managedApplicationParameters,omitempty"` + ManagedApplicationParameters any // The network function container configurations from the user. - NetworkFunctionContainerConfigurations any `json:"networkFunctionContainerConfigurations,omitempty"` + NetworkFunctionContainerConfigurations any // The network function configurations from the user. - NetworkFunctionUserConfigurations []*NetworkFunctionUserConfiguration `json:"networkFunctionUserConfigurations,omitempty"` + NetworkFunctionUserConfigurations []*NetworkFunctionUserConfiguration // The sku name for the network function. Once set, it cannot be updated. - SKUName *string `json:"skuName,omitempty"` + SKUName *string // The vendor name for the network function. Once set, it cannot be updated. - VendorName *string `json:"vendorName,omitempty"` + VendorName *string // READ-ONLY; The resource URI of the managed application. - ManagedApplication *SubResource `json:"managedApplication,omitempty" azure:"ro"` + ManagedApplication *SubResource // READ-ONLY; The provisioning state of the network function resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The sku type for the network function. - SKUType *SKUType `json:"skuType,omitempty" azure:"ro"` + SKUType *SKUType // READ-ONLY; The service key for the network function resource. - ServiceKey *string `json:"serviceKey,omitempty" azure:"ro"` + ServiceKey *string // READ-ONLY; The vendor provisioning state for the network function resource. - VendorProvisioningState *VendorProvisioningState `json:"vendorProvisioningState,omitempty" azure:"ro"` + VendorProvisioningState *VendorProvisioningState } // NetworkFunctionRoleConfiguration - Network function role configuration. type NetworkFunctionRoleConfiguration struct { // Specifies the custom settings for the virtual machine. - CustomProfile *CustomProfile `json:"customProfile,omitempty"` + CustomProfile *CustomProfile // The network interface configurations. - NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkInterfaces []*NetworkInterface // Specifies the operating system settings for the role instance. This value can be updated during the deployment of network // function. - OSProfile *OsProfile `json:"osProfile,omitempty"` + OSProfile *OsProfile // The name of the network function role. - RoleName *string `json:"roleName,omitempty"` + RoleName *string // Role type. - RoleType *NetworkFunctionRoleConfigurationType `json:"roleType,omitempty"` + RoleType *NetworkFunctionRoleConfigurationType // Specifies the storage settings for the virtual machine disks. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // The user parameters for customers. The format of user data parameters has to be matched with the provided user data template. - UserDataParameters any `json:"userDataParameters,omitempty"` + UserDataParameters any // The user data template for customers. This is a json schema template describing the format and data type of user data parameters. - UserDataTemplate any `json:"userDataTemplate,omitempty"` + UserDataTemplate any // The size of the virtual machine. - VirtualMachineSize *VirtualMachineSizeTypes `json:"virtualMachineSize,omitempty"` + VirtualMachineSize *VirtualMachineSizeTypes } // NetworkFunctionRoleInstanceListResult - List of role instances of vendor network function. type NetworkFunctionRoleInstanceListResult struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of role instances. - Value []*RoleInstance `json:"value,omitempty" azure:"ro"` + Value []*RoleInstance } // NetworkFunctionSKUDetails - The network function sku details. type NetworkFunctionSKUDetails struct { // The network function sku type. - SKUType *SKUType `json:"skuType,omitempty"` + SKUType *SKUType // The network function sku role details. - Value []*NetworkFunctionSKURoleDetails `json:"value,omitempty"` + Value []*NetworkFunctionSKURoleDetails // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // NetworkFunctionSKUListResult - A list of available network function skus. type NetworkFunctionSKUListResult struct { // The network function vendor sku overview properties. - Value []*SKUOverview `json:"value,omitempty"` + Value []*SKUOverview // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // NetworkFunctionSKURoleDetails - The network function user configuration. type NetworkFunctionSKURoleDetails struct { // The network interface configuration. - NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkInterfaces []*NetworkInterface // The name of the network function role. - RoleName *string `json:"roleName,omitempty"` + RoleName *string // The user parameters for customers. - UserDataParameters any `json:"userDataParameters,omitempty"` + UserDataParameters any // The user data template for customers. - UserDataTemplate any `json:"userDataTemplate,omitempty"` + UserDataTemplate any } // NetworkFunctionTemplate - The network function template. type NetworkFunctionTemplate struct { // An array of network function role definitions. - NetworkFunctionRoleConfigurations []*NetworkFunctionRoleConfiguration `json:"networkFunctionRoleConfigurations,omitempty"` + NetworkFunctionRoleConfigurations []*NetworkFunctionRoleConfiguration } // NetworkFunctionUserConfiguration - The network function user configuration. type NetworkFunctionUserConfiguration struct { // The network interface configuration. - NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkInterfaces []*NetworkInterface // Specifies the operating system settings for the role instance. - OSProfile *NetworkFunctionUserConfigurationOsProfile `json:"osProfile,omitempty"` + OSProfile *NetworkFunctionUserConfigurationOsProfile // The name of the network function role. - RoleName *string `json:"roleName,omitempty"` + RoleName *string // The user data parameters from the customer. - UserDataParameters any `json:"userDataParameters,omitempty"` + UserDataParameters any } // NetworkFunctionUserConfigurationOsProfile - Specifies the operating system settings for the role instance. @@ -405,37 +405,37 @@ type NetworkFunctionUserConfigurationOsProfile struct { // customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs [https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/] // For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json] - CustomData *string `json:"customData,omitempty"` + CustomData *string } // NetworkFunctionVendor - The network function vendor. type NetworkFunctionVendor struct { // Vendors of Hybrid Network service provider. - Properties *VendorDetails `json:"properties,omitempty"` + Properties *VendorDetails } // NetworkFunctionVendorConfiguration - Network function vendor configuration. type NetworkFunctionVendorConfiguration struct { // The network interface configurations. - NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkInterfaces []*NetworkInterface // Specifies the operating system settings for the role instance. - OSProfile *OsProfile `json:"osProfile,omitempty"` + OSProfile *OsProfile // The name of the vendor network function role. - RoleName *string `json:"roleName,omitempty"` + RoleName *string // READ-ONLY; The user parameters from the customer. - UserDataParameters any `json:"userDataParameters,omitempty" azure:"ro"` + UserDataParameters any } // NetworkFunctionVendorListResult - The network function vendor list result. type NetworkFunctionVendorListResult struct { // A list of available network function vendors and skus. - Value []*NetworkFunctionVendor `json:"value,omitempty"` + Value []*NetworkFunctionVendor // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // NetworkFunctionVendorSKUsClientListBySKUOptions contains the optional parameters for the NetworkFunctionVendorSKUsClient.NewListBySKUPager @@ -494,70 +494,70 @@ type NetworkFunctionsClientUpdateTagsOptions struct { // NetworkInterface - Network interface properties. type NetworkInterface struct { // A list of IP configurations of the network interface. - IPConfigurations []*NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*NetworkInterfaceIPConfiguration // The MAC address of the network interface. - MacAddress *string `json:"macAddress,omitempty"` + MacAddress *string // The name of the network interface. - NetworkInterfaceName *string `json:"networkInterfaceName,omitempty"` + NetworkInterfaceName *string // The type of the VM switch. - VMSwitchType *VMSwitchType `json:"vmSwitchType,omitempty"` + VMSwitchType *VMSwitchType } // NetworkInterfaceIPConfiguration - Network interface IP configuration properties. type NetworkInterfaceIPConfiguration struct { // The list of DNS servers IP addresses. - DNSServers []*string `json:"dnsServers,omitempty"` + DNSServers []*string // The value of the gateway. - Gateway *string `json:"gateway,omitempty"` + Gateway *string // The value of the IP address. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // IP address allocation method. - IPAllocationMethod *IPAllocationMethod `json:"ipAllocationMethod,omitempty"` + IPAllocationMethod *IPAllocationMethod // IP address version. - IPVersion *IPVersion `json:"ipVersion,omitempty"` + IPVersion *IPVersion // The value of the subnet. - Subnet *string `json:"subnet,omitempty"` + Subnet *string } // Operation - Object that describes a single Microsoft.HybridNetwork operation. type Operation struct { // READ-ONLY; The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty" azure:"ro"` + Display *OperationDisplay // READ-ONLY; Operation name: {provider}/{resource}/{operation}. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // Description of the operation. - Description *string `json:"description,omitempty"` + Description *string // Operation type: Read, write, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft.HybridNetwork. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed: Registration definition, registration assignment, etc. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationList - A list of the operations. type OperationList struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of Microsoft.HybridNetwork operations. - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -571,16 +571,16 @@ type OperationsClientListOptions struct { type OsDisk struct { // Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This // disk size should be greater than the size of the VHD provided in vhdUri. - DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` + DiskSizeGB *int32 // The VHD name. - Name *string `json:"name,omitempty"` + Name *string // The OS type. - OSType *OperatingSystemTypes `json:"osType,omitempty"` + OSType *OperatingSystemTypes // The virtual hard disk. - Vhd *VirtualHardDisk `json:"vhd,omitempty"` + Vhd *VirtualHardDisk } // OsProfile - Specifies the operating system settings for the role instance. @@ -598,7 +598,7 @@ type OsProfile struct { // For a list of built-in system users on Linux that should not be used in this field, see Selecting User Names for Linux // on Azure // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json]. - AdminUsername *string `json:"adminUsername,omitempty"` + AdminUsername *string // Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved // as a file on the virtual machine. The maximum length of the binary array is @@ -608,102 +608,102 @@ type OsProfile struct { // customData is passed to the VM to be saved as a file. For more information see Custom Data on Azure VMs [https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/] // For using cloud-init for your Linux VM, see Using cloud-init to customize a Linux VM during creation // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json] - CustomData *string `json:"customData,omitempty"` + CustomData *string // Indicates if custom data is required to deploy this role. - CustomDataRequired *bool `json:"customDataRequired,omitempty"` + CustomDataRequired *bool // Specifies the Linux operating system settings on the virtual machine. // For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json] // For running non-endorsed distributions, see Information for Non-Endorsed Distributions // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json]. - LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` + LinuxConfiguration *LinuxConfiguration } // PreviewSubscription - Customer subscription which can use a sku. type PreviewSubscription struct { // The Preview Subscription properties. - Properties *PreviewSubscriptionProperties `json:"properties,omitempty"` + Properties *PreviewSubscriptionProperties // READ-ONLY; The ARM ID of the resource. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The preview subscription ID. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PreviewSubscriptionProperties - PreviewSubscription properties type PreviewSubscriptionProperties struct { // READ-ONLY; The provisioning state of the PreviewSubscription resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PreviewSubscriptionsList - A list of customer subscriptions which can use a sku. type PreviewSubscriptionsList struct { // A list of preview subscriptions. - Value []*PreviewSubscription `json:"value,omitempty"` + Value []*PreviewSubscription // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a // location type ProxyResource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Resource - Common fields that are returned in the response for all Azure Resource Manager resources type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RoleInstance - The role instance sub resource. type RoleInstance struct { // The ARM ID of the resource. - ID *string `json:"id,omitempty"` + ID *string // The role instance name. - Name *string `json:"name,omitempty"` + Name *string // The role instance properties. - Properties *RoleInstanceProperties `json:"properties,omitempty"` + Properties *RoleInstanceProperties // The type of the resource. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData } // RoleInstanceProperties - The role instance properties of the network function. type RoleInstanceProperties struct { // The operational state of the role instance. - OperationalState *OperationalState `json:"operationalState,omitempty"` + OperationalState *OperationalState // READ-ONLY; The provisioning state of the RoleInstance resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RoleInstancesClientBeginRestartOptions contains the optional parameters for the RoleInstancesClient.BeginRestart method. @@ -737,16 +737,16 @@ type RoleInstancesClientListOptions struct { // SKUOverview - The network function sku overview. type SKUOverview struct { // The vendor sku name. - SKUName *string `json:"skuName,omitempty"` + SKUName *string // The vendor sku type. - SKUType *SKUType `json:"skuType,omitempty"` + SKUType *SKUType } // SSHConfiguration - SSH configuration for Linux based VMs running on Azure type SSHConfiguration struct { // The list of SSH public keys used to authenticate with linux based VMs. - PublicKeys []*SSHPublicKey `json:"publicKeys,omitempty"` + PublicKeys []*SSHPublicKey } // SSHPublicKey - Contains information about SSH certificate public key and the path on the Linux VM where the public key @@ -756,156 +756,156 @@ type SSHPublicKey struct { // format. // For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure // [https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json]. - KeyData *string `json:"keyData,omitempty"` + KeyData *string // Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key // is appended to the file. Example: /home/user/.ssh/authorized_keys - Path *string `json:"path,omitempty"` + Path *string } // StorageProfile - Specifies the storage settings for the virtual machine disks. type StorageProfile struct { // Specifies the parameters that are used to add a data disk to a virtual machine. - DataDisks []*DataDisk `json:"dataDisks,omitempty"` + DataDisks []*DataDisk // The image reference properties. - ImageReference *ImageReference `json:"imageReference,omitempty"` + ImageReference *ImageReference // Specifies information about the operating system disk used by the virtual machine. - OSDisk *OsDisk `json:"osDisk,omitempty"` + OSDisk *OsDisk } // SubResource - Reference to another sub resource. type SubResource struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // TagsObject - Tags object for patch operations. type TagsObject struct { // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' // and a 'location' type TrackedResource struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Vendor resource. type Vendor struct { // Vendor properties. - Properties *VendorPropertiesFormat `json:"properties,omitempty"` + Properties *VendorPropertiesFormat // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VendorDetails - The network function vendor details. type VendorDetails struct { // The network function sku list. - SKUList []*SKUOverview `json:"skuList,omitempty"` + SKUList []*SKUOverview // The network function vendor name. - VendorName *string `json:"vendorName,omitempty"` + VendorName *string } // VendorListResult - Response for vendors API service call. type VendorListResult struct { // A list of vendors. - Value []*Vendor `json:"value,omitempty"` + Value []*Vendor // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VendorNetworkFunction - Vendor network function sub resource. type VendorNetworkFunction struct { // Network function details. - Properties *VendorNetworkFunctionPropertiesFormat `json:"properties,omitempty"` + Properties *VendorNetworkFunctionPropertiesFormat // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VendorNetworkFunctionListResult - Response for vendors API service call. type VendorNetworkFunctionListResult struct { // A list of vendor network functions. - Value []*VendorNetworkFunction `json:"value,omitempty"` + Value []*VendorNetworkFunction // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VendorNetworkFunctionPropertiesFormat - Vendor network function properties. type VendorNetworkFunctionPropertiesFormat struct { // An array of network function vendor configurations. - NetworkFunctionVendorConfigurations []*NetworkFunctionVendorConfiguration `json:"networkFunctionVendorConfigurations,omitempty"` + NetworkFunctionVendorConfigurations []*NetworkFunctionVendorConfiguration // The vendor controlled provisioning state of the vendor network function. - VendorProvisioningState *VendorProvisioningState `json:"vendorProvisioningState,omitempty"` + VendorProvisioningState *VendorProvisioningState // READ-ONLY; The provisioning state of the vendor network function sub resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The name of the sku. Once set, it cannot be updated. - SKUName *string `json:"skuName,omitempty" azure:"ro"` + SKUName *string // READ-ONLY; The sku type. - SKUType *SKUType `json:"skuType,omitempty" azure:"ro"` + SKUType *SKUType } // VendorNetworkFunctionsClientBeginCreateOrUpdateOptions contains the optional parameters for the VendorNetworkFunctionsClient.BeginCreateOrUpdate @@ -930,37 +930,37 @@ type VendorNetworkFunctionsClientListOptions struct { // VendorPropertiesFormat - Vendor properties. type VendorPropertiesFormat struct { // READ-ONLY; The provisioning state of the vendor resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; A list of IDs of the vendor skus offered by the vendor. - SKUs []*SubResource `json:"skus,omitempty" azure:"ro"` + SKUs []*SubResource } // VendorSKU - Sku sub resource. type VendorSKU struct { // Vendor sku details. - Properties *VendorSKUPropertiesFormat `json:"properties,omitempty"` + Properties *VendorSKUPropertiesFormat // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VendorSKUListResult - Response for list vendor sku API service call. type VendorSKUListResult struct { // A list of vendor skus offered by the vendor. - Value []*VendorSKU `json:"value,omitempty"` + Value []*VendorSKU // READ-ONLY; The URI to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VendorSKUPreviewClientBeginCreateOrUpdateOptions contains the optional parameters for the VendorSKUPreviewClient.BeginCreateOrUpdate @@ -989,28 +989,28 @@ type VendorSKUPreviewClientListOptions struct { // VendorSKUPropertiesFormat - Sku properties type VendorSKUPropertiesFormat struct { // The sku deployment mode. - DeploymentMode *SKUDeploymentMode `json:"deploymentMode,omitempty"` + DeploymentMode *SKUDeploymentMode // The parameters for the managed application to be supplied by the vendor. - ManagedApplicationParameters any `json:"managedApplicationParameters,omitempty"` + ManagedApplicationParameters any // The template for the managed application deployment. - ManagedApplicationTemplate any `json:"managedApplicationTemplate,omitempty"` + ManagedApplicationTemplate any // The template definition of the network function. - NetworkFunctionTemplate *NetworkFunctionTemplate `json:"networkFunctionTemplate,omitempty"` + NetworkFunctionTemplate *NetworkFunctionTemplate // The network function type. - NetworkFunctionType *NetworkFunctionType `json:"networkFunctionType,omitempty"` + NetworkFunctionType *NetworkFunctionType // Indicates if the vendor sku is in preview mode. - Preview *bool `json:"preview,omitempty"` + Preview *bool // The sku type. - SKUType *SKUType `json:"skuType,omitempty"` + SKUType *SKUType // READ-ONLY; The provisioning state of the vendor sku sub resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VendorSKUsClientBeginCreateOrUpdateOptions contains the optional parameters for the VendorSKUsClient.BeginCreateOrUpdate @@ -1064,5 +1064,5 @@ type VendorsClientListBySubscriptionOptions struct { // VirtualHardDisk - Describes the uri of a disk. type VirtualHardDisk struct { // Specifies the virtual hard disk's uri. - URI *string `json:"uri,omitempty"` + URI *string } diff --git a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models_serde.go b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models_serde.go index 79b1fdbce39a..06b76ce82b62 100644 --- a/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models_serde.go +++ b/sdk/resourcemanager/hybridnetwork/armhybridnetwork/models_serde.go @@ -272,7 +272,7 @@ func (d *DeviceRegistrationKey) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -531,8 +531,8 @@ func (n NetworkFunctionPropertiesFormat) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "device", n.Device) populate(objectMap, "managedApplication", n.ManagedApplication) - populate(objectMap, "managedApplicationParameters", &n.ManagedApplicationParameters) - populate(objectMap, "networkFunctionContainerConfigurations", &n.NetworkFunctionContainerConfigurations) + populateAny(objectMap, "managedApplicationParameters", n.ManagedApplicationParameters) + populateAny(objectMap, "networkFunctionContainerConfigurations", n.NetworkFunctionContainerConfigurations) populate(objectMap, "networkFunctionUserConfigurations", n.NetworkFunctionUserConfigurations) populate(objectMap, "provisioningState", n.ProvisioningState) populate(objectMap, "skuName", n.SKUName) @@ -602,8 +602,8 @@ func (n NetworkFunctionRoleConfiguration) MarshalJSON() ([]byte, error) { populate(objectMap, "roleName", n.RoleName) populate(objectMap, "roleType", n.RoleType) populate(objectMap, "storageProfile", n.StorageProfile) - populate(objectMap, "userDataParameters", &n.UserDataParameters) - populate(objectMap, "userDataTemplate", &n.UserDataTemplate) + populateAny(objectMap, "userDataParameters", n.UserDataParameters) + populateAny(objectMap, "userDataTemplate", n.UserDataTemplate) populate(objectMap, "virtualMachineSize", n.VirtualMachineSize) return json.Marshal(objectMap) } @@ -754,8 +754,8 @@ func (n NetworkFunctionSKURoleDetails) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "networkInterfaces", n.NetworkInterfaces) populate(objectMap, "roleName", n.RoleName) - populate(objectMap, "userDataParameters", &n.UserDataParameters) - populate(objectMap, "userDataTemplate", &n.UserDataTemplate) + populateAny(objectMap, "userDataParameters", n.UserDataParameters) + populateAny(objectMap, "userDataTemplate", n.UserDataTemplate) return json.Marshal(objectMap) } @@ -821,7 +821,7 @@ func (n NetworkFunctionUserConfiguration) MarshalJSON() ([]byte, error) { populate(objectMap, "networkInterfaces", n.NetworkInterfaces) populate(objectMap, "osProfile", n.OSProfile) populate(objectMap, "roleName", n.RoleName) - populate(objectMap, "userDataParameters", &n.UserDataParameters) + populateAny(objectMap, "userDataParameters", n.UserDataParameters) return json.Marshal(objectMap) } @@ -914,7 +914,7 @@ func (n NetworkFunctionVendorConfiguration) MarshalJSON() ([]byte, error) { populate(objectMap, "networkInterfaces", n.NetworkInterfaces) populate(objectMap, "osProfile", n.OSProfile) populate(objectMap, "roleName", n.RoleName) - populate(objectMap, "userDataParameters", &n.UserDataParameters) + populateAny(objectMap, "userDataParameters", n.UserDataParameters) return json.Marshal(objectMap) } @@ -2087,8 +2087,8 @@ func (v *VendorSKUListResult) UnmarshalJSON(data []byte) error { func (v VendorSKUPropertiesFormat) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "deploymentMode", v.DeploymentMode) - populate(objectMap, "managedApplicationParameters", &v.ManagedApplicationParameters) - populate(objectMap, "managedApplicationTemplate", &v.ManagedApplicationTemplate) + populateAny(objectMap, "managedApplicationParameters", v.ManagedApplicationParameters) + populateAny(objectMap, "managedApplicationTemplate", v.ManagedApplicationTemplate) populate(objectMap, "networkFunctionTemplate", v.NetworkFunctionTemplate) populate(objectMap, "networkFunctionType", v.NetworkFunctionType) populate(objectMap, "preview", v.Preview) @@ -2175,6 +2175,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/iotcentral/armiotcentral/CHANGELOG.md b/sdk/resourcemanager/iotcentral/armiotcentral/CHANGELOG.md index c07264c314fc..e1085f9c5b0c 100644 --- a/sdk/resourcemanager/iotcentral/armiotcentral/CHANGELOG.md +++ b/sdk/resourcemanager/iotcentral/armiotcentral/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-04-06) ### Features Added diff --git a/sdk/resourcemanager/iotcentral/armiotcentral/autorest.md b/sdk/resourcemanager/iotcentral/armiotcentral/autorest.md index 902dcac5e455..3d690bf82d84 100644 --- a/sdk/resourcemanager/iotcentral/armiotcentral/autorest.md +++ b/sdk/resourcemanager/iotcentral/armiotcentral/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/iotcentral/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/iotcentral/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 tag: package-2021-06 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/iotcentral/armiotcentral/constants.go b/sdk/resourcemanager/iotcentral/armiotcentral/constants.go index 0edeb89ec90d..dd7f039cc33a 100644 --- a/sdk/resourcemanager/iotcentral/armiotcentral/constants.go +++ b/sdk/resourcemanager/iotcentral/armiotcentral/constants.go @@ -11,7 +11,7 @@ package armiotcentral const ( moduleName = "armiotcentral" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // AppSKU - The name of the SKU. diff --git a/sdk/resourcemanager/iotcentral/armiotcentral/models.go b/sdk/resourcemanager/iotcentral/armiotcentral/models.go index 5c1529149538..8e9a0a8801a0 100644 --- a/sdk/resourcemanager/iotcentral/armiotcentral/models.go +++ b/sdk/resourcemanager/iotcentral/armiotcentral/models.go @@ -12,135 +12,135 @@ package armiotcentral // App - The IoT Central application. type App struct { // REQUIRED; The resource location. - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; A valid instance SKU. - SKU *AppSKUInfo `json:"sku,omitempty"` + SKU *AppSKUInfo // The managed identities for the IoT Central application. - Identity *SystemAssignedServiceIdentity `json:"identity,omitempty"` + Identity *SystemAssignedServiceIdentity // The common properties of an IoT Central application. - Properties *AppProperties `json:"properties,omitempty"` + Properties *AppProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The ARM resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The ARM resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AppAvailabilityInfo - The properties indicating whether a given IoT Central application name or subdomain is available. type AppAvailabilityInfo struct { // READ-ONLY; The detailed reason message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The value which indicates whether the provided name is available. - NameAvailable *bool `json:"nameAvailable,omitempty" azure:"ro"` + NameAvailable *bool // READ-ONLY; The reason for unavailability. - Reason *string `json:"reason,omitempty" azure:"ro"` + Reason *string } // AppListResult - A list of IoT Central Applications with a next link. type AppListResult struct { // The link used to get the next page of IoT Central Applications. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of IoT Central Applications. - Value []*App `json:"value,omitempty"` + Value []*App } // AppPatch - The description of the IoT Central application. type AppPatch struct { // The managed identities for the IoT Central application. - Identity *SystemAssignedServiceIdentity `json:"identity,omitempty"` + Identity *SystemAssignedServiceIdentity // The common properties of an IoT Central application. - Properties *AppProperties `json:"properties,omitempty"` + Properties *AppProperties // A valid instance SKU. - SKU *AppSKUInfo `json:"sku,omitempty"` + SKU *AppSKUInfo // Instance tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // AppProperties - The properties of an IoT Central application. type AppProperties struct { // The display name of the application. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The subdomain of the application. - Subdomain *string `json:"subdomain,omitempty"` + Subdomain *string // The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. // Optional; if not specified, defaults to a blank blueprint and allows the // application to be defined from scratch. - Template *string `json:"template,omitempty"` + Template *string // READ-ONLY; The ID of the application. - ApplicationID *string `json:"applicationId,omitempty" azure:"ro"` + ApplicationID *string // READ-ONLY; The current state of the application. - State *AppState `json:"state,omitempty" azure:"ro"` + State *AppState } // AppSKUInfo - Information about the SKU of the IoT Central application. type AppSKUInfo struct { // REQUIRED; The name of the SKU. - Name *AppSKU `json:"name,omitempty"` + Name *AppSKU } // AppTemplate - IoT Central Application Template. type AppTemplate struct { // READ-ONLY; The description of the template. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; The industry of the template. - Industry *string `json:"industry,omitempty" azure:"ro"` + Industry *string // READ-ONLY; A list of locations that support the template. - Locations []*AppTemplateLocations `json:"locations,omitempty" azure:"ro"` + Locations []*AppTemplateLocations // READ-ONLY; The ID of the template. - ManifestID *string `json:"manifestId,omitempty" azure:"ro"` + ManifestID *string // READ-ONLY; The version of the template. - ManifestVersion *string `json:"manifestVersion,omitempty" azure:"ro"` + ManifestVersion *string // READ-ONLY; The name of the template. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The order of the template in the templates list. - Order *float32 `json:"order,omitempty" azure:"ro"` + Order *float32 // READ-ONLY; The title of the template. - Title *string `json:"title,omitempty" azure:"ro"` + Title *string } // AppTemplateLocations - IoT Central Application Template Locations. type AppTemplateLocations struct { // READ-ONLY; The display name of the location. - DisplayName *string `json:"displayName,omitempty" azure:"ro"` + DisplayName *string // READ-ONLY; The ID of the location. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // AppTemplatesResult - A list of IoT Central Application Templates with a next link. type AppTemplatesResult struct { // The link used to get the next page of IoT Central application templates. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // READ-ONLY; A list of IoT Central Application Templates. - Value []*AppTemplate `json:"value,omitempty" azure:"ro"` + Value []*AppTemplate } // AppsClientBeginCreateOrUpdateOptions contains the optional parameters for the AppsClient.BeginCreateOrUpdate method. @@ -195,65 +195,65 @@ type AppsClientListTemplatesOptions struct { // CloudErrorBody - Details of error response. type CloudErrorBody struct { // A list of additional details about the error. - Details []*CloudErrorBody `json:"details,omitempty"` + Details []*CloudErrorBody // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The target of the particular error. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // Operation - IoT Central REST API operation type Operation struct { // The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // READ-ONLY; Operation name: {provider}/{resource}/{read | write | action | delete} - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The intended executor of the operation. - Origin *string `json:"origin,omitempty" azure:"ro"` + Origin *string // READ-ONLY; Additional descriptions for the operation. - Properties any `json:"properties,omitempty" azure:"ro"` + Properties any } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // READ-ONLY; Friendly description for the operation, - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Name of the operation - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Service provider: Microsoft IoT Central - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource Type: IoT Central - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationInputs - Input values. type OperationInputs struct { // REQUIRED; The name of the IoT Central application instance to check. - Name *string `json:"name,omitempty"` + Name *string // The type of the IoT Central resource to query. - Type *string `json:"type,omitempty"` + Type *string } // OperationListResult - A list of IoT Central operations. It contains a list of operations and a URL link to get the next // set of results. type OperationListResult struct { // The link used to get the next page of IoT Central description objects. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // READ-ONLY; A list of operations supported by the Microsoft.IoTCentral resource provider. - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -264,30 +264,30 @@ type OperationsClientListOptions struct { // Resource - The common properties of an ARM resource. type Resource struct { // REQUIRED; The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The ARM resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The ARM resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SystemAssignedServiceIdentity - Managed service identity (either system assigned, or none) type SystemAssignedServiceIdentity struct { // REQUIRED; Type of managed service identity (either system assigned, or none). - Type *SystemAssignedServiceIdentityType `json:"type,omitempty"` + Type *SystemAssignedServiceIdentityType // READ-ONLY; The service principal ID of the system assigned identity. This property will only be provided for a system assigned // identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } diff --git a/sdk/resourcemanager/iotcentral/armiotcentral/models_serde.go b/sdk/resourcemanager/iotcentral/armiotcentral/models_serde.go index 1731c61abbc4..36e464e7f038 100644 --- a/sdk/resourcemanager/iotcentral/armiotcentral/models_serde.go +++ b/sdk/resourcemanager/iotcentral/armiotcentral/models_serde.go @@ -408,7 +408,7 @@ func (o Operation) MarshalJSON() ([]byte, error) { populate(objectMap, "display", o.Display) populate(objectMap, "name", o.Name) populate(objectMap, "origin", o.Origin) - populate(objectMap, "properties", &o.Properties) + populateAny(objectMap, "properties", o.Properties) return json.Marshal(objectMap) } @@ -630,6 +630,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/iothub/armiothub/CHANGELOG.md b/sdk/resourcemanager/iothub/armiothub/CHANGELOG.md index 091f77fb21e1..0558796f17bf 100644 --- a/sdk/resourcemanager/iothub/armiothub/CHANGELOG.md +++ b/sdk/resourcemanager/iothub/armiothub/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/iothub/armiothub/autorest.md b/sdk/resourcemanager/iothub/armiothub/autorest.md index 71c3d7a561c7..e33bbcc16a8d 100644 --- a/sdk/resourcemanager/iothub/armiothub/autorest.md +++ b/sdk/resourcemanager/iothub/armiothub/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/iothub/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/iothub/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/iothub/armiothub/constants.go b/sdk/resourcemanager/iothub/armiothub/constants.go index d7ccc7fb8dfd..7b073c6e546a 100644 --- a/sdk/resourcemanager/iothub/armiothub/constants.go +++ b/sdk/resourcemanager/iothub/armiothub/constants.go @@ -11,7 +11,7 @@ package armiothub const ( moduleName = "armiothub" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // AccessRights - The permissions assigned to the shared access policy. diff --git a/sdk/resourcemanager/iothub/armiothub/models.go b/sdk/resourcemanager/iothub/armiothub/models.go index fdd735e8b62c..292493254e72 100644 --- a/sdk/resourcemanager/iothub/armiothub/models.go +++ b/sdk/resourcemanager/iothub/armiothub/models.go @@ -15,148 +15,148 @@ type ArmIdentity struct { // The type of identity used for the resource. 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 service. - Type *ResourceIdentityType `json:"type,omitempty"` + Type *ResourceIdentityType // Dictionary of - UserAssignedIdentities map[string]*ArmUserIdentity `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]*ArmUserIdentity // READ-ONLY; Principal Id - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; Tenant Id - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } type ArmUserIdentity struct { // READ-ONLY - ClientID *string `json:"clientId,omitempty" azure:"ro"` + ClientID *string // READ-ONLY - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string } // Capacity - IoT Hub capacity information. type Capacity struct { // READ-ONLY; The default number of units. - Default *int64 `json:"default,omitempty" azure:"ro"` + Default *int64 // READ-ONLY; The maximum number of units. - Maximum *int64 `json:"maximum,omitempty" azure:"ro"` + Maximum *int64 // READ-ONLY; The minimum number of units. - Minimum *int64 `json:"minimum,omitempty" azure:"ro"` + Minimum *int64 // READ-ONLY; The type of the scaling enabled. - ScaleType *IotHubScaleType `json:"scaleType,omitempty" azure:"ro"` + ScaleType *IotHubScaleType } // CertificateBodyDescription - The JSON-serialized X509 Certificate. type CertificateBodyDescription struct { // base-64 representation of the X509 leaf certificate .cer file or just .pem file content. - Certificate *string `json:"certificate,omitempty"` + Certificate *string // True indicates that the certificate will be created in verified state and proof of possession will not be required. - IsVerified *bool `json:"isVerified,omitempty"` + IsVerified *bool } // CertificateDescription - The X509 Certificate. type CertificateDescription struct { // The description of an X509 CA Certificate. - Properties *CertificateProperties `json:"properties,omitempty"` + Properties *CertificateProperties // READ-ONLY; The entity tag. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the certificate. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // CertificateListDescription - The JSON-serialized array of Certificate objects. type CertificateListDescription struct { // The array of Certificate objects. - Value []*CertificateDescription `json:"value,omitempty"` + Value []*CertificateDescription } // CertificateProperties - The description of an X509 CA Certificate. type CertificateProperties struct { // The certificate content - Certificate *string `json:"certificate,omitempty"` + Certificate *string // Determines whether certificate has been verified. - IsVerified *bool `json:"isVerified,omitempty"` + IsVerified *bool // READ-ONLY; The certificate's create date and time. - Created *time.Time `json:"created,omitempty" azure:"ro"` + Created *time.Time // READ-ONLY; The certificate's expiration date and time. - Expiry *time.Time `json:"expiry,omitempty" azure:"ro"` + Expiry *time.Time // READ-ONLY; The certificate's subject name. - Subject *string `json:"subject,omitempty" azure:"ro"` + Subject *string // READ-ONLY; The certificate's thumbprint. - Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"` + Thumbprint *string // READ-ONLY; The certificate's last update date and time. - Updated *time.Time `json:"updated,omitempty" azure:"ro"` + Updated *time.Time } // CertificatePropertiesWithNonce - The description of an X509 CA Certificate including the challenge nonce issued for the // Proof-Of-Possession flow. type CertificatePropertiesWithNonce struct { // READ-ONLY; The certificate content - Certificate *string `json:"certificate,omitempty" azure:"ro"` + Certificate *string // READ-ONLY; The certificate's create date and time. - Created *time.Time `json:"created,omitempty" azure:"ro"` + Created *time.Time // READ-ONLY; The certificate's expiration date and time. - Expiry *time.Time `json:"expiry,omitempty" azure:"ro"` + Expiry *time.Time // READ-ONLY; Determines whether certificate has been verified. - IsVerified *bool `json:"isVerified,omitempty" azure:"ro"` + IsVerified *bool // READ-ONLY; The certificate's subject name. - Subject *string `json:"subject,omitempty" azure:"ro"` + Subject *string // READ-ONLY; The certificate's thumbprint. - Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"` + Thumbprint *string // READ-ONLY; The certificate's last update date and time. - Updated *time.Time `json:"updated,omitempty" azure:"ro"` + Updated *time.Time // READ-ONLY; The certificate's verification code that will be used for proof of possession. - VerificationCode *string `json:"verificationCode,omitempty" azure:"ro"` + VerificationCode *string } // CertificateVerificationDescription - The JSON-serialized leaf certificate type CertificateVerificationDescription struct { // base-64 representation of X509 certificate .cer file or just .pem file content. - Certificate *string `json:"certificate,omitempty"` + Certificate *string } // CertificateWithNonceDescription - The X509 Certificate. type CertificateWithNonceDescription struct { // The description of an X509 CA Certificate including the challenge nonce issued for the Proof-Of-Possession flow. - Properties *CertificatePropertiesWithNonce `json:"properties,omitempty"` + Properties *CertificatePropertiesWithNonce // READ-ONLY; The entity tag. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the certificate. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // CertificatesClientCreateOrUpdateOptions contains the optional parameters for the CertificatesClient.CreateOrUpdate method. @@ -200,62 +200,62 @@ type ClientBeginManualFailoverOptions struct { // CloudToDeviceProperties - The IoT hub cloud-to-device messaging properties. type CloudToDeviceProperties struct { // The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. - DefaultTTLAsIso8601 *string `json:"defaultTtlAsIso8601,omitempty"` + DefaultTTLAsIso8601 *string // The properties of the feedback queue for cloud-to-device messages. - Feedback *FeedbackProperties `json:"feedback,omitempty"` + Feedback *FeedbackProperties // The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. - MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` + MaxDeliveryCount *int32 } // Description - The description of the IoT hub. type Description struct { // REQUIRED; The resource location. - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; IotHub SKU info - SKU *SKUInfo `json:"sku,omitempty"` + SKU *SKUInfo // The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal // ETag convention. - Etag *string `json:"etag,omitempty"` + Etag *string // The managed identities for the IotHub. - Identity *ArmIdentity `json:"identity,omitempty"` + Identity *ArmIdentity // IotHub properties - Properties *Properties `json:"properties,omitempty"` + Properties *Properties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system meta data relating to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DescriptionListResult - The JSON-serialized array of IotHubDescription objects with a next link. type DescriptionListResult struct { // The array of IotHubDescription objects. - Value []*Description `json:"value,omitempty"` + Value []*Description // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // EndpointHealthData - The health data for an endpoint type EndpointHealthData struct { // Id of the endpoint - EndpointID *string `json:"endpointId,omitempty"` + EndpointID *string // Health statuses have following meanings. The 'healthy' status shows that the endpoint is accepting messages as expected. // The 'unhealthy' status shows that the endpoint is not accepting messages as @@ -265,144 +265,144 @@ type EndpointHealthData struct { // period. See IoT Hub metrics to identify errors and monitor issues with // endpoints. The 'unknown' status shows that the IoT Hub has not established a connection with the endpoint. No messages // have been delivered to or rejected from this endpoint - HealthStatus *EndpointHealthStatus `json:"healthStatus,omitempty"` + HealthStatus *EndpointHealthStatus // Last error obtained when a message failed to be delivered to iot hub - LastKnownError *string `json:"lastKnownError,omitempty"` + LastKnownError *string // Time at which the last known error occurred - LastKnownErrorTime *time.Time `json:"lastKnownErrorTime,omitempty"` + LastKnownErrorTime *time.Time // Last time iot hub tried to send a message to the endpoint - LastSendAttemptTime *time.Time `json:"lastSendAttemptTime,omitempty"` + LastSendAttemptTime *time.Time // Last time iot hub successfully sent a message to the endpoint - LastSuccessfulSendAttemptTime *time.Time `json:"lastSuccessfulSendAttemptTime,omitempty"` + LastSuccessfulSendAttemptTime *time.Time } // EndpointHealthDataListResult - The JSON-serialized array of EndpointHealthData objects with a next link. type EndpointHealthDataListResult struct { // JSON-serialized array of Endpoint health data - Value []*EndpointHealthData `json:"value,omitempty"` + Value []*EndpointHealthData // READ-ONLY; Link to more results - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // EnrichmentProperties - The properties of an enrichment that your IoT hub applies to messages delivered to endpoints. type EnrichmentProperties struct { // REQUIRED; The list of endpoints for which the enrichment is applied to the message. - EndpointNames []*string `json:"endpointNames,omitempty"` + EndpointNames []*string // REQUIRED; The key or name for the enrichment property. - Key *string `json:"key,omitempty"` + Key *string // REQUIRED; The value for the enrichment property. - Value *string `json:"value,omitempty"` + Value *string } // ErrorDetails - Error details. type ErrorDetails struct { // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details *string `json:"details,omitempty" azure:"ro"` + Details *string // READ-ONLY; The HTTP status code. - HTTPStatusCode *string `json:"httpStatusCode,omitempty" azure:"ro"` + HTTPStatusCode *string // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string } // EventHubConsumerGroupBodyDescription - The EventHub consumer group. type EventHubConsumerGroupBodyDescription struct { // REQUIRED; The EventHub consumer group name. - Properties *EventHubConsumerGroupName `json:"properties,omitempty"` + Properties *EventHubConsumerGroupName } // EventHubConsumerGroupInfo - The properties of the EventHubConsumerGroupInfo object. type EventHubConsumerGroupInfo struct { // The tags. - Properties map[string]any `json:"properties,omitempty"` + Properties map[string]any // READ-ONLY; The etag. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string // READ-ONLY; The Event Hub-compatible consumer group identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The Event Hub-compatible consumer group name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // EventHubConsumerGroupName - The EventHub consumer group name. type EventHubConsumerGroupName struct { // REQUIRED; EventHub consumer group name - Name *string `json:"name,omitempty"` + Name *string } // EventHubConsumerGroupsListResult - The JSON-serialized array of Event Hub-compatible consumer group names with a next link. type EventHubConsumerGroupsListResult struct { // List of consumer groups objects - Value []*EventHubConsumerGroupInfo `json:"value,omitempty"` + Value []*EventHubConsumerGroupInfo // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // EventHubProperties - The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub. type EventHubProperties struct { // The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. - PartitionCount *int32 `json:"partitionCount,omitempty"` + PartitionCount *int32 // The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages - RetentionTimeInDays *int64 `json:"retentionTimeInDays,omitempty"` + RetentionTimeInDays *int64 // READ-ONLY; The Event Hub-compatible endpoint. - Endpoint *string `json:"endpoint,omitempty" azure:"ro"` + Endpoint *string // READ-ONLY; The partition ids in the Event Hub-compatible endpoint. - PartitionIDs []*string `json:"partitionIds,omitempty" azure:"ro"` + PartitionIDs []*string // READ-ONLY; The Event Hub-compatible name. - Path *string `json:"path,omitempty" azure:"ro"` + Path *string } // ExportDevicesRequest - Use to provide parameters when requesting an export of all devices in the IoT hub. type ExportDevicesRequest struct { // REQUIRED; The value indicating whether keys should be excluded during export. - ExcludeKeys *bool `json:"excludeKeys,omitempty"` + ExcludeKeys *bool // REQUIRED; The export blob container URI. - ExportBlobContainerURI *string `json:"exportBlobContainerUri,omitempty"` + ExportBlobContainerURI *string // Specifies authentication type being used for connecting to the storage account. - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // The name of the blob that will be created in the provided output blob container. This blob will contain the exported configurations // for the Iot Hub. - ConfigurationsBlobName *string `json:"configurationsBlobName,omitempty"` + ConfigurationsBlobName *string // The name of the blob that will be created in the provided output blob container. This blob will contain the exported device // registry information for the IoT Hub. - ExportBlobName *string `json:"exportBlobName,omitempty"` + ExportBlobName *string // Managed identity properties of storage endpoint for export devices. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The value indicating whether configurations should be exported. - IncludeConfigurations *bool `json:"includeConfigurations,omitempty"` + IncludeConfigurations *bool } // FailoverInput - Use to provide failover region when requesting manual Failover for a hub. type FailoverInput struct { // REQUIRED; Region the hub will be failed over to - FailoverRegion *string `json:"failoverRegion,omitempty"` + FailoverRegion *string } // FallbackRouteProperties - The properties of the fallback route. IoT Hub uses these properties when it routes messages to @@ -410,256 +410,256 @@ type FailoverInput struct { type FallbackRouteProperties struct { // REQUIRED; The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint // is allowed. - EndpointNames []*string `json:"endpointNames,omitempty"` + EndpointNames []*string // REQUIRED; Used to specify whether the fallback route is enabled. - IsEnabled *bool `json:"isEnabled,omitempty"` + IsEnabled *bool // REQUIRED; The source to which the routing rule is to be applied to. For example, DeviceMessages - Source *RoutingSource `json:"source,omitempty"` + Source *RoutingSource // The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate // to true by default. For grammar, See: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language - Condition *string `json:"condition,omitempty"` + Condition *string // The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum // length of 64 characters, and must be unique. - Name *string `json:"name,omitempty"` + Name *string } // FeedbackProperties - The properties of the feedback queue for cloud-to-device messages. type FeedbackProperties struct { // The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. - LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` + LockDurationAsIso8601 *string // The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. - MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` + MaxDeliveryCount *int32 // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. - TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` + TTLAsIso8601 *string } // GroupIDInformation - The group information for creating a private endpoint on an IotHub type GroupIDInformation struct { // REQUIRED; The properties for a group information object - Properties *GroupIDInformationProperties `json:"properties,omitempty"` + Properties *GroupIDInformationProperties // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GroupIDInformationProperties - The properties for a group information object type GroupIDInformationProperties struct { // The group id - GroupID *string `json:"groupId,omitempty"` + GroupID *string // The required members for a specific group id - RequiredMembers []*string `json:"requiredMembers,omitempty"` + RequiredMembers []*string // The required DNS zones for a specific group id - RequiredZoneNames []*string `json:"requiredZoneNames,omitempty"` + RequiredZoneNames []*string } // IPFilterRule - The IP filter rules for the IoT hub. type IPFilterRule struct { // REQUIRED; The desired action for requests captured by this rule. - Action *IPFilterActionType `json:"action,omitempty"` + Action *IPFilterActionType // REQUIRED; The name of the IP filter rule. - FilterName *string `json:"filterName,omitempty"` + FilterName *string // REQUIRED; A string that contains the IP address range in CIDR notation for the rule. - IPMask *string `json:"ipMask,omitempty"` + IPMask *string } // ImportDevicesRequest - Use to provide parameters when requesting an import of all devices in the hub. type ImportDevicesRequest struct { // REQUIRED; The input blob container URI. - InputBlobContainerURI *string `json:"inputBlobContainerUri,omitempty"` + InputBlobContainerURI *string // REQUIRED; The output blob container URI. - OutputBlobContainerURI *string `json:"outputBlobContainerUri,omitempty"` + OutputBlobContainerURI *string // Specifies authentication type being used for connecting to the storage account. - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // The blob name to be used when importing configurations from the provided input blob container. - ConfigurationsBlobName *string `json:"configurationsBlobName,omitempty"` + ConfigurationsBlobName *string // Managed identity properties of storage endpoint for import devices. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The value indicating whether configurations should be imported. - IncludeConfigurations *bool `json:"includeConfigurations,omitempty"` + IncludeConfigurations *bool // The blob name to be used when importing from the provided input blob container. - InputBlobName *string `json:"inputBlobName,omitempty"` + InputBlobName *string // The blob name to use for storing the status of the import job. - OutputBlobName *string `json:"outputBlobName,omitempty"` + OutputBlobName *string } // JobResponse - The properties of the Job Response object. type JobResponse struct { // READ-ONLY; The time the job stopped processing. - EndTimeUTC *time.Time `json:"endTimeUtc,omitempty" azure:"ro"` + EndTimeUTC *time.Time // READ-ONLY; If status == failed, this string containing the reason for the failure. - FailureReason *string `json:"failureReason,omitempty" azure:"ro"` + FailureReason *string // READ-ONLY; The job identifier. - JobID *string `json:"jobId,omitempty" azure:"ro"` + JobID *string // READ-ONLY; The job identifier of the parent job, if any. - ParentJobID *string `json:"parentJobId,omitempty" azure:"ro"` + ParentJobID *string // READ-ONLY; The start time of the job. - StartTimeUTC *time.Time `json:"startTimeUtc,omitempty" azure:"ro"` + StartTimeUTC *time.Time // READ-ONLY; The status of the job. - Status *JobStatus `json:"status,omitempty" azure:"ro"` + Status *JobStatus // READ-ONLY; The status message for the job. - StatusMessage *string `json:"statusMessage,omitempty" azure:"ro"` + StatusMessage *string // READ-ONLY; The type of the job. - Type *JobType `json:"type,omitempty" azure:"ro"` + Type *JobType } // JobResponseListResult - The JSON-serialized array of JobResponse objects with a next link. type JobResponseListResult struct { // The array of JobResponse objects. - Value []*JobResponse `json:"value,omitempty"` + Value []*JobResponse // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LocationDescription - Public representation of one of the locations where a resource is provisioned. type LocationDescription struct { // The name of the Azure region - Location *string `json:"location,omitempty"` + Location *string // The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. // The secondary region is the Azure disaster recovery (DR) paired region and // also the region where the IoT hub can failover to. - Role *IotHubReplicaRoleType `json:"role,omitempty"` + Role *IotHubReplicaRoleType } // ManagedIdentity - The properties of the Managed identity. type ManagedIdentity struct { // The user assigned identity. - UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` + UserAssignedIdentity *string } // MatchedRoute - Routes that matched type MatchedRoute struct { // Properties of routes that matched - Properties *RouteProperties `json:"properties,omitempty"` + Properties *RouteProperties } // MessagingEndpointProperties - The properties of the messaging endpoints used by this IoT hub. type MessagingEndpointProperties struct { // The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. - LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` + LockDurationAsIso8601 *string // The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. - MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` + MaxDeliveryCount *int32 // The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. - TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` + TTLAsIso8601 *string } // Name of Iot Hub type type Name struct { // Localized value of name - LocalizedValue *string `json:"localizedValue,omitempty"` + LocalizedValue *string // IotHub type - Value *string `json:"value,omitempty"` + Value *string } // NameAvailabilityInfo - The properties indicating whether a given IoT hub name is available. type NameAvailabilityInfo struct { // The detailed reason message. - Message *string `json:"message,omitempty"` + Message *string // READ-ONLY; The value which indicates whether the provided name is available. - NameAvailable *bool `json:"nameAvailable,omitempty" azure:"ro"` + NameAvailable *bool // READ-ONLY; The reason for unavailability. - Reason *IotHubNameUnavailabilityReason `json:"reason,omitempty" azure:"ro"` + Reason *IotHubNameUnavailabilityReason } // NetworkRuleSetIPRule - IP Rule to be applied as part of Network Rule Set type NetworkRuleSetIPRule struct { // REQUIRED; Name of the IP filter rule. - FilterName *string `json:"filterName,omitempty"` + FilterName *string // REQUIRED; A string that contains the IP address range in CIDR notation for the rule. - IPMask *string `json:"ipMask,omitempty"` + IPMask *string // IP Filter Action - Action *NetworkRuleIPAction `json:"action,omitempty"` + Action *NetworkRuleIPAction } // NetworkRuleSetProperties - Network Rule Set Properties of IotHub type NetworkRuleSetProperties struct { // REQUIRED; If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub - ApplyToBuiltInEventHubEndpoint *bool `json:"applyToBuiltInEventHubEndpoint,omitempty"` + ApplyToBuiltInEventHubEndpoint *bool // REQUIRED; List of IP Rules - IPRules []*NetworkRuleSetIPRule `json:"ipRules,omitempty"` + IPRules []*NetworkRuleSetIPRule // Default Action for Network Rule Set - DefaultAction *DefaultAction `json:"defaultAction,omitempty"` + DefaultAction *DefaultAction } // Operation - IoT Hub REST API operation type Operation struct { // The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // READ-ONLY; Operation name: {provider}/{resource}/{read | write | action | delete} - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // READ-ONLY; Description of the operation - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Name of the operation - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Service provider: Microsoft Devices - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource Type: IotHubs - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationInputs - Input values. type OperationInputs struct { // REQUIRED; The name of the IoT hub to check. - Name *string `json:"name,omitempty"` + Name *string } // OperationListResult - Result of the request to list IoT Hub operations. It contains a list of operations and a URL link // to get the next set of results. type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of IoT Hub operations supported by the Microsoft.Devices resource provider. - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -670,31 +670,31 @@ type OperationsClientListOptions struct { // PrivateEndpoint - The private endpoint property of a private endpoint connection type PrivateEndpoint struct { // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // PrivateEndpointConnection - The private endpoint connection of an IotHub type PrivateEndpointConnection struct { // REQUIRED; The properties of a private endpoint connection - Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Properties *PrivateEndpointConnectionProperties // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateEndpointConnectionProperties - The properties of a private endpoint connection type PrivateEndpointConnectionProperties struct { // REQUIRED; The current state of a private endpoint connection - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState // The private endpoint property of a private endpoint connection - PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` + PrivateEndpoint *PrivateEndpoint } // PrivateEndpointConnectionsClientBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginDelete @@ -726,7 +726,7 @@ type PrivateEndpointConnectionsClientListOptions struct { // PrivateLinkResources - The available private link resources for an IotHub type PrivateLinkResources struct { // The list of available private link resources for an IotHub - Value []*GroupIDInformation `json:"value,omitempty"` + Value []*GroupIDInformation } // PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method. @@ -742,144 +742,144 @@ type PrivateLinkResourcesClientListOptions struct { // PrivateLinkServiceConnectionState - The current state of a private endpoint connection type PrivateLinkServiceConnectionState struct { // REQUIRED; The description for the current state of a private endpoint connection - Description *string `json:"description,omitempty"` + Description *string // REQUIRED; The status of a private endpoint connection - Status *PrivateLinkServiceConnectionStatus `json:"status,omitempty"` + Status *PrivateLinkServiceConnectionStatus // Actions required for a private endpoint connection - ActionsRequired *string `json:"actionsRequired,omitempty"` + ActionsRequired *string } // Properties - The properties of an IoT hub. type Properties struct { // List of allowed FQDNs(Fully Qualified Domain Name) for egress from Iot Hub. - AllowedFqdnList []*string `json:"allowedFqdnList,omitempty"` + AllowedFqdnList []*string // The shared access policies you can use to secure a connection to the IoT hub. - AuthorizationPolicies []*SharedAccessSignatureAuthorizationRule `json:"authorizationPolicies,omitempty"` + AuthorizationPolicies []*SharedAccessSignatureAuthorizationRule // The IoT hub cloud-to-device messaging properties. - CloudToDevice *CloudToDeviceProperties `json:"cloudToDevice,omitempty"` + CloudToDevice *CloudToDeviceProperties // IoT hub comments. - Comments *string `json:"comments,omitempty"` + Comments *string // If true, all device(including Edge devices but excluding modules) scoped SAS keys cannot be used for authentication. - DisableDeviceSAS *bool `json:"disableDeviceSAS,omitempty"` + DisableDeviceSAS *bool // If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. - DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` + DisableLocalAuth *bool // If true, all module scoped SAS keys cannot be used for authentication. - DisableModuleSAS *bool `json:"disableModuleSAS,omitempty"` + DisableModuleSAS *bool // This property when set to true, will enable data residency, thus, disabling disaster recovery. - EnableDataResidency *bool `json:"enableDataResidency,omitempty"` + EnableDataResidency *bool // If True, file upload notifications are enabled. - EnableFileUploadNotifications *bool `json:"enableFileUploadNotifications,omitempty"` + EnableFileUploadNotifications *bool // The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present // in the dictionary while making create or update calls for the IoT hub. - EventHubEndpoints map[string]*EventHubProperties `json:"eventHubEndpoints,omitempty"` + EventHubEndpoints map[string]*EventHubProperties // The capabilities and features enabled for the IoT hub. - Features *Capabilities `json:"features,omitempty"` + Features *Capabilities // The IP filter rules. - IPFilterRules []*IPFilterRule `json:"ipFilterRules,omitempty"` + IPFilterRules []*IPFilterRule // The messaging endpoint properties for the file upload notification queue. - MessagingEndpoints map[string]*MessagingEndpointProperties `json:"messagingEndpoints,omitempty"` + MessagingEndpoints map[string]*MessagingEndpointProperties // Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below // 1.2 to be rejected. - MinTLSVersion *string `json:"minTlsVersion,omitempty"` + MinTLSVersion *string // Network Rule Set Properties of IotHub - NetworkRuleSets *NetworkRuleSetProperties `json:"networkRuleSets,omitempty"` + NetworkRuleSets *NetworkRuleSetProperties // Private endpoint connections created on this IotHub - PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` + PrivateEndpointConnections []*PrivateEndpointConnection // Whether requests from Public Network are allowed - PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccess // If true, egress from IotHub will be restricted to only the allowed FQDNs that are configured via allowedFqdnList. - RestrictOutboundNetworkAccess *bool `json:"restrictOutboundNetworkAccess,omitempty"` + RestrictOutboundNetworkAccess *bool // The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging - Routing *RoutingProperties `json:"routing,omitempty"` + Routing *RoutingProperties // The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account // and that MUST have its key as $default. Specifying more than one storage // account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property // is set to True, causes an error to be thrown. - StorageEndpoints map[string]*StorageEndpointProperties `json:"storageEndpoints,omitempty"` + StorageEndpoints map[string]*StorageEndpointProperties // READ-ONLY; The name of the host. - HostName *string `json:"hostName,omitempty" azure:"ro"` + HostName *string // READ-ONLY; Primary and secondary location for iot hub - Locations []*LocationDescription `json:"locations,omitempty" azure:"ro"` + Locations []*LocationDescription // READ-ONLY; The provisioning state. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string // READ-ONLY; The hub state. - State *string `json:"state,omitempty" azure:"ro"` + State *string } // QuotaMetricInfo - Quota metrics properties. type QuotaMetricInfo struct { // READ-ONLY; The current value for the quota metric. - CurrentValue *int64 `json:"currentValue,omitempty" azure:"ro"` + CurrentValue *int64 // READ-ONLY; The maximum value of the quota metric. - MaxValue *int64 `json:"maxValue,omitempty" azure:"ro"` + MaxValue *int64 // READ-ONLY; The name of the quota metric. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // QuotaMetricInfoListResult - The JSON-serialized array of IotHubQuotaMetricInfo objects with a next link. type QuotaMetricInfoListResult struct { // The array of quota metrics objects. - Value []*QuotaMetricInfo `json:"value,omitempty"` + Value []*QuotaMetricInfo // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // RegistryStatistics - Identity registry statistics. type RegistryStatistics struct { // READ-ONLY; The count of disabled devices in the identity registry. - DisabledDeviceCount *int64 `json:"disabledDeviceCount,omitempty" azure:"ro"` + DisabledDeviceCount *int64 // READ-ONLY; The count of enabled devices in the identity registry. - EnabledDeviceCount *int64 `json:"enabledDeviceCount,omitempty" azure:"ro"` + EnabledDeviceCount *int64 // READ-ONLY; The total count of devices in the identity registry. - TotalDeviceCount *int64 `json:"totalDeviceCount,omitempty" azure:"ro"` + TotalDeviceCount *int64 } // Resource - The common properties of an Azure resource. type Resource struct { // REQUIRED; The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceClientBeginCreateOrUpdateOptions contains the optional parameters for the ResourceClient.BeginCreateOrUpdate method. @@ -1019,53 +1019,53 @@ type ResourceProviderCommonClientGetSubscriptionQuotaOptions struct { // RouteCompilationError - Compilation error when evaluating route type RouteCompilationError struct { // Location where the route error happened - Location *RouteErrorRange `json:"location,omitempty"` + Location *RouteErrorRange // Route error message - Message *string `json:"message,omitempty"` + Message *string // Severity of the route error - Severity *RouteErrorSeverity `json:"severity,omitempty"` + Severity *RouteErrorSeverity } // RouteErrorPosition - Position where the route error happened type RouteErrorPosition struct { // Column where the route error happened - Column *int32 `json:"column,omitempty"` + Column *int32 // Line where the route error happened - Line *int32 `json:"line,omitempty"` + Line *int32 } // RouteErrorRange - Range of route errors type RouteErrorRange struct { // End where the route error happened - End *RouteErrorPosition `json:"end,omitempty"` + End *RouteErrorPosition // Start where the route error happened - Start *RouteErrorPosition `json:"start,omitempty"` + Start *RouteErrorPosition } // RouteProperties - The properties of a routing rule that your IoT hub uses to route messages to endpoints. type RouteProperties struct { // REQUIRED; The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is // allowed. - EndpointNames []*string `json:"endpointNames,omitempty"` + EndpointNames []*string // REQUIRED; Used to specify whether a route is enabled. - IsEnabled *bool `json:"isEnabled,omitempty"` + IsEnabled *bool // REQUIRED; The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has // a maximum length of 64 characters, and must be unique. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The source that the routing rule is to be applied to, such as DeviceMessages. - Source *RoutingSource `json:"source,omitempty"` + Source *RoutingSource // The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. // For grammar, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language - Condition *string `json:"condition,omitempty"` + Condition *string } // RoutingEndpoints - The properties related to the custom endpoints to which your IoT hub routes messages based on the routing @@ -1074,16 +1074,16 @@ type RouteProperties struct { type RoutingEndpoints struct { // The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include // the built-in Event Hubs endpoint. - EventHubs []*RoutingEventHubProperties `json:"eventHubs,omitempty"` + EventHubs []*RoutingEventHubProperties // The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. - ServiceBusQueues []*RoutingServiceBusQueueEndpointProperties `json:"serviceBusQueues,omitempty"` + ServiceBusQueues []*RoutingServiceBusQueueEndpointProperties // The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. - ServiceBusTopics []*RoutingServiceBusTopicEndpointProperties `json:"serviceBusTopics,omitempty"` + ServiceBusTopics []*RoutingServiceBusTopicEndpointProperties // The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. - StorageContainers []*RoutingStorageContainerProperties `json:"storageContainers,omitempty"` + StorageContainers []*RoutingStorageContainerProperties } // RoutingEventHubProperties - The properties related to an event hub endpoint. @@ -1091,43 +1091,43 @@ type RoutingEventHubProperties struct { // REQUIRED; The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, // hyphens and has a maximum length of 64 characters. The following names are reserved: // events, fileNotifications, $default. Endpoint names must be unique across endpoint types. - Name *string `json:"name,omitempty"` + Name *string // Method used to authenticate against the event hub endpoint - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // The connection string of the event hub endpoint. - ConnectionString *string `json:"connectionString,omitempty"` + ConnectionString *string // The url of the event hub endpoint. It must include the protocol sb:// - EndpointURI *string `json:"endpointUri,omitempty"` + EndpointURI *string // Event hub name on the event hub namespace - EntityPath *string `json:"entityPath,omitempty"` + EntityPath *string // Id of the event hub endpoint - ID *string `json:"id,omitempty"` + ID *string // Managed identity properties of routing event hub endpoint. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The name of the resource group of the event hub endpoint. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // The subscription identifier of the event hub endpoint. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string } // RoutingMessage - Routing message type RoutingMessage struct { // App properties - AppProperties map[string]*string `json:"appProperties,omitempty"` + AppProperties map[string]*string // Body of routing message - Body *string `json:"body,omitempty"` + Body *string // System properties - SystemProperties map[string]*string `json:"systemProperties,omitempty"` + SystemProperties map[string]*string } // RoutingProperties - The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging @@ -1135,22 +1135,22 @@ type RoutingProperties struct { // The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum // of 10 custom endpoints are allowed across all endpoint types for paid hubs // and only 1 custom endpoint is allowed across all endpoint types for free hubs. - Endpoints *RoutingEndpoints `json:"endpoints,omitempty"` + Endpoints *RoutingEndpoints // The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. // See: https://aka.ms/telemetryoneventgrid - Enrichments []*EnrichmentProperties `json:"enrichments,omitempty"` + Enrichments []*EnrichmentProperties // The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section // are met. This is an optional parameter. When this property is not set, the // messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub // endpoint. - FallbackRoute *FallbackRouteProperties `json:"fallbackRoute,omitempty"` + FallbackRoute *FallbackRouteProperties // The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum // of 100 routing rules are allowed for paid hubs and a maximum of 5 routing // rules are allowed for free hubs. - Routes []*RouteProperties `json:"routes,omitempty"` + Routes []*RouteProperties } // RoutingServiceBusQueueEndpointProperties - The properties related to service bus queue endpoint types. @@ -1159,31 +1159,31 @@ type RoutingServiceBusQueueEndpointProperties struct { // hyphens and has a maximum length of 64 characters. The following names are reserved: // events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same // as the actual queue name. - Name *string `json:"name,omitempty"` + Name *string // Method used to authenticate against the service bus queue endpoint - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // The connection string of the service bus queue endpoint. - ConnectionString *string `json:"connectionString,omitempty"` + ConnectionString *string // The url of the service bus queue endpoint. It must include the protocol sb:// - EndpointURI *string `json:"endpointUri,omitempty"` + EndpointURI *string // Queue name on the service bus namespace - EntityPath *string `json:"entityPath,omitempty"` + EntityPath *string // Id of the service bus queue endpoint - ID *string `json:"id,omitempty"` + ID *string // Managed identity properties of routing service bus queue endpoint. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The name of the resource group of the service bus queue endpoint. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // The subscription identifier of the service bus queue endpoint. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string } // RoutingServiceBusTopicEndpointProperties - The properties related to service bus topic endpoint types. @@ -1192,270 +1192,270 @@ type RoutingServiceBusTopicEndpointProperties struct { // hyphens and has a maximum length of 64 characters. The following names are reserved: // events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same // as the actual topic name. - Name *string `json:"name,omitempty"` + Name *string // Method used to authenticate against the service bus topic endpoint - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // The connection string of the service bus topic endpoint. - ConnectionString *string `json:"connectionString,omitempty"` + ConnectionString *string // The url of the service bus topic endpoint. It must include the protocol sb:// - EndpointURI *string `json:"endpointUri,omitempty"` + EndpointURI *string // Queue name on the service bus topic - EntityPath *string `json:"entityPath,omitempty"` + EntityPath *string // Id of the service bus topic endpoint - ID *string `json:"id,omitempty"` + ID *string // Managed identity properties of routing service bus topic endpoint. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The name of the resource group of the service bus topic endpoint. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // The subscription identifier of the service bus topic endpoint. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string } // RoutingStorageContainerProperties - The properties related to a storage container endpoint. type RoutingStorageContainerProperties struct { // REQUIRED; The name of storage container in the storage account. - ContainerName *string `json:"containerName,omitempty"` + ContainerName *string // REQUIRED; The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, // hyphens and has a maximum length of 64 characters. The following names are reserved: // events, fileNotifications, $default. Endpoint names must be unique across endpoint types. - Name *string `json:"name,omitempty"` + Name *string // Method used to authenticate against the storage endpoint - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. - BatchFrequencyInSeconds *int32 `json:"batchFrequencyInSeconds,omitempty"` + BatchFrequencyInSeconds *int32 // The connection string of the storage account. - ConnectionString *string `json:"connectionString,omitempty"` + ConnectionString *string // Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value // is 'avro'. - Encoding *RoutingStorageContainerPropertiesEncoding `json:"encoding,omitempty"` + Encoding *RoutingStorageContainerPropertiesEncoding // The url of the storage endpoint. It must include the protocol https:// - EndpointURI *string `json:"endpointUri,omitempty"` + EndpointURI *string // File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory // but can be reordered. - FileNameFormat *string `json:"fileNameFormat,omitempty"` + FileNameFormat *string // Id of the storage container endpoint - ID *string `json:"id,omitempty"` + ID *string // Managed identity properties of routing storage endpoint. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). // Default value is 314572800(300MB). - MaxChunkSizeInBytes *int32 `json:"maxChunkSizeInBytes,omitempty"` + MaxChunkSizeInBytes *int32 // The name of the resource group of the storage account. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // The subscription identifier of the storage account. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string } // RoutingTwin - Twin reference input parameter. This is an optional parameter type RoutingTwin struct { - Properties *RoutingTwinProperties `json:"properties,omitempty"` + Properties *RoutingTwinProperties // Twin Tags - Tags any `json:"tags,omitempty"` + Tags any } type RoutingTwinProperties struct { // Twin desired properties - Desired any `json:"desired,omitempty"` + Desired any // Twin desired properties - Reported any `json:"reported,omitempty"` + Reported any } // SKUDescription - SKU properties. type SKUDescription struct { // REQUIRED; IotHub capacity - Capacity *Capacity `json:"capacity,omitempty"` + Capacity *Capacity // REQUIRED; The type of the resource. - SKU *SKUInfo `json:"sku,omitempty"` + SKU *SKUInfo // READ-ONLY; The type of the resource. - ResourceType *string `json:"resourceType,omitempty" azure:"ro"` + ResourceType *string } // SKUDescriptionListResult - The JSON-serialized array of IotHubSkuDescription objects with a next link. type SKUDescriptionListResult struct { // The array of IotHubSkuDescription. - Value []*SKUDescription `json:"value,omitempty"` + Value []*SKUDescription // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // SKUInfo - Information about the SKU of the IoT hub. type SKUInfo struct { // REQUIRED; The name of the SKU. - Name *IotHubSKU `json:"name,omitempty"` + Name *IotHubSKU // The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. - Capacity *int64 `json:"capacity,omitempty"` + Capacity *int64 // READ-ONLY; The billing tier for the IoT hub. - Tier *IotHubSKUTier `json:"tier,omitempty" azure:"ro"` + Tier *IotHubSKUTier } // SharedAccessSignatureAuthorizationRule - The properties of an IoT hub shared access policy. type SharedAccessSignatureAuthorizationRule struct { // REQUIRED; The name of the shared access policy. - KeyName *string `json:"keyName,omitempty"` + KeyName *string // REQUIRED; The permissions assigned to the shared access policy. - Rights *AccessRights `json:"rights,omitempty"` + Rights *AccessRights // The primary key. - PrimaryKey *string `json:"primaryKey,omitempty"` + PrimaryKey *string // The secondary key. - SecondaryKey *string `json:"secondaryKey,omitempty"` + SecondaryKey *string } // SharedAccessSignatureAuthorizationRuleListResult - The list of shared access policies with a next link. type SharedAccessSignatureAuthorizationRuleListResult struct { // The list of shared access policies. - Value []*SharedAccessSignatureAuthorizationRule `json:"value,omitempty"` + Value []*SharedAccessSignatureAuthorizationRule // READ-ONLY; The next link. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // StorageEndpointProperties - The properties of the Azure Storage endpoint for file upload. type StorageEndpointProperties struct { // REQUIRED; The connection string for the Azure Storage account to which files are uploaded. - ConnectionString *string `json:"connectionString,omitempty"` + ConnectionString *string // REQUIRED; The name of the root container where you upload files. The container need not exist but should be creatable using // the connectionString specified. - ContainerName *string `json:"containerName,omitempty"` + ContainerName *string // Specifies authentication type being used for connecting to the storage account. - AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` + AuthenticationType *AuthenticationType // Managed identity properties of storage endpoint for file upload. - Identity *ManagedIdentity `json:"identity,omitempty"` + Identity *ManagedIdentity // The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. - SasTTLAsIso8601 *string `json:"sasTtlAsIso8601,omitempty"` + SasTTLAsIso8601 *string } // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // TagsResource - A container holding only the Tags for a resource, allowing the user to update the tags on an IoT Hub instance. type TagsResource struct { // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // TestAllRoutesInput - Input for testing all routes type TestAllRoutesInput struct { // Routing message - Message *RoutingMessage `json:"message,omitempty"` + Message *RoutingMessage // Routing source - RoutingSource *RoutingSource `json:"routingSource,omitempty"` + RoutingSource *RoutingSource // Routing Twin Reference - Twin *RoutingTwin `json:"twin,omitempty"` + Twin *RoutingTwin } // TestAllRoutesResult - Result of testing all routes type TestAllRoutesResult struct { // JSON-serialized array of matched routes - Routes []*MatchedRoute `json:"routes,omitempty"` + Routes []*MatchedRoute } // TestRouteInput - Input for testing route type TestRouteInput struct { // REQUIRED; Route properties - Route *RouteProperties `json:"route,omitempty"` + Route *RouteProperties // Routing message - Message *RoutingMessage `json:"message,omitempty"` + Message *RoutingMessage // Routing Twin Reference - Twin *RoutingTwin `json:"twin,omitempty"` + Twin *RoutingTwin } // TestRouteResult - Result of testing one route type TestRouteResult struct { // Detailed result of testing route - Details *TestRouteResultDetails `json:"details,omitempty"` + Details *TestRouteResultDetails // Result of testing route - Result *TestResultStatus `json:"result,omitempty"` + Result *TestResultStatus } // TestRouteResultDetails - Detailed result of testing a route type TestRouteResultDetails struct { // JSON-serialized list of route compilation errors - CompilationErrors []*RouteCompilationError `json:"compilationErrors,omitempty"` + CompilationErrors []*RouteCompilationError } // UserSubscriptionQuota - User subscription quota response type UserSubscriptionQuota struct { // Current number of IotHub type - CurrentValue *int32 `json:"currentValue,omitempty"` + CurrentValue *int32 // IotHub type id - ID *string `json:"id,omitempty"` + ID *string // Numerical limit on IotHub type - Limit *int32 `json:"limit,omitempty"` + Limit *int32 // IotHub type - Name *Name `json:"name,omitempty"` + Name *Name // Response type - Type *string `json:"type,omitempty"` + Type *string // Unit of IotHub type - Unit *string `json:"unit,omitempty"` + Unit *string } // UserSubscriptionQuotaListResult - Json-serialized array of User subscription quota response type UserSubscriptionQuotaListResult struct { - Value []*UserSubscriptionQuota `json:"value,omitempty"` + Value []*UserSubscriptionQuota // READ-ONLY - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } diff --git a/sdk/resourcemanager/iothub/armiothub/models_serde.go b/sdk/resourcemanager/iothub/armiothub/models_serde.go index 53bf98a16630..9393f53f9057 100644 --- a/sdk/resourcemanager/iothub/armiothub/models_serde.go +++ b/sdk/resourcemanager/iothub/armiothub/models_serde.go @@ -2575,7 +2575,7 @@ func (r *RoutingStorageContainerProperties) UnmarshalJSON(data []byte) error { func (r RoutingTwin) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "properties", r.Properties) - populate(objectMap, "tags", &r.Tags) + populateAny(objectMap, "tags", r.Tags) return json.Marshal(objectMap) } @@ -2605,8 +2605,8 @@ func (r *RoutingTwin) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type RoutingTwinProperties. func (r RoutingTwinProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "desired", &r.Desired) - populate(objectMap, "reported", &r.Reported) + populateAny(objectMap, "desired", r.Desired) + populateAny(objectMap, "reported", r.Reported) return json.Marshal(objectMap) } @@ -3164,6 +3164,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/iotsecurity/armiotsecurity/CHANGELOG.md b/sdk/resourcemanager/iotsecurity/armiotsecurity/CHANGELOG.md index 88f8c2c4131b..d98d51fb2730 100644 --- a/sdk/resourcemanager/iotsecurity/armiotsecurity/CHANGELOG.md +++ b/sdk/resourcemanager/iotsecurity/armiotsecurity/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.6.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 0.6.0 (2023-04-03) ### Breaking Changes diff --git a/sdk/resourcemanager/iotsecurity/armiotsecurity/autorest.md b/sdk/resourcemanager/iotsecurity/armiotsecurity/autorest.md index 1e4349538982..bd5a7d48c71d 100644 --- a/sdk/resourcemanager/iotsecurity/armiotsecurity/autorest.md +++ b/sdk/resourcemanager/iotsecurity/armiotsecurity/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/f790e624d0d080b89d962a3bd19c65bc6a6b2f5e/specification/iotsecurity/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/f790e624d0d080b89d962a3bd19c65bc6a6b2f5e/specification/iotsecurity/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.6.0 +module-version: 0.6.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/iotsecurity/armiotsecurity/constants.go b/sdk/resourcemanager/iotsecurity/armiotsecurity/constants.go index cdaed6fcfc12..971e408d877e 100644 --- a/sdk/resourcemanager/iotsecurity/armiotsecurity/constants.go +++ b/sdk/resourcemanager/iotsecurity/armiotsecurity/constants.go @@ -11,7 +11,7 @@ package armiotsecurity const ( moduleName = "armiotsecurity" - moduleVersion = "v0.6.0" + moduleVersion = "v0.6.1" ) // AuthorizedState - Authorized state of the device. diff --git a/sdk/resourcemanager/iotsecurity/armiotsecurity/models.go b/sdk/resourcemanager/iotsecurity/armiotsecurity/models.go index a65dc76c97fa..487d64b0f0b5 100644 --- a/sdk/resourcemanager/iotsecurity/armiotsecurity/models.go +++ b/sdk/resourcemanager/iotsecurity/armiotsecurity/models.go @@ -47,73 +47,73 @@ type DefenderSettingsClientPackageDownloadsOptions struct { // DefenderSettingsList - List of IoT Defender settings type DefenderSettingsList struct { // READ-ONLY; List data - Value []*DefenderSettingsModel `json:"value,omitempty" azure:"ro"` + Value []*DefenderSettingsModel } // DefenderSettingsModel - IoT Defender settings type DefenderSettingsModel struct { // IoT Defender settings properties - Properties *DefenderSettingsProperties `json:"properties,omitempty"` + Properties *DefenderSettingsProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DefenderSettingsProperties - IoT Defender settings properties type DefenderSettingsProperties struct { // REQUIRED; Size of the device quota. Value is required to be in multiples of 100. - DeviceQuota *int32 `json:"deviceQuota,omitempty"` + DeviceQuota *int32 // REQUIRED; MDE integration configuration - MdeIntegration *DefenderSettingsPropertiesMdeIntegration `json:"mdeIntegration,omitempty"` + MdeIntegration *DefenderSettingsPropertiesMdeIntegration // REQUIRED; The kind of onboarding for the subscription - OnboardingKind *OnboardingKind `json:"onboardingKind,omitempty"` + OnboardingKind *OnboardingKind // REQUIRED; Sentinel Workspace Resource Ids - SentinelWorkspaceResourceIDs []*string `json:"sentinelWorkspaceResourceIds,omitempty"` + SentinelWorkspaceResourceIDs []*string // READ-ONLY; End time of the evaluation period, if such exist - EvaluationEndTime *time.Time `json:"evaluationEndTime,omitempty" azure:"ro"` + EvaluationEndTime *time.Time } // DefenderSettingsPropertiesMdeIntegration - MDE integration configuration type DefenderSettingsPropertiesMdeIntegration struct { // REQUIRED; Integration status - Status *MdeIntegration `json:"status,omitempty"` + Status *MdeIntegration } // DeviceGroupList - List of device groups type DeviceGroupList struct { // READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List data - Value []*DeviceGroupModel `json:"value,omitempty" azure:"ro"` + Value []*DeviceGroupModel } // DeviceGroupModel - Device group type DeviceGroupModel struct { // Device group properties - Properties any `json:"properties,omitempty"` + Properties any // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DeviceGroupsClientCreateOrUpdateOptions contains the optional parameters for the DeviceGroupsClient.CreateOrUpdate method. @@ -139,142 +139,142 @@ type DeviceGroupsClientListOptions struct { // DeviceList - List of devices type DeviceList struct { // READ-ONLY; When there are too many devices for one page, use this URI to fetch the next page. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List data - Value []*DeviceModel `json:"value,omitempty" azure:"ro"` + Value []*DeviceModel } // DeviceModel - Device type DeviceModel struct { // Device properties - Properties *DeviceProperties `json:"properties,omitempty"` + Properties *DeviceProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DeviceProperties - Device properties type DeviceProperties struct { // A bag of fields which extends the device information. - AdditionalFields any `json:"additionalFields,omitempty"` + AdditionalFields any // Authorized state of the device. - AuthorizedState *AuthorizedState `json:"authorizedState,omitempty"` + AuthorizedState *AuthorizedState // Device business function - BusinessFunction *string `json:"businessFunction,omitempty"` + BusinessFunction *string // Device criticality. - Criticality *Criticality `json:"criticality,omitempty"` + Criticality *Criticality // Device category id - DeviceCategoryID *int32 `json:"deviceCategoryId,omitempty"` + DeviceCategoryID *int32 // Device name - DeviceName *string `json:"deviceName,omitempty"` + DeviceName *string // Device sub type id - DeviceSubTypeID *int32 `json:"deviceSubTypeId,omitempty"` + DeviceSubTypeID *int32 // Device tags - DeviceTags []*string `json:"deviceTags,omitempty"` + DeviceTags []*string // Device type id - DeviceTypeID *int32 `json:"deviceTypeId,omitempty"` + DeviceTypeID *int32 // List of device firmwares. - Firmwares []*Firmware `json:"firmwares,omitempty"` + Firmwares []*Firmware // Device hardware data - Hardware *Hardware `json:"hardware,omitempty"` + Hardware *Hardware // Device operating system data - OperatingSystem *OperatingSystem `json:"operatingSystem,omitempty"` + OperatingSystem *OperatingSystem // List of device packages - Packages []*Package `json:"packages,omitempty"` + Packages []*Package // Purdue level of the device. - PurdueLevel *PurdueLevel `json:"purdueLevel,omitempty"` + PurdueLevel *PurdueLevel // READ-ONLY; List of Common Platform Enumeration (CPE) - Cpes []*string `json:"cpes,omitempty" azure:"ro"` + Cpes []*string // READ-ONLY; Device category display name - DeviceCategoryDisplayName *string `json:"deviceCategoryDisplayName,omitempty" azure:"ro"` + DeviceCategoryDisplayName *string // READ-ONLY; Device data source. - DeviceDataSource *DeviceDataSource `json:"deviceDataSource,omitempty" azure:"ro"` + DeviceDataSource *DeviceDataSource // READ-ONLY; Device status. - DeviceStatus *DeviceStatus `json:"deviceStatus,omitempty" azure:"ro"` + DeviceStatus *DeviceStatus // READ-ONLY; Device sub type display name - DeviceSubTypeDisplayName *string `json:"deviceSubTypeDisplayName,omitempty" azure:"ro"` + DeviceSubTypeDisplayName *string // READ-ONLY; Device type display name - DeviceTypeDisplayName *string `json:"deviceTypeDisplayName,omitempty" azure:"ro"` + DeviceTypeDisplayName *string // READ-ONLY; First time the device was seen. - FirstSeen *time.Time `json:"firstSeen,omitempty" azure:"ro"` + FirstSeen *time.Time // READ-ONLY; last time the device was programming or programed. - LastProgrammingTime *time.Time `json:"lastProgrammingTime,omitempty" azure:"ro"` + LastProgrammingTime *time.Time // READ-ONLY; Last time the device was seen. - LastSeen *time.Time `json:"lastSeen,omitempty" azure:"ro"` + LastSeen *time.Time // READ-ONLY; Last time the device was updated by the profiler. - LastUpdated *time.Time `json:"lastUpdated,omitempty" azure:"ro"` + LastUpdated *time.Time // READ-ONLY; List of merged devices data - MergedDevices []*MergedDevice `json:"mergedDevices,omitempty" azure:"ro"` + MergedDevices []*MergedDevice // READ-ONLY; The device Id that this device was merged into - MergedToDeviceID *string `json:"mergedToDeviceId,omitempty" azure:"ro"` + MergedToDeviceID *string // READ-ONLY; List of the device network interface cards. - Nics []*Nic `json:"nics,omitempty" azure:"ro"` + Nics []*Nic // READ-ONLY; Device onboarding status. - OnboardingStatus *OnboardingStatus `json:"onboardingStatus,omitempty" azure:"ro"` + OnboardingStatus *OnboardingStatus // READ-ONLY; For nested device, this is the parent device id. - ParentDeviceID *string `json:"parentDeviceId,omitempty" azure:"ro"` + ParentDeviceID *string // READ-ONLY; For nested device, this is the rack number in the parent device that holds the nested device. - ParentRackNumber *int32 `json:"parentRackNumber,omitempty" azure:"ro"` + ParentRackNumber *int32 // READ-ONLY; For nested device, this is the slot number in the parent device that holds the nested device. - ParentSlotNumber *int32 `json:"parentSlotNumber,omitempty" azure:"ro"` + ParentSlotNumber *int32 // READ-ONLY; Confidence of the device profile - ProfilingConfidence *int32 `json:"profilingConfidence,omitempty" azure:"ro"` + ProfilingConfidence *int32 // READ-ONLY; Indicates whether this device is programming - ProgrammingState *ProgrammingState `json:"programmingState,omitempty" azure:"ro"` + ProgrammingState *ProgrammingState // READ-ONLY; risk score of the device. - RiskScore *int32 `json:"riskScore,omitempty" azure:"ro"` + RiskScore *int32 // READ-ONLY; Version of the device model schema - SchemaVersion *string `json:"schemaVersion,omitempty" azure:"ro"` + SchemaVersion *string // READ-ONLY; Sensor that scanned this device. - Sensor *Sensor `json:"sensor,omitempty" azure:"ro"` + Sensor *Sensor // READ-ONLY; List of the device slot in the backplane - Slots []*Slot `json:"slots,omitempty" azure:"ro"` + Slots []*Slot } // DevicesClientGetOptions contains the optional parameters for the DevicesClient.Get method. @@ -291,143 +291,143 @@ type DevicesClientListOptions struct { // DimensionProperties - properties for dimension type DimensionProperties struct { // localized display name of the dimension to customer - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // dimension name - Name *string `json:"name,omitempty"` + Name *string // flag indicating whether this dimension should be included to the customer in Azure Monitor logs (aka Shoebox) - ToBeExportedForCustomer *bool `json:"toBeExportedForCustomer,omitempty"` + ToBeExportedForCustomer *bool } // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorModel - Default error model type ErrorModel struct { // READ-ONLY; Gets or sets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets or sets the details. - Details []*ErrorModel `json:"details,omitempty" azure:"ro"` + Details []*ErrorModel // READ-ONLY; Gets or sets the messages. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; Gets or sets the target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // ErrorResponseModel - Default error response model type ErrorResponseModel struct { // READ-ONLY; Gets or sets the error. - Error *ErrorResponseModelError `json:"error,omitempty" azure:"ro"` + Error *ErrorResponseModelError } // ErrorResponseModelError - Gets or sets the error. type ErrorResponseModelError struct { // READ-ONLY; Gets or sets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets or sets the details. - Details []*ErrorModel `json:"details,omitempty" azure:"ro"` + Details []*ErrorModel // READ-ONLY; Gets or sets the messages. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; Gets or sets the target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // Firmware - Device firmware data type Firmware struct { // A bag of fields which extends the firmware information. - AdditionalFields any `json:"additionalFields,omitempty"` + AdditionalFields any // Firmware module address. - ModuleAddress *string `json:"moduleAddress,omitempty"` + ModuleAddress *string // Firmware name. - Name *string `json:"name,omitempty"` + Name *string // Firmware serial. - Serial *string `json:"serial,omitempty"` + Serial *string // Firmware vendor. - Vendor *string `json:"vendor,omitempty"` + Vendor *string // Firmware version. - Version *string `json:"version,omitempty"` + Version *string } // Hardware - Device hardware data type Hardware struct { // Hardware model. - Model *string `json:"model,omitempty"` + Model *string // Hardware serial number. - SerialNumber *string `json:"serialNumber,omitempty"` + SerialNumber *string // Hardware vendor. - Vendor *string `json:"vendor,omitempty"` + Vendor *string } // LocationList - List of Defender for IoT locations type LocationList struct { // READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List data - Value []*LocationModel `json:"value,omitempty" azure:"ro"` + Value []*LocationModel } // LocationModel - IoT Defender location type LocationModel struct { // IoT Defender location properties - Properties any `json:"properties,omitempty"` + Properties any // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LocationsClientGetOptions contains the optional parameters for the LocationsClient.Get method. @@ -443,55 +443,55 @@ type LocationsClientListOptions struct { // MergedDevice - Merged device data type MergedDevice struct { // READ-ONLY; Device data source - DeviceDataSource *DeviceDataSource `json:"deviceDataSource,omitempty" azure:"ro"` + DeviceDataSource *DeviceDataSource // READ-ONLY; device id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Device sensor data - Sensor *Sensor `json:"sensor,omitempty" azure:"ro"` + Sensor *Sensor } // Nic - Network interface card properties type Nic struct { // READ-ONLY; Ipv4 address - IPv4Address *string `json:"ipv4Address,omitempty" azure:"ro"` + IPv4Address *string // READ-ONLY; Ipv6 address - IPv6Address *string `json:"ipv6Address,omitempty" azure:"ro"` + IPv6Address *string // READ-ONLY; Last seen time - LastSeen *time.Time `json:"lastSeen,omitempty" azure:"ro"` + LastSeen *time.Time // READ-ONLY; Mac address - MacAddress *string `json:"macAddress,omitempty" azure:"ro"` + MacAddress *string // READ-ONLY; Indicates whether the association of the mac to the ip address is certain or a guess. - MacCertainty *MacCertainty `json:"macCertainty,omitempty" azure:"ro"` + MacCertainty *MacCertainty // READ-ONLY; Network adapter vendor. - NetworkAdapterVendor *string `json:"networkAdapterVendor,omitempty" azure:"ro"` + NetworkAdapterVendor *string // READ-ONLY; List of virtual LAN (vlan) - Vlans []*string `json:"vlans,omitempty" azure:"ro"` + Vlans []*string } // OnPremiseSensor - On-premise IoT sensor type OnPremiseSensor struct { // On-premise IoT sensor properties - Properties any `json:"properties,omitempty"` + Properties any // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // OnPremiseSensorsClientCreateOrUpdateOptions contains the optional parameters for the OnPremiseSensorsClient.CreateOrUpdate @@ -530,137 +530,137 @@ type OnPremiseSensorsClientListOptions struct { // OnPremiseSensorsList - List of on-premise IoT sensors type OnPremiseSensorsList struct { // READ-ONLY; List data - Value []*OnPremiseSensor `json:"value,omitempty" azure:"ro"` + Value []*OnPremiseSensor } // OperatingSystem - Device operating system data type OperatingSystem struct { // OS architecture - Architecture *string `json:"architecture,omitempty"` + Architecture *string // OS build - Build *string `json:"build,omitempty"` + Build *string // OS distribution - Distribution *string `json:"distribution,omitempty"` + Distribution *string // OS platform - Platform *string `json:"platform,omitempty"` + Platform *string // OS version - Version *string `json:"version,omitempty"` + Version *string } // Operation resource type Operation struct { // Properties on the operation - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Whether operation is a data action - IsDataAction *bool `json:"isDataAction,omitempty"` + IsDataAction *bool // Operation name for display purposes - Name *string `json:"name,omitempty"` + Name *string // origin of the operation - Origin *string `json:"origin,omitempty"` + Origin *string // properties for the operation meta info - Properties *OperationProperties `json:"properties,omitempty"` + Properties *OperationProperties } // OperationDisplay - The response model for get operation properties type OperationDisplay struct { // Description of the operation for display purposes - Description *string `json:"description,omitempty"` + Description *string // Name of the operation for display purposes - Operation *string `json:"operation,omitempty"` + Operation *string // Name of the provider for display purposes - Provider *string `json:"provider,omitempty"` + Provider *string // Name of the resource type for display purposes - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationList - Paged list of operation resources type OperationList struct { // REQUIRED; Collection of items of type results. - Value []*Operation `json:"value,omitempty"` + Value []*Operation // Total item count. - Count *int64 `json:"count,omitempty"` + Count *int64 // The Url of next result page. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string } // OperationMetaLogSpecification - log specifications for operation api type OperationMetaLogSpecification struct { // blob duration of the log - BlobDuration *string `json:"blobDuration,omitempty"` + BlobDuration *string // localized name of the log category - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // name of the log category - Name *string `json:"name,omitempty"` + Name *string } // OperationMetaMetricSpecification - metric specifications for the operation type OperationMetaMetricSpecification struct { // aggregation type of metric - AggregationType *string `json:"aggregationType,omitempty"` + AggregationType *string // properties for dimension - Dimensions []*DimensionProperties `json:"dimensions,omitempty"` + Dimensions []*DimensionProperties // description of the metric - DisplayDescription *string `json:"displayDescription,omitempty"` + DisplayDescription *string // localized name of the metric - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // enable regional mdm account - EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` + EnableRegionalMdmAccount *string // internal metric name - InternalMetricName *string `json:"internalMetricName,omitempty"` + InternalMetricName *string // name of the metric - Name *string `json:"name,omitempty"` + Name *string // dimension name use to replace resource id if specified - ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` + ResourceIDDimensionNameOverride *string // Metric namespace. Only set the namespace if different from the default value, leaving it empty makes it use the value from // the ARM manifest. - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + SourceMdmNamespace *string // supported aggregation types - SupportedAggregationTypes []*string `json:"supportedAggregationTypes,omitempty"` + SupportedAggregationTypes []*string // supported time grain types - SupportedTimeGrainTypes []*string `json:"supportedTimeGrainTypes,omitempty"` + SupportedTimeGrainTypes []*string // units for the metric - Unit *string `json:"unit,omitempty"` + Unit *string } // OperationMetaServiceSpecification - The operation meta service specification type OperationMetaServiceSpecification struct { // log specifications for the operation - LogSpecifications []*OperationMetaLogSpecification `json:"logSpecifications,omitempty"` + LogSpecifications []*OperationMetaLogSpecification // metric specifications for the operation - MetricSpecifications []*OperationMetaMetricSpecification `json:"metricSpecifications,omitempty"` + MetricSpecifications []*OperationMetaMetricSpecification } // OperationProperties - properties on meta info type OperationProperties struct { // meta service specification - ServiceSpecification *OperationMetaServiceSpecification `json:"serviceSpecification,omitempty"` + ServiceSpecification *OperationMetaServiceSpecification } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -671,206 +671,206 @@ type OperationsClientListOptions struct { // Package - Device package data type Package struct { // Package name. - Name *string `json:"name,omitempty"` + Name *string // Package version. - Version *string `json:"version,omitempty"` + Version *string } // PackageDownloadInfo - Information on a specific package download type PackageDownloadInfo struct { // READ-ONLY; Download link - Link *string `json:"link,omitempty" azure:"ro"` + Link *string // READ-ONLY; Version number - Version *string `json:"version,omitempty" azure:"ro"` + Version *string // READ-ONLY; Kind of the version - VersionKind *VersionKind `json:"versionKind,omitempty" azure:"ro"` + VersionKind *VersionKind } // PackageDownloads - Information about package downloads type PackageDownloads struct { // READ-ONLY; Authorized devices import template - AuthorizedDevicesImportTemplate []*PackageDownloadInfo `json:"authorizedDevicesImportTemplate,omitempty" azure:"ro"` + AuthorizedDevicesImportTemplate []*PackageDownloadInfo // READ-ONLY; All downloads for Central Manager - CentralManager *PackageDownloadsCentralManager `json:"centralManager,omitempty" azure:"ro"` + CentralManager *PackageDownloadsCentralManager // READ-ONLY; Authorized devices import template - DeviceInformationUpdateImportTemplate []*PackageDownloadInfo `json:"deviceInformationUpdateImportTemplate,omitempty" azure:"ro"` + DeviceInformationUpdateImportTemplate []*PackageDownloadInfo // READ-ONLY; Contains all Sensor binary downloads - Sensor *PackageDownloadsSensor `json:"sensor,omitempty" azure:"ro"` + Sensor *PackageDownloadsSensor // READ-ONLY; SNMP Server file - Snmp []*PackageDownloadInfo `json:"snmp,omitempty" azure:"ro"` + Snmp []*PackageDownloadInfo // READ-ONLY; All downloads for threat intelligence - ThreatIntelligence []*PackageDownloadInfo `json:"threatIntelligence,omitempty" azure:"ro"` + ThreatIntelligence []*PackageDownloadInfo // READ-ONLY; Used for local configuration export - WmiTool []*PackageDownloadInfo `json:"wmiTool,omitempty" azure:"ro"` + WmiTool []*PackageDownloadInfo } // PackageDownloadsCentralManager - All downloads for Central Manager type PackageDownloadsCentralManager struct { // READ-ONLY; Contains full package downloads - Full *PackageDownloadsCentralManagerFull `json:"full,omitempty" azure:"ro"` + Full *PackageDownloadsCentralManagerFull // READ-ONLY; Central Manager upgrade package downloads (on existing installations) - Upgrade []*UpgradePackageDownloadInfo `json:"upgrade,omitempty" azure:"ro"` + Upgrade []*UpgradePackageDownloadInfo } // PackageDownloadsCentralManagerFull - Contains full package downloads type PackageDownloadsCentralManagerFull struct { // READ-ONLY; Contains all ISO full versions of the Central Manager - Iso []*PackageDownloadInfo `json:"iso,omitempty" azure:"ro"` + Iso []*PackageDownloadInfo // READ-ONLY; Contains all OVF (virtual machine) full versions of the Central Manager - Ovf *PackageDownloadsCentralManagerFullOvf `json:"ovf,omitempty" azure:"ro"` + Ovf *PackageDownloadsCentralManagerFullOvf } // PackageDownloadsCentralManagerFullOvf - Contains all OVF (virtual machine) full versions of the Central Manager type PackageDownloadsCentralManagerFullOvf struct { // READ-ONLY; The Enterprise package type - Enterprise []*PackageDownloadInfo `json:"enterprise,omitempty" azure:"ro"` + Enterprise []*PackageDownloadInfo // READ-ONLY; The EnterpriseHighAvailability package type - EnterpriseHighAvailability []*PackageDownloadInfo `json:"enterpriseHighAvailability,omitempty" azure:"ro"` + EnterpriseHighAvailability []*PackageDownloadInfo // READ-ONLY; The Medium package type - Medium []*PackageDownloadInfo `json:"medium,omitempty" azure:"ro"` + Medium []*PackageDownloadInfo // READ-ONLY; The MediumHighAvailability package type - MediumHighAvailability []*PackageDownloadInfo `json:"mediumHighAvailability,omitempty" azure:"ro"` + MediumHighAvailability []*PackageDownloadInfo } // PackageDownloadsSensor - Contains all Sensor binary downloads type PackageDownloadsSensor struct { // Sensor upgrade package downloads (on existing installations) - Upgrade []*UpgradePackageDownloadInfo `json:"upgrade,omitempty"` + Upgrade []*UpgradePackageDownloadInfo // READ-ONLY; Contains full package downloads - Full *PackageDownloadsSensorFull `json:"full,omitempty" azure:"ro"` + Full *PackageDownloadsSensorFull } // PackageDownloadsSensorFull - Contains full package downloads type PackageDownloadsSensorFull struct { // Contains all OVF (virtual machine) full versions for the sensor - Ovf *PackageDownloadsSensorFullOvf `json:"ovf,omitempty"` + Ovf *PackageDownloadsSensorFullOvf // READ-ONLY; Contains all ISO full versions for the sensor - Iso []*PackageDownloadInfo `json:"iso,omitempty" azure:"ro"` + Iso []*PackageDownloadInfo } // PackageDownloadsSensorFullOvf - Contains all OVF (virtual machine) full versions for the sensor type PackageDownloadsSensorFullOvf struct { // READ-ONLY; Enterprise package type - Enterprise []*PackageDownloadInfo `json:"enterprise,omitempty" azure:"ro"` + Enterprise []*PackageDownloadInfo // READ-ONLY; Line package type - Line []*PackageDownloadInfo `json:"line,omitempty" azure:"ro"` + Line []*PackageDownloadInfo // READ-ONLY; Medium package type - Medium []*PackageDownloadInfo `json:"medium,omitempty" azure:"ro"` + Medium []*PackageDownloadInfo } // ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a // location type ProxyResource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResetPasswordInput - Reset password input. type ResetPasswordInput struct { // The appliance id of the sensor. - ApplianceID *string `json:"applianceId,omitempty"` + ApplianceID *string } // Resource - Common fields that are returned in the response for all Azure Resource Manager resources type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Sensor that scanned the device type Sensor struct { // READ-ONLY; Sensor name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Sensor site. - Site *string `json:"site,omitempty" azure:"ro"` + Site *string // READ-ONLY; Sensor type. - Type *SensorType `json:"type,omitempty" azure:"ro"` + Type *SensorType // READ-ONLY; Sensor zone. - Zone *string `json:"zone,omitempty" azure:"ro"` + Zone *string } // SensorModel - IoT sensor model type SensorModel struct { // IoT sensor properties - Properties *SensorProperties `json:"properties,omitempty"` + Properties *SensorProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SensorProperties - IoT sensor properties type SensorProperties struct { // Type of sensor - SensorType *SensorType `json:"sensorType,omitempty"` + SensorType *SensorType // TI Automatic mode status of the IoT sensor - TiAutomaticUpdates *bool `json:"tiAutomaticUpdates,omitempty"` + TiAutomaticUpdates *bool // Zone of the IoT sensor - Zone *string `json:"zone,omitempty"` + Zone *string // READ-ONLY; Last connectivity time of the IoT sensor - ConnectivityTime *string `json:"connectivityTime,omitempty" azure:"ro"` + ConnectivityTime *string // READ-ONLY; Dynamic mode status of the IoT sensor - DynamicLearning *bool `json:"dynamicLearning,omitempty" azure:"ro"` + DynamicLearning *bool // READ-ONLY; Learning mode status of the IoT sensor - LearningMode *bool `json:"learningMode,omitempty" azure:"ro"` + LearningMode *bool // READ-ONLY; Status of the IoT sensor - SensorStatus *SensorStatus `json:"sensorStatus,omitempty" azure:"ro"` + SensorStatus *SensorStatus // READ-ONLY; Version of the IoT sensor - SensorVersion *string `json:"sensorVersion,omitempty" azure:"ro"` + SensorVersion *string // READ-ONLY; TI Status of the IoT sensor - TiStatus *TiStatus `json:"tiStatus,omitempty" azure:"ro"` + TiStatus *TiStatus // READ-ONLY; TI Version of the IoT sensor - TiVersion *string `json:"tiVersion,omitempty" azure:"ro"` + TiVersion *string } // SensorsClientCreateOrUpdateOptions contains the optional parameters for the SensorsClient.CreateOrUpdate method. @@ -913,34 +913,34 @@ type SensorsClientTriggerTiPackageUpdateOptions struct { // SensorsList - List of IoT sensors type SensorsList struct { // READ-ONLY; List data - Value []*SensorModel `json:"value,omitempty" azure:"ro"` + Value []*SensorModel } // SiteModel - IoT site model type SiteModel struct { // IoT site properties - Properties *SiteProperties `json:"properties,omitempty"` + Properties *SiteProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SiteProperties - IoT site properties type SiteProperties struct { // REQUIRED; Display name of the IoT site - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // Tags of the IoT site - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // SitesClientCreateOrUpdateOptions contains the optional parameters for the SitesClient.CreateOrUpdate method. @@ -966,80 +966,80 @@ type SitesClientListOptions struct { // SitesList - List of IoT sites type SitesList struct { // READ-ONLY; List data - Value []*SiteModel `json:"value,omitempty" azure:"ro"` + Value []*SiteModel } // Slot data in PLC backplane type Slot struct { // A bag of fields which extends the slot information. - AdditionalData any `json:"additionalData,omitempty"` + AdditionalData any // Firmware revision of the slot. - FirmwareVersion *string `json:"firmwareVersion,omitempty"` + FirmwareVersion *string // Hardware revision of the slot. - HardwareRevision *string `json:"hardwareRevision,omitempty"` + HardwareRevision *string // Hardware vendor of the slot. - HardwareVendor *string `json:"hardwareVendor,omitempty"` + HardwareVendor *string // Model of the slot. - Model *string `json:"model,omitempty"` + Model *string // Module version of the slot. - ModuleVersion *string `json:"moduleVersion,omitempty"` + ModuleVersion *string // Product code of the slot. - ProductCode *string `json:"productCode,omitempty"` + ProductCode *string // Serial number of the slot. - SerialNumber *string `json:"serialNumber,omitempty"` + SerialNumber *string // Slot type. - SlotType *SlotType `json:"slotType,omitempty"` + SlotType *SlotType // READ-ONLY; List of Common Platform Enumeration (CPE) of the slot - Cpes []*string `json:"cpes,omitempty" azure:"ro"` + Cpes []*string // READ-ONLY; Rack number in the backplane - RackNumber *int32 `json:"rackNumber,omitempty" azure:"ro"` + RackNumber *int32 // READ-ONLY; Slot number inside the rack - SlotNumber *int32 `json:"slotNumber,omitempty" azure:"ro"` + SlotNumber *int32 } // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // UpgradePackageDownloadInfo - Information on a specific package upgrade download type UpgradePackageDownloadInfo struct { // READ-ONLY; Minimum base version for upgrade - FromVersion *string `json:"fromVersion,omitempty" azure:"ro"` + FromVersion *string // READ-ONLY; Download link - Link *string `json:"link,omitempty" azure:"ro"` + Link *string // READ-ONLY; Version number - Version *string `json:"version,omitempty" azure:"ro"` + Version *string // READ-ONLY; Kind of the version - VersionKind *VersionKind `json:"versionKind,omitempty" azure:"ro"` + VersionKind *VersionKind } diff --git a/sdk/resourcemanager/iotsecurity/armiotsecurity/models_serde.go b/sdk/resourcemanager/iotsecurity/armiotsecurity/models_serde.go index 7a2e0af36b58..ef8e4122829c 100644 --- a/sdk/resourcemanager/iotsecurity/armiotsecurity/models_serde.go +++ b/sdk/resourcemanager/iotsecurity/armiotsecurity/models_serde.go @@ -188,7 +188,7 @@ func (d DeviceGroupModel) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", d.ID) populate(objectMap, "name", d.Name) - populate(objectMap, "properties", &d.Properties) + populateAny(objectMap, "properties", d.Properties) populate(objectMap, "systemData", d.SystemData) populate(objectMap, "type", d.Type) return json.Marshal(objectMap) @@ -303,7 +303,7 @@ func (d *DeviceModel) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type DeviceProperties. func (d DeviceProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "additionalFields", &d.AdditionalFields) + populateAny(objectMap, "additionalFields", d.AdditionalFields) populate(objectMap, "authorizedState", d.AuthorizedState) populate(objectMap, "businessFunction", d.BusinessFunction) populate(objectMap, "cpes", d.Cpes) @@ -509,7 +509,7 @@ func (d *DimensionProperties) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -715,7 +715,7 @@ func (e *ErrorResponseModelError) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type Firmware. func (f Firmware) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "additionalFields", &f.AdditionalFields) + populateAny(objectMap, "additionalFields", f.AdditionalFields) populate(objectMap, "moduleAddress", f.ModuleAddress) populate(objectMap, "name", f.Name) populate(objectMap, "serial", f.Serial) @@ -830,7 +830,7 @@ func (l LocationModel) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", l.ID) populate(objectMap, "name", l.Name) - populate(objectMap, "properties", &l.Properties) + populateAny(objectMap, "properties", l.Properties) populate(objectMap, "systemData", l.SystemData) populate(objectMap, "type", l.Type) return json.Marshal(objectMap) @@ -959,7 +959,7 @@ func (o OnPremiseSensor) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", o.ID) populate(objectMap, "name", o.Name) - populate(objectMap, "properties", &o.Properties) + populateAny(objectMap, "properties", o.Properties) populate(objectMap, "systemData", o.SystemData) populate(objectMap, "type", o.Type) return json.Marshal(objectMap) @@ -2036,7 +2036,7 @@ func (s *SitesList) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type Slot. func (s Slot) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "additionalData", &s.AdditionalData) + populateAny(objectMap, "additionalData", s.AdditionalData) populate(objectMap, "cpes", s.Cpes) populate(objectMap, "firmwareVersion", s.FirmwareVersion) populate(objectMap, "hardwareRevision", s.HardwareRevision) @@ -2200,6 +2200,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/CHANGELOG.md b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/CHANGELOG.md index c79686b81fa0..c9041f789c2c 100644 --- a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/CHANGELOG.md +++ b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/autorest.md b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/autorest.md index d04606a0404e..095ed4326782 100644 --- a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/autorest.md +++ b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/kubernetesconfiguration/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/kubernetesconfiguration/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/constants.go b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/constants.go index 45eeb527d462..1d6e969e510a 100644 --- a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/constants.go +++ b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/constants.go @@ -11,7 +11,7 @@ package armkubernetesconfiguration const ( moduleName = "armkubernetesconfiguration" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // AKSIdentityType - The identity type. diff --git a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models.go b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models.go index 19362688b287..2897895ff97e 100644 --- a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models.go +++ b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models.go @@ -14,199 +14,199 @@ import "time" // BucketDefinition - Parameters to reconcile to the GitRepository source kind type. type BucketDefinition struct { // Plaintext access key used to securely access the S3 bucket - AccessKey *string `json:"accessKey,omitempty"` + AccessKey *string // The bucket name to sync from the url endpoint for the flux configuration. - BucketName *string `json:"bucketName,omitempty"` + BucketName *string // Specify whether to use insecure communication when puling data from the S3 bucket. - Insecure *bool `json:"insecure,omitempty"` + Insecure *bool // Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided // configuration secrets. - LocalAuthRef *string `json:"localAuthRef,omitempty"` + LocalAuthRef *string // The interval at which to re-reconcile the cluster git repository source with the remote. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the cluster git repository source with the remote. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 // The URL to sync for the flux configuration S3 bucket. - URL *string `json:"url,omitempty"` + URL *string } // BucketPatchDefinition - Parameters to reconcile to the GitRepository source kind type. type BucketPatchDefinition struct { // Plaintext access key used to securely access the S3 bucket - AccessKey *string `json:"accessKey,omitempty"` + AccessKey *string // The bucket name to sync from the url endpoint for the flux configuration. - BucketName *string `json:"bucketName,omitempty"` + BucketName *string // Specify whether to use insecure communication when puling data from the S3 bucket. - Insecure *bool `json:"insecure,omitempty"` + Insecure *bool // Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided // configuration secrets. - LocalAuthRef *string `json:"localAuthRef,omitempty"` + LocalAuthRef *string // The interval at which to re-reconcile the cluster git repository source with the remote. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the cluster git repository source with the remote. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 // The URL to sync for the flux configuration S3 bucket. - URL *string `json:"url,omitempty"` + URL *string } // ComplianceStatus - Compliance Status details type ComplianceStatus struct { // Datetime the configuration was last applied. - LastConfigApplied *time.Time `json:"lastConfigApplied,omitempty"` + LastConfigApplied *time.Time // Message from when the configuration was applied. - Message *string `json:"message,omitempty"` + Message *string // Level of the message. - MessageLevel *MessageLevelType `json:"messageLevel,omitempty"` + MessageLevel *MessageLevelType // READ-ONLY; The compliance state of the configuration. - ComplianceState *ComplianceStateType `json:"complianceState,omitempty" azure:"ro"` + ComplianceState *ComplianceStateType } // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // Extension - The Extension object. type Extension struct { // Identity of the Extension resource - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Properties of an Extension resource - Properties *ExtensionProperties `json:"properties,omitempty"` + Properties *ExtensionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExtensionProperties - Properties of an Extension resource type ExtensionProperties struct { // Identity of the Extension resource in an AKS cluster - AksAssignedIdentity *ExtensionPropertiesAksAssignedIdentity `json:"aksAssignedIdentity,omitempty"` + AksAssignedIdentity *ExtensionPropertiesAksAssignedIdentity // Flag to note if this extension participates in auto upgrade of minor version, or not. - AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` + AutoUpgradeMinorVersion *bool // Configuration settings that are sensitive, as name-value pairs for configuring this extension. - ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings,omitempty"` + ConfigurationProtectedSettings map[string]*string // Configuration settings, as name-value pairs for configuring this extension. - ConfigurationSettings map[string]*string `json:"configurationSettings,omitempty"` + ConfigurationSettings map[string]*string // Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with // Microsoft.KubernetesConfiguration by the Extension publisher. - ExtensionType *string `json:"extensionType,omitempty"` + ExtensionType *string // ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion // is 'true'. - ReleaseTrain *string `json:"releaseTrain,omitempty"` + ReleaseTrain *string // Scope at which the extension is installed. - Scope *Scope `json:"scope,omitempty"` + Scope *Scope // Status from this extension. - Statuses []*ExtensionStatus `json:"statuses,omitempty"` + Statuses []*ExtensionStatus // User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be // 'false'. - Version *string `json:"version,omitempty"` + Version *string // READ-ONLY; Custom Location settings properties. - CustomLocationSettings map[string]*string `json:"customLocationSettings,omitempty" azure:"ro"` + CustomLocationSettings map[string]*string // READ-ONLY; Error information from the Agent - e.g. errors during installation. - ErrorInfo *ErrorDetail `json:"errorInfo,omitempty" azure:"ro"` + ErrorInfo *ErrorDetail // READ-ONLY; Installed version of the extension. - InstalledVersion *string `json:"installedVersion,omitempty" azure:"ro"` + InstalledVersion *string // READ-ONLY; Uri of the Helm package - PackageURI *string `json:"packageUri,omitempty" azure:"ro"` + PackageURI *string // READ-ONLY; Status of installation of this extension. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExtensionPropertiesAksAssignedIdentity - Identity of the Extension resource in an AKS cluster type ExtensionPropertiesAksAssignedIdentity struct { // The identity type. - Type *AKSIdentityType `json:"type,omitempty"` + Type *AKSIdentityType // READ-ONLY; The principal ID of resource identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of resource. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // ExtensionStatus - Status from the extension. type ExtensionStatus struct { // Status code provided by the Extension - Code *string `json:"code,omitempty"` + Code *string // Short description of status of the extension. - DisplayStatus *string `json:"displayStatus,omitempty"` + DisplayStatus *string // Level of the status. - Level *LevelType `json:"level,omitempty"` + Level *LevelType // Detailed message of the status from the Extension. - Message *string `json:"message,omitempty"` + Message *string // DateLiteral (per ISO8601) noting the time of installation status. - Time *string `json:"time,omitempty"` + Time *string } // ExtensionsClientBeginCreateOptions contains the optional parameters for the ExtensionsClient.BeginCreate method. @@ -243,10 +243,10 @@ type ExtensionsClientListOptions struct { // the next set of results. type ExtensionsList struct { // READ-ONLY; URL to get the next set of extension objects, if any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of Extensions within a Kubernetes cluster. - Value []*Extension `json:"value,omitempty" azure:"ro"` + Value []*Extension } // FluxConfigOperationStatusClientGetOptions contains the optional parameters for the FluxConfigOperationStatusClient.Get @@ -258,100 +258,100 @@ type FluxConfigOperationStatusClientGetOptions struct { // FluxConfiguration - The Flux Configuration object returned in Get & Put response. type FluxConfiguration struct { // Properties to create a Flux Configuration resource - Properties *FluxConfigurationProperties `json:"properties,omitempty"` + Properties *FluxConfigurationProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // FluxConfigurationPatch - The Flux Configuration Patch Request object. type FluxConfigurationPatch struct { // Updatable properties of an Flux Configuration Patch Request - Properties *FluxConfigurationPatchProperties `json:"properties,omitempty"` + Properties *FluxConfigurationPatchProperties } // FluxConfigurationPatchProperties - Updatable properties of an Flux Configuration Patch Request type FluxConfigurationPatchProperties struct { // Parameters to reconcile to the Bucket source kind type. - Bucket *BucketPatchDefinition `json:"bucket,omitempty"` + Bucket *BucketPatchDefinition // Key-value pairs of protected configuration settings for the configuration - ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings,omitempty"` + ConfigurationProtectedSettings map[string]*string // Parameters to reconcile to the GitRepository source kind type. - GitRepository *GitRepositoryPatchDefinition `json:"gitRepository,omitempty"` + GitRepository *GitRepositoryPatchDefinition // Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. - Kustomizations map[string]*KustomizationPatchDefinition `json:"kustomizations,omitempty"` + Kustomizations map[string]*KustomizationPatchDefinition // Source Kind to pull the configuration data from. - SourceKind *SourceKindType `json:"sourceKind,omitempty"` + SourceKind *SourceKindType // Whether this configuration should suspend its reconciliation of its kustomizations and sources. - Suspend *bool `json:"suspend,omitempty"` + Suspend *bool } // FluxConfigurationProperties - Properties to create a Flux Configuration resource type FluxConfigurationProperties struct { // Parameters to reconcile to the Bucket source kind type. - Bucket *BucketDefinition `json:"bucket,omitempty"` + Bucket *BucketDefinition // Key-value pairs of protected configuration settings for the configuration - ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings,omitempty"` + ConfigurationProtectedSettings map[string]*string // Parameters to reconcile to the GitRepository source kind type. - GitRepository *GitRepositoryDefinition `json:"gitRepository,omitempty"` + GitRepository *GitRepositoryDefinition // Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. - Kustomizations map[string]*KustomizationDefinition `json:"kustomizations,omitempty"` + Kustomizations map[string]*KustomizationDefinition // The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and // period only. - Namespace *string `json:"namespace,omitempty"` + Namespace *string // Scope at which the operator will be installed. - Scope *ScopeType `json:"scope,omitempty"` + Scope *ScopeType // Source Kind to pull the configuration data from. - SourceKind *SourceKindType `json:"sourceKind,omitempty"` + SourceKind *SourceKindType // Whether this configuration should suspend its reconciliation of its kustomizations and sources. - Suspend *bool `json:"suspend,omitempty"` + Suspend *bool // READ-ONLY; Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed // objects. - ComplianceState *FluxComplianceState `json:"complianceState,omitempty" azure:"ro"` + ComplianceState *FluxComplianceState // READ-ONLY; Error message returned to the user in the case of provisioning failure. - ErrorMessage *string `json:"errorMessage,omitempty" azure:"ro"` + ErrorMessage *string // READ-ONLY; Status of the creation of the fluxConfiguration. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user). - RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty" azure:"ro"` + RepositoryPublicKey *string // READ-ONLY; Branch and/or SHA of the source commit synced with the cluster. - SourceSyncedCommitID *string `json:"sourceSyncedCommitId,omitempty" azure:"ro"` + SourceSyncedCommitID *string // READ-ONLY; Datetime the fluxConfiguration synced its source on the cluster. - SourceUpdatedAt *time.Time `json:"sourceUpdatedAt,omitempty" azure:"ro"` + SourceUpdatedAt *time.Time // READ-ONLY; Datetime the fluxConfiguration synced its status on the cluster with Azure. - StatusUpdatedAt *time.Time `json:"statusUpdatedAt,omitempty" azure:"ro"` + StatusUpdatedAt *time.Time // READ-ONLY; Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects // provisioned by the fluxConfiguration. - Statuses []*ObjectStatusDefinition `json:"statuses,omitempty" azure:"ro"` + Statuses []*ObjectStatusDefinition } // FluxConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the FluxConfigurationsClient.BeginCreateOrUpdate @@ -391,133 +391,133 @@ type FluxConfigurationsClientListOptions struct { // and a URL link to get the next set of results. type FluxConfigurationsList struct { // READ-ONLY; URL to get the next set of configuration objects, if any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of Flux Configurations within a Kubernetes cluster. - Value []*FluxConfiguration `json:"value,omitempty" azure:"ro"` + Value []*FluxConfiguration } // GitRepositoryDefinition - Parameters to reconcile to the GitRepository source kind type. type GitRepositoryDefinition struct { // Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS - HTTPSCACert *string `json:"httpsCACert,omitempty"` + HTTPSCACert *string // Plaintext HTTPS username used to access private git repositories over HTTPS - HTTPSUser *string `json:"httpsUser,omitempty"` + HTTPSUser *string // Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided // configuration secrets. - LocalAuthRef *string `json:"localAuthRef,omitempty"` + LocalAuthRef *string // The source reference for the GitRepository object. - RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"` + RepositoryRef *RepositoryRefDefinition // Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH - SSHKnownHosts *string `json:"sshKnownHosts,omitempty"` + SSHKnownHosts *string // The interval at which to re-reconcile the cluster git repository source with the remote. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the cluster git repository source with the remote. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 // The URL to sync for the flux configuration git repository. - URL *string `json:"url,omitempty"` + URL *string } // GitRepositoryPatchDefinition - Parameters to reconcile to the GitRepository source kind type. type GitRepositoryPatchDefinition struct { // Base64-encoded HTTPS certificate authority contents used to access git private git repositories over HTTPS - HTTPSCACert *string `json:"httpsCACert,omitempty"` + HTTPSCACert *string // Plaintext HTTPS username used to access private git repositories over HTTPS - HTTPSUser *string `json:"httpsUser,omitempty"` + HTTPSUser *string // Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided // configuration secrets. - LocalAuthRef *string `json:"localAuthRef,omitempty"` + LocalAuthRef *string // The source reference for the GitRepository object. - RepositoryRef *RepositoryRefDefinition `json:"repositoryRef,omitempty"` + RepositoryRef *RepositoryRefDefinition // Base64-encoded known_hosts value containing public SSH keys required to access private git repositories over SSH - SSHKnownHosts *string `json:"sshKnownHosts,omitempty"` + SSHKnownHosts *string // The interval at which to re-reconcile the cluster git repository source with the remote. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the cluster git repository source with the remote. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 // The URL to sync for the flux configuration git repository. - URL *string `json:"url,omitempty"` + URL *string } // HelmOperatorProperties - Properties for Helm operator. type HelmOperatorProperties struct { // Values override for the operator Helm chart. - ChartValues *string `json:"chartValues,omitempty"` + ChartValues *string // Version of the operator Helm chart. - ChartVersion *string `json:"chartVersion,omitempty"` + ChartVersion *string } // HelmReleasePropertiesDefinition - Properties for HelmRelease objects type HelmReleasePropertiesDefinition struct { // Total number of times that the HelmRelease failed to install or upgrade - FailureCount *int64 `json:"failureCount,omitempty"` + FailureCount *int64 // The reference to the HelmChart object used as the source to this HelmRelease - HelmChartRef *ObjectReferenceDefinition `json:"helmChartRef,omitempty"` + HelmChartRef *ObjectReferenceDefinition // Number of times that the HelmRelease failed to install - InstallFailureCount *int64 `json:"installFailureCount,omitempty"` + InstallFailureCount *int64 // The revision number of the last released object change - LastRevisionApplied *int64 `json:"lastRevisionApplied,omitempty"` + LastRevisionApplied *int64 // Number of times that the HelmRelease failed to upgrade - UpgradeFailureCount *int64 `json:"upgradeFailureCount,omitempty"` + UpgradeFailureCount *int64 } // Identity for the resource. type Identity struct { // The identity type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; The principal ID of resource identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of resource. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // KustomizationDefinition - The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster. type KustomizationDefinition struct { // Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies // have completed their reconciliation. - DependsOn []*string `json:"dependsOn,omitempty"` + DependsOn []*string // Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change. - Force *bool `json:"force,omitempty"` + Force *bool // The path in the source reference to reconcile on the cluster. - Path *string `json:"path,omitempty"` + Path *string // Enable/disable garbage collections of Kubernetes objects created by this Kustomization. - Prune *bool `json:"prune,omitempty"` + Prune *bool // The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation. - RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"` + RetryIntervalInSeconds *int64 // The interval at which to re-reconcile the Kustomization on the cluster. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the Kustomization on the cluster. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 // READ-ONLY; Name of the Kustomization, matching the key in the Kustomizations object map. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // KustomizationPatchDefinition - The Kustomization defining how to reconcile the artifact pulled by the source type on the @@ -525,76 +525,76 @@ type KustomizationDefinition struct { type KustomizationPatchDefinition struct { // Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies // have completed their reconciliation. - DependsOn []*string `json:"dependsOn,omitempty"` + DependsOn []*string // Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change. - Force *bool `json:"force,omitempty"` + Force *bool // The path in the source reference to reconcile on the cluster. - Path *string `json:"path,omitempty"` + Path *string // Enable/disable garbage collections of Kubernetes objects created by this Kustomization. - Prune *bool `json:"prune,omitempty"` + Prune *bool // The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation. - RetryIntervalInSeconds *int64 `json:"retryIntervalInSeconds,omitempty"` + RetryIntervalInSeconds *int64 // The interval at which to re-reconcile the Kustomization on the cluster. - SyncIntervalInSeconds *int64 `json:"syncIntervalInSeconds,omitempty"` + SyncIntervalInSeconds *int64 // The maximum time to attempt to reconcile the Kustomization on the cluster. - TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"` + TimeoutInSeconds *int64 } // ObjectReferenceDefinition - Object reference to a Kubernetes object on a cluster type ObjectReferenceDefinition struct { // Name of the object - Name *string `json:"name,omitempty"` + Name *string // Namespace of the object - Namespace *string `json:"namespace,omitempty"` + Namespace *string } // ObjectStatusConditionDefinition - Status condition of Kubernetes object type ObjectStatusConditionDefinition struct { // Last time this status condition has changed - LastTransitionTime *time.Time `json:"lastTransitionTime,omitempty"` + LastTransitionTime *time.Time // A more verbose description of the object status condition - Message *string `json:"message,omitempty"` + Message *string // Reason for the specified status condition type status - Reason *string `json:"reason,omitempty"` + Reason *string // Status of the Kubernetes object condition type - Status *string `json:"status,omitempty"` + Status *string // Object status condition type for this object - Type *string `json:"type,omitempty"` + Type *string } // ObjectStatusDefinition - Statuses of objects deployed by the user-specified kustomizations from the git repository. type ObjectStatusDefinition struct { // Object reference to the Kustomization that applied this object - AppliedBy *ObjectReferenceDefinition `json:"appliedBy,omitempty"` + AppliedBy *ObjectReferenceDefinition // Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster. - ComplianceState *FluxComplianceState `json:"complianceState,omitempty"` + ComplianceState *FluxComplianceState // Additional properties that are provided from objects of the HelmRelease kind - HelmReleaseProperties *HelmReleasePropertiesDefinition `json:"helmReleaseProperties,omitempty"` + HelmReleaseProperties *HelmReleasePropertiesDefinition // Kind of the applied object - Kind *string `json:"kind,omitempty"` + Kind *string // Name of the applied object - Name *string `json:"name,omitempty"` + Name *string // Namespace of the applied object - Namespace *string `json:"namespace,omitempty"` + Namespace *string // List of Kubernetes object status conditions present on the cluster - StatusConditions []*ObjectStatusConditionDefinition `json:"statusConditions,omitempty"` + StatusConditions []*ObjectStatusConditionDefinition } // OperationStatusClientGetOptions contains the optional parameters for the OperationStatusClient.Get method. @@ -610,28 +610,28 @@ type OperationStatusClientListOptions struct { // OperationStatusList - The async operations in progress, in the cluster. type OperationStatusList struct { // READ-ONLY; URL to get the next set of Operation Result objects, if any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of async operations in progress, in the cluster. - Value []*OperationStatusResult `json:"value,omitempty" azure:"ro"` + Value []*OperationStatusResult } // OperationStatusResult - The current status of an async operation. type OperationStatusResult struct { // REQUIRED; Operation status. - Status *string `json:"status,omitempty"` + Status *string // Fully qualified ID for the async operation. - ID *string `json:"id,omitempty"` + ID *string // Name of the async operation. - Name *string `json:"name,omitempty"` + Name *string // Additional information, if available. - Properties map[string]*string `json:"properties,omitempty"` + Properties map[string]*string // READ-ONLY; If present, details of the operation error. - Error *ErrorDetail `json:"error,omitempty" azure:"ro"` + Error *ErrorDetail } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -642,200 +642,200 @@ type OperationsClientListOptions struct { // PatchExtension - The Extension Patch Request object. type PatchExtension struct { // Updatable properties of an Extension Patch Request - Properties *PatchExtensionProperties `json:"properties,omitempty"` + Properties *PatchExtensionProperties } // PatchExtensionProperties - Updatable properties of an Extension Patch Request type PatchExtensionProperties struct { // Flag to note if this extension participates in auto upgrade of minor version, or not. - AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` + AutoUpgradeMinorVersion *bool // Configuration settings that are sensitive, as name-value pairs for configuring this extension. - ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings,omitempty"` + ConfigurationProtectedSettings map[string]*string // Configuration settings, as name-value pairs for configuring this extension. - ConfigurationSettings map[string]*string `json:"configurationSettings,omitempty"` + ConfigurationSettings map[string]*string // ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion // is 'true'. - ReleaseTrain *string `json:"releaseTrain,omitempty"` + ReleaseTrain *string // Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'. - Version *string `json:"version,omitempty"` + Version *string } // ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a // location type ProxyResource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RepositoryRefDefinition - The source reference for the GitRepository object. type RepositoryRefDefinition struct { // The git repository branch name to checkout. - Branch *string `json:"branch,omitempty"` + Branch *string // The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver. - Commit *string `json:"commit,omitempty"` + Commit *string // The semver range used to match against git repository tags. This takes precedence over tag. - Semver *string `json:"semver,omitempty"` + Semver *string // The git repository tag name to checkout. This takes precedence over branch. - Tag *string `json:"tag,omitempty"` + Tag *string } // Resource - Common fields that are returned in the response for all Azure Resource Manager resources type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceProviderOperation - Supported operation of this resource provider. type ResourceProviderOperation struct { // Display metadata associated with the operation. - Display *ResourceProviderOperationDisplay `json:"display,omitempty"` + Display *ResourceProviderOperationDisplay // Operation name, in format of {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` + Name *string // READ-ONLY; The flag that indicates whether the operation applies to data plane. - IsDataAction *bool `json:"isDataAction,omitempty" azure:"ro"` + IsDataAction *bool // READ-ONLY; Origin of the operation - Origin *string `json:"origin,omitempty" azure:"ro"` + Origin *string } // ResourceProviderOperationDisplay - Display metadata associated with the operation. type ResourceProviderOperationDisplay struct { // Description of this operation. - Description *string `json:"description,omitempty"` + Description *string // Type of operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Resource provider: Microsoft KubernetesConfiguration. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed. - Resource *string `json:"resource,omitempty"` + Resource *string } // ResourceProviderOperationList - Result of the request to list operations. type ResourceProviderOperationList struct { // List of operations supported by this resource provider. - Value []*ResourceProviderOperation `json:"value,omitempty"` + Value []*ResourceProviderOperation // READ-ONLY; URL to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // Scope of the extension. It can be either Cluster or Namespace; but not both. type Scope struct { // Specifies that the scope of the extension is Cluster - Cluster *ScopeCluster `json:"cluster,omitempty"` + Cluster *ScopeCluster // Specifies that the scope of the extension is Namespace - Namespace *ScopeNamespace `json:"namespace,omitempty"` + Namespace *ScopeNamespace } // ScopeCluster - Specifies that the scope of the extension is Cluster type ScopeCluster struct { // Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, // it will be created - ReleaseNamespace *string `json:"releaseNamespace,omitempty"` + ReleaseNamespace *string } // ScopeNamespace - Specifies that the scope of the extension is Namespace type ScopeNamespace struct { // Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will // be created - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string } // SourceControlConfiguration - The SourceControl Configuration object returned in Get & Put response. type SourceControlConfiguration struct { // Properties to create a Source Control Configuration resource - Properties *SourceControlConfigurationProperties `json:"properties,omitempty"` + Properties *SourceControlConfigurationProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SourceControlConfigurationList - Result of the request to list Source Control Configurations. It contains a list of SourceControlConfiguration // objects and a URL link to get the next set of results. type SourceControlConfigurationList struct { // READ-ONLY; URL to get the next set of configuration objects, if any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of Source Control Configurations within a Kubernetes cluster. - Value []*SourceControlConfiguration `json:"value,omitempty" azure:"ro"` + Value []*SourceControlConfiguration } // SourceControlConfigurationProperties - Properties to create a Source Control Configuration resource type SourceControlConfigurationProperties struct { // Name-value pairs of protected configuration settings for the configuration - ConfigurationProtectedSettings map[string]*string `json:"configurationProtectedSettings,omitempty"` + ConfigurationProtectedSettings map[string]*string // Option to enable Helm Operator for this git configuration. - EnableHelmOperator *bool `json:"enableHelmOperator,omitempty"` + EnableHelmOperator *bool // Properties for Helm operator. - HelmOperatorProperties *HelmOperatorProperties `json:"helmOperatorProperties,omitempty"` + HelmOperatorProperties *HelmOperatorProperties // Instance name of the operator - identifying the specific configuration. - OperatorInstanceName *string `json:"operatorInstanceName,omitempty"` + OperatorInstanceName *string // The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period // only. - OperatorNamespace *string `json:"operatorNamespace,omitempty"` + OperatorNamespace *string // Any Parameters for the Operator instance in string format. - OperatorParams *string `json:"operatorParams,omitempty"` + OperatorParams *string // Scope at which the operator will be installed. - OperatorScope *OperatorScopeType `json:"operatorScope,omitempty"` + OperatorScope *OperatorScopeType // Type of the operator - OperatorType *OperatorType `json:"operatorType,omitempty"` + OperatorType *OperatorType // Url of the SourceControl Repository. - RepositoryURL *string `json:"repositoryUrl,omitempty"` + RepositoryURL *string // Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances - SSHKnownHostsContents *string `json:"sshKnownHostsContents,omitempty"` + SSHKnownHostsContents *string // READ-ONLY; Compliance Status of the Configuration - ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty" azure:"ro"` + ComplianceStatus *ComplianceStatus // READ-ONLY; The provisioning state of the resource provider. - ProvisioningState *ProvisioningStateType `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningStateType // READ-ONLY; Public Key associated with this SourceControl configuration (either generated within the cluster or provided // by the user). - RepositoryPublicKey *string `json:"repositoryPublicKey,omitempty" azure:"ro"` + RepositoryPublicKey *string } // SourceControlConfigurationsClientBeginDeleteOptions contains the optional parameters for the SourceControlConfigurationsClient.BeginDelete @@ -866,20 +866,20 @@ type SourceControlConfigurationsClientListOptions struct { // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } diff --git a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models_serde.go b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models_serde.go index ed1e3deecd87..f69d19372c32 100644 --- a/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models_serde.go +++ b/sdk/resourcemanager/kubernetesconfiguration/armkubernetesconfiguration/models_serde.go @@ -160,7 +160,7 @@ func (c *ComplianceStatus) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -1831,6 +1831,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/kusto/armkusto/CHANGELOG.md b/sdk/resourcemanager/kusto/armkusto/CHANGELOG.md index dae6f07705c9..315745e40a7f 100644 --- a/sdk/resourcemanager/kusto/armkusto/CHANGELOG.md +++ b/sdk/resourcemanager/kusto/armkusto/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.3.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.3.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/kusto/armkusto/autorest.md b/sdk/resourcemanager/kusto/armkusto/autorest.md index 7c15946a2ced..65014577f5da 100644 --- a/sdk/resourcemanager/kusto/armkusto/autorest.md +++ b/sdk/resourcemanager/kusto/armkusto/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/630ec444f8dd7c09b9cdd5fa99951f8a0d1ad41f/specification/azure-kusto/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/630ec444f8dd7c09b9cdd5fa99951f8a0d1ad41f/specification/azure-kusto/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.3.0 +module-version: 1.3.1 ``` diff --git a/sdk/resourcemanager/kusto/armkusto/constants.go b/sdk/resourcemanager/kusto/armkusto/constants.go index 0180cda9036e..76c5a28052ae 100644 --- a/sdk/resourcemanager/kusto/armkusto/constants.go +++ b/sdk/resourcemanager/kusto/armkusto/constants.go @@ -11,7 +11,7 @@ package armkusto const ( moduleName = "armkusto" - moduleVersion = "v1.3.0" + moduleVersion = "v1.3.1" ) // AzureSKUName - SKU name. diff --git a/sdk/resourcemanager/kusto/armkusto/models.go b/sdk/resourcemanager/kusto/armkusto/models.go index 5dc583add181..24f044949510 100644 --- a/sdk/resourcemanager/kusto/armkusto/models.go +++ b/sdk/resourcemanager/kusto/armkusto/models.go @@ -14,71 +14,71 @@ import "time" // AcceptedAudiences - Represents an accepted audience trusted by the cluster. type AcceptedAudiences struct { // GUID or valid URL representing an accepted audience. - Value *string `json:"value,omitempty"` + Value *string } // AttachedDatabaseConfiguration - Class representing an attached database configuration. type AttachedDatabaseConfiguration struct { // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The properties of the attached database configuration. - Properties *AttachedDatabaseConfigurationProperties `json:"properties,omitempty"` + Properties *AttachedDatabaseConfigurationProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AttachedDatabaseConfigurationListResult - The list attached database configurations operation response. type AttachedDatabaseConfigurationListResult struct { // The list of attached database configurations. - Value []*AttachedDatabaseConfiguration `json:"value,omitempty"` + Value []*AttachedDatabaseConfiguration } // AttachedDatabaseConfigurationProperties - Class representing the an attached database configuration properties of kind // specific. type AttachedDatabaseConfigurationProperties struct { // REQUIRED; The resource id of the cluster where the databases you would like to attach reside. - ClusterResourceID *string `json:"clusterResourceId,omitempty"` + ClusterResourceID *string // REQUIRED; The name of the database which you would like to attach, use * if you want to follow all current and future databases. - DatabaseName *string `json:"databaseName,omitempty"` + DatabaseName *string // REQUIRED; The default principals modification kind - DefaultPrincipalsModificationKind *DefaultPrincipalsModificationKind `json:"defaultPrincipalsModificationKind,omitempty"` + DefaultPrincipalsModificationKind *DefaultPrincipalsModificationKind // Overrides the original database name. Relevant only when attaching to a specific database. - DatabaseNameOverride *string `json:"databaseNameOverride,omitempty"` + DatabaseNameOverride *string // Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the // databases original names from leader cluster. - DatabaseNamePrefix *string `json:"databaseNamePrefix,omitempty"` + DatabaseNamePrefix *string // Table level sharing specifications - TableLevelSharingProperties *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty"` + TableLevelSharingProperties *TableLevelSharingProperties // READ-ONLY; The list of databases from the clusterResourceId which are currently attached to the cluster. - AttachedDatabaseNames []*string `json:"attachedDatabaseNames,omitempty" azure:"ro"` + AttachedDatabaseNames []*string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AttachedDatabaseConfigurationsCheckNameRequest - The result returned from a AttachedDatabaseConfigurations check name availability // request. type AttachedDatabaseConfigurationsCheckNameRequest struct { // REQUIRED; Attached database resource name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, for instance Microsoft.Kusto/clusters/attachedDatabaseConfigurations. // Field has constant value "Microsoft.Kusto/clusters/attachedDatabaseConfigurations", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // AttachedDatabaseConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the AttachedDatabaseConfigurationsClient.BeginCreateOrUpdate @@ -116,147 +116,147 @@ type AttachedDatabaseConfigurationsClientListByClusterOptions struct { // AzureCapacity - Azure capacity definition. type AzureCapacity struct { // REQUIRED; The default capacity that would be used. - Default *int32 `json:"default,omitempty"` + Default *int32 // REQUIRED; Maximum allowed capacity. - Maximum *int32 `json:"maximum,omitempty"` + Maximum *int32 // REQUIRED; Minimum allowed capacity. - Minimum *int32 `json:"minimum,omitempty"` + Minimum *int32 // REQUIRED; Scale type. - ScaleType *AzureScaleType `json:"scaleType,omitempty"` + ScaleType *AzureScaleType } // AzureResourceSKU - Azure resource SKU definition. type AzureResourceSKU struct { // The number of instances of the cluster. - Capacity *AzureCapacity `json:"capacity,omitempty"` + Capacity *AzureCapacity // Resource Namespace and Type. - ResourceType *string `json:"resourceType,omitempty"` + ResourceType *string // The SKU details. - SKU *AzureSKU `json:"sku,omitempty"` + SKU *AzureSKU } // AzureSKU - Azure SKU definition. type AzureSKU struct { // REQUIRED; SKU name. - Name *AzureSKUName `json:"name,omitempty"` + Name *AzureSKUName // REQUIRED; SKU tier. - Tier *AzureSKUTier `json:"tier,omitempty"` + Tier *AzureSKUTier // The number of instances of the cluster. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 } // CheckNameRequest - The result returned from a database check name availability request. type CheckNameRequest struct { // REQUIRED; Resource name. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The type of resource, for instance Microsoft.Kusto/clusters/databases. - Type *Type `json:"type,omitempty"` + Type *Type } // CheckNameResult - The result returned from a check name availability request. type CheckNameResult struct { // Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. - Message *string `json:"message,omitempty"` + Message *string // The name that was checked. - Name *string `json:"name,omitempty"` + Name *string // Specifies a Boolean value that indicates if the name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // Message providing the reason why the given name is invalid. - Reason *Reason `json:"reason,omitempty"` + Reason *Reason } // Cluster - Class representing a Kusto cluster. type Cluster struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; The SKU of the cluster. - SKU *AzureSKU `json:"sku,omitempty"` + SKU *AzureSKU // The identity of the cluster, if configured. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // The cluster properties. - Properties *ClusterProperties `json:"properties,omitempty"` + Properties *ClusterProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // The availability zones of the cluster. - Zones []*string `json:"zones,omitempty"` + Zones []*string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ClusterCheckNameRequest - The result returned from a cluster check name availability request. type ClusterCheckNameRequest struct { // REQUIRED; Cluster name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, Microsoft.Kusto/clusters. // Field has constant value "Microsoft.Kusto/clusters", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // ClusterListResult - The list Kusto clusters operation response. type ClusterListResult struct { // The list of Kusto clusters. - Value []*Cluster `json:"value,omitempty"` + Value []*Cluster } // ClusterPrincipalAssignment - Class representing a cluster principal assignment. type ClusterPrincipalAssignment struct { // The cluster principal. - Properties *ClusterPrincipalProperties `json:"properties,omitempty"` + Properties *ClusterPrincipalProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ClusterPrincipalAssignmentCheckNameRequest - A principal assignment check name availability request. type ClusterPrincipalAssignmentCheckNameRequest struct { // REQUIRED; Principal Assignment resource name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, Microsoft.Kusto/clusters/principalAssignments. // Field has constant value "Microsoft.Kusto/clusters/principalAssignments", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // ClusterPrincipalAssignmentListResult - The list Kusto cluster principal assignments operation response. type ClusterPrincipalAssignmentListResult struct { // The list of Kusto cluster principal assignments. - Value []*ClusterPrincipalAssignment `json:"value,omitempty"` + Value []*ClusterPrincipalAssignment } // ClusterPrincipalAssignmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the ClusterPrincipalAssignmentsClient.BeginCreateOrUpdate @@ -295,132 +295,132 @@ type ClusterPrincipalAssignmentsClientListOptions struct { type ClusterPrincipalProperties struct { // REQUIRED; The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group // name. - PrincipalID *string `json:"principalId,omitempty"` + PrincipalID *string // REQUIRED; Principal type. - PrincipalType *PrincipalType `json:"principalType,omitempty"` + PrincipalType *PrincipalType // REQUIRED; Cluster principal role. - Role *ClusterPrincipalRole `json:"role,omitempty"` + Role *ClusterPrincipalRole // The tenant id of the principal - TenantID *string `json:"tenantId,omitempty"` + TenantID *string // READ-ONLY; The service principal object id in AAD (Azure active directory) - AADObjectID *string `json:"aadObjectId,omitempty" azure:"ro"` + AADObjectID *string // READ-ONLY; The principal name - PrincipalName *string `json:"principalName,omitempty" azure:"ro"` + PrincipalName *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The tenant name of the principal - TenantName *string `json:"tenantName,omitempty" azure:"ro"` + TenantName *string } // ClusterProperties - Class representing the Kusto cluster properties. type ClusterProperties struct { // The cluster's accepted audiences. - AcceptedAudiences []*AcceptedAudiences `json:"acceptedAudiences,omitempty"` + AcceptedAudiences []*AcceptedAudiences // List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster. - AllowedFqdnList []*string `json:"allowedFqdnList,omitempty"` + AllowedFqdnList []*string // The list of ips in the format of CIDR allowed to connect to the cluster. - AllowedIPRangeList []*string `json:"allowedIpRangeList,omitempty"` + AllowedIPRangeList []*string // A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many // days). - EnableAutoStop *bool `json:"enableAutoStop,omitempty"` + EnableAutoStop *bool // A boolean value that indicates if the cluster's disks are encrypted. - EnableDiskEncryption *bool `json:"enableDiskEncryption,omitempty"` + EnableDiskEncryption *bool // A boolean value that indicates if double encryption is enabled. - EnableDoubleEncryption *bool `json:"enableDoubleEncryption,omitempty"` + EnableDoubleEncryption *bool // A boolean value that indicates if the purge operations are enabled. - EnablePurge *bool `json:"enablePurge,omitempty"` + EnablePurge *bool // A boolean value that indicates if the streaming ingest is enabled. - EnableStreamingIngest *bool `json:"enableStreamingIngest,omitempty"` + EnableStreamingIngest *bool // The engine type - EngineType *EngineType `json:"engineType,omitempty"` + EngineType *EngineType // KeyVault properties for the cluster encryption. - KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` + KeyVaultProperties *KeyVaultProperties // List of the cluster's language extensions. - LanguageExtensions *LanguageExtensionsList `json:"languageExtensions,omitempty"` + LanguageExtensions *LanguageExtensionsList // Optimized auto scale definition. - OptimizedAutoscale *OptimizedAutoscale `json:"optimizedAutoscale,omitempty"` + OptimizedAutoscale *OptimizedAutoscale // Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6) - PublicIPType *PublicIPType `json:"publicIPType,omitempty"` + PublicIPType *PublicIPType // Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster // is allowed - PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccess // Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - RestrictOutboundNetworkAccess *ClusterNetworkAccessFlag `json:"restrictOutboundNetworkAccess,omitempty"` + RestrictOutboundNetworkAccess *ClusterNetworkAccessFlag // The cluster's external tenants. - TrustedExternalTenants []*TrustedExternalTenant `json:"trustedExternalTenants,omitempty"` + TrustedExternalTenants []*TrustedExternalTenant // Virtual Cluster graduation properties - VirtualClusterGraduationProperties *string `json:"virtualClusterGraduationProperties,omitempty"` + VirtualClusterGraduationProperties *string // Virtual network definition. - VirtualNetworkConfiguration *VirtualNetworkConfiguration `json:"virtualNetworkConfiguration,omitempty"` + VirtualNetworkConfiguration *VirtualNetworkConfiguration // READ-ONLY; The cluster data ingestion URI. - DataIngestionURI *string `json:"dataIngestionUri,omitempty" azure:"ro"` + DataIngestionURI *string // READ-ONLY; A list of private endpoint connections. - PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` + PrivateEndpointConnections []*PrivateEndpointConnection // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The state of the resource. - State *State `json:"state,omitempty" azure:"ro"` + State *State // READ-ONLY; The reason for the cluster's current state. - StateReason *string `json:"stateReason,omitempty" azure:"ro"` + StateReason *string // READ-ONLY; The cluster URI. - URI *string `json:"uri,omitempty" azure:"ro"` + URI *string } // ClusterUpdate - Class representing an update to a Kusto cluster. type ClusterUpdate struct { // The identity of the cluster, if configured. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The cluster properties. - Properties *ClusterProperties `json:"properties,omitempty"` + Properties *ClusterProperties // The SKU of the cluster. - SKU *AzureSKU `json:"sku,omitempty"` + SKU *AzureSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ClustersClientBeginAddLanguageExtensionsOptions contains the optional parameters for the ClustersClient.BeginAddLanguageExtensions @@ -543,31 +543,31 @@ type ClustersClientListSKUsOptions struct { type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties struct { // READ-ONLY; The client id of user assigned identity. - ClientID *string `json:"clientId,omitempty" azure:"ro"` + ClientID *string // READ-ONLY; The principal id of user assigned identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string } // CosmosDbDataConnection - Class representing a CosmosDb data connection. type CosmosDbDataConnection struct { // REQUIRED; Kind of the endpoint for the data connection - Kind *DataConnectionKind `json:"kind,omitempty"` + Kind *DataConnectionKind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The properties of the CosmosDb data connection. - Properties *CosmosDbDataConnectionProperties `json:"properties,omitempty"` + Properties *CosmosDbDataConnectionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDataConnection implements the DataConnectionClassification interface for type CosmosDbDataConnection. @@ -584,33 +584,33 @@ func (c *CosmosDbDataConnection) GetDataConnection() *DataConnection { // CosmosDbDataConnectionProperties - Class representing the Kusto CosmosDb data connection properties. type CosmosDbDataConnectionProperties struct { // REQUIRED; The resource ID of the Cosmos DB account used to create the data connection. - CosmosDbAccountResourceID *string `json:"cosmosDbAccountResourceId,omitempty"` + CosmosDbAccountResourceID *string // REQUIRED; The name of an existing container in the Cosmos DB database. - CosmosDbContainer *string `json:"cosmosDbContainer,omitempty"` + CosmosDbContainer *string // REQUIRED; The name of an existing database in the Cosmos DB account. - CosmosDbDatabase *string `json:"cosmosDbDatabase,omitempty"` + CosmosDbDatabase *string // REQUIRED; The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos // DB. - ManagedIdentityResourceID *string `json:"managedIdentityResourceId,omitempty"` + ManagedIdentityResourceID *string // REQUIRED; The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. - TableName *string `json:"tableName,omitempty"` + TableName *string // The name of an existing mapping rule to use when ingesting the retrieved data. - MappingRuleName *string `json:"mappingRuleName,omitempty"` + MappingRuleName *string // Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval // start date. - RetrievalStartDate *time.Time `json:"retrievalStartDate,omitempty"` + RetrievalStartDate *time.Time // READ-ONLY; The object ID of the managed identity resource. - ManagedIdentityObjectID *string `json:"managedIdentityObjectId,omitempty" azure:"ro"` + ManagedIdentityObjectID *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // DataConnectionClassification provides polymorphic access to related types. @@ -625,19 +625,19 @@ type DataConnectionClassification interface { // DataConnection - Class representing an data connection. type DataConnection struct { // REQUIRED; Kind of the endpoint for the data connection - Kind *DataConnectionKind `json:"kind,omitempty"` + Kind *DataConnectionKind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDataConnection implements the DataConnectionClassification interface for type DataConnection. @@ -646,38 +646,38 @@ func (d *DataConnection) GetDataConnection() *DataConnection { return d } // DataConnectionCheckNameRequest - A data connection check name availability request. type DataConnectionCheckNameRequest struct { // REQUIRED; Data Connection name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, Microsoft.Kusto/clusters/databases/dataConnections. // Field has constant value "Microsoft.Kusto/clusters/databases/dataConnections", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // DataConnectionListResult - The list Kusto data connections operation response. type DataConnectionListResult struct { // The list of Kusto data connections. - Value []DataConnectionClassification `json:"value,omitempty"` + Value []DataConnectionClassification } // DataConnectionValidation - Class representing an data connection validation. type DataConnectionValidation struct { // The name of the data connection. - DataConnectionName *string `json:"dataConnectionName,omitempty"` + DataConnectionName *string // The data connection properties to validate. - Properties DataConnectionClassification `json:"properties,omitempty"` + Properties DataConnectionClassification } // DataConnectionValidationListResult - The list Kusto data connection validation result. type DataConnectionValidationListResult struct { // The list of Kusto data connection validation errors. - Value []*DataConnectionValidationResult `json:"value,omitempty"` + Value []*DataConnectionValidationResult } // DataConnectionValidationResult - The result returned from a data connection validation request. type DataConnectionValidationResult struct { // A message which indicates a problem in data connection validation. - ErrorMessage *string `json:"errorMessage,omitempty"` + ErrorMessage *string } // DataConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the DataConnectionsClient.BeginCreateOrUpdate @@ -735,19 +735,19 @@ type DatabaseClassification interface { // Database - Class representing a Kusto database. type Database struct { // REQUIRED; Kind of the database - Kind *Kind `json:"kind,omitempty"` + Kind *Kind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDatabase implements the DatabaseClassification interface for type Database. @@ -756,62 +756,62 @@ func (d *Database) GetDatabase() *Database { return d } // DatabaseListResult - The list Kusto databases operation response. type DatabaseListResult struct { // The list of Kusto databases. - Value []DatabaseClassification `json:"value,omitempty"` + Value []DatabaseClassification } // DatabasePrincipal - A class representing database principal entity. type DatabasePrincipal struct { // REQUIRED; Database principal name. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; Database principal role. - Role *DatabasePrincipalRole `json:"role,omitempty"` + Role *DatabasePrincipalRole // REQUIRED; Database principal type. - Type *DatabasePrincipalType `json:"type,omitempty"` + Type *DatabasePrincipalType // Application id - relevant only for application principal type. - AppID *string `json:"appId,omitempty"` + AppID *string // Database principal email if exists. - Email *string `json:"email,omitempty"` + Email *string // Database principal fully qualified name. - Fqn *string `json:"fqn,omitempty"` + Fqn *string // READ-ONLY; The tenant name of the principal - TenantName *string `json:"tenantName,omitempty" azure:"ro"` + TenantName *string } // DatabasePrincipalAssignment - Class representing a database principal assignment. type DatabasePrincipalAssignment struct { // The database principal. - Properties *DatabasePrincipalProperties `json:"properties,omitempty"` + Properties *DatabasePrincipalProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DatabasePrincipalAssignmentCheckNameRequest - A principal assignment check name availability request. type DatabasePrincipalAssignmentCheckNameRequest struct { // REQUIRED; Principal Assignment resource name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments. // Field has constant value "Microsoft.Kusto/clusters/databases/principalAssignments", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // DatabasePrincipalAssignmentListResult - The list Kusto database principal assignments operation response. type DatabasePrincipalAssignmentListResult struct { // The list of Kusto database principal assignments. - Value []*DatabasePrincipalAssignment `json:"value,omitempty"` + Value []*DatabasePrincipalAssignment } // DatabasePrincipalAssignmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the DatabasePrincipalAssignmentsClient.BeginCreateOrUpdate @@ -849,47 +849,47 @@ type DatabasePrincipalAssignmentsClientListOptions struct { // DatabasePrincipalListRequest - The list Kusto database principals operation request. type DatabasePrincipalListRequest struct { // The list of Kusto database principals. - Value []*DatabasePrincipal `json:"value,omitempty"` + Value []*DatabasePrincipal } // DatabasePrincipalListResult - The list Kusto database principals operation response. type DatabasePrincipalListResult struct { // The list of Kusto database principals. - Value []*DatabasePrincipal `json:"value,omitempty"` + Value []*DatabasePrincipal } // DatabasePrincipalProperties - A class representing database principal property. type DatabasePrincipalProperties struct { // REQUIRED; The principal ID assigned to the database principal. It can be a user email, application ID, or security group // name. - PrincipalID *string `json:"principalId,omitempty"` + PrincipalID *string // REQUIRED; Principal type. - PrincipalType *PrincipalType `json:"principalType,omitempty"` + PrincipalType *PrincipalType // REQUIRED; Database principal role. - Role *DatabasePrincipalRole `json:"role,omitempty"` + Role *DatabasePrincipalRole // The tenant id of the principal - TenantID *string `json:"tenantId,omitempty"` + TenantID *string // READ-ONLY; The service principal object id in AAD (Azure active directory) - AADObjectID *string `json:"aadObjectId,omitempty" azure:"ro"` + AADObjectID *string // READ-ONLY; The principal name - PrincipalName *string `json:"principalName,omitempty" azure:"ro"` + PrincipalName *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The tenant name of the principal - TenantName *string `json:"tenantName,omitempty" azure:"ro"` + TenantName *string } // DatabaseStatistics - A class that contains database statistics information. type DatabaseStatistics struct { // The database size - the total size of compressed data and index in bytes. - Size *float32 `json:"size,omitempty"` + Size *float32 } // DatabasesClientAddPrincipalsOptions contains the optional parameters for the DatabasesClient.AddPrincipals method. @@ -950,85 +950,85 @@ type DatabasesClientRemovePrincipalsOptions struct { type DiagnoseVirtualNetworkResult struct { // The list of network connectivity diagnostic finding - Findings []*string `json:"findings,omitempty"` + Findings []*string } // EndpointDependency - A domain name that a service is reached at, including details of the current connection status. type EndpointDependency struct { // The domain name of the dependency. - DomainName *string `json:"domainName,omitempty"` + DomainName *string // The ports used when connecting to DomainName. - EndpointDetails []*EndpointDetail `json:"endpointDetails,omitempty"` + EndpointDetails []*EndpointDetail } // EndpointDetail - Current TCP connectivity information from the Kusto cluster to a single endpoint. type EndpointDetail struct { // The port an endpoint is connected to. - Port *int32 `json:"port,omitempty"` + Port *int32 } // EventGridConnectionProperties - Class representing the Kusto event grid connection properties. type EventGridConnectionProperties struct { // REQUIRED; The event hub consumer group. - ConsumerGroup *string `json:"consumerGroup,omitempty"` + ConsumerGroup *string // REQUIRED; The resource ID where the event grid is configured to send events. - EventHubResourceID *string `json:"eventHubResourceId,omitempty"` + EventHubResourceID *string // REQUIRED; The resource ID of the storage account where the data resides. - StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"` + StorageAccountResourceID *string // The name of blob storage event type to process. - BlobStorageEventType *BlobStorageEventType `json:"blobStorageEventType,omitempty"` + BlobStorageEventType *BlobStorageEventType // The data format of the message. Optionally the data format can be added to each message. - DataFormat *EventGridDataFormat `json:"dataFormat,omitempty"` + DataFormat *EventGridDataFormat // Indication for database routing information from the data connection, by default only database routing information is allowed - DatabaseRouting *DatabaseRouting `json:"databaseRouting,omitempty"` + DatabaseRouting *DatabaseRouting // The resource ID of the event grid that is subscribed to the storage account events. - EventGridResourceID *string `json:"eventGridResourceId,omitempty"` + EventGridResourceID *string // A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file - IgnoreFirstRecord *bool `json:"ignoreFirstRecord,omitempty"` + IgnoreFirstRecord *bool // The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account. - ManagedIdentityResourceID *string `json:"managedIdentityResourceId,omitempty"` + ManagedIdentityResourceID *string // The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. - MappingRuleName *string `json:"mappingRuleName,omitempty"` + MappingRuleName *string // The table where the data should be ingested. Optionally the table information can be added to each message. - TableName *string `json:"tableName,omitempty"` + TableName *string // READ-ONLY; The object ID of managedIdentityResourceId - ManagedIdentityObjectID *string `json:"managedIdentityObjectId,omitempty" azure:"ro"` + ManagedIdentityObjectID *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // EventGridDataConnection - Class representing an Event Grid data connection. type EventGridDataConnection struct { // REQUIRED; Kind of the endpoint for the data connection - Kind *DataConnectionKind `json:"kind,omitempty"` + Kind *DataConnectionKind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The properties of the Event Grid data connection. - Properties *EventGridConnectionProperties `json:"properties,omitempty"` + Properties *EventGridConnectionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDataConnection implements the DataConnectionClassification interface for type EventGridDataConnection. @@ -1045,62 +1045,62 @@ func (e *EventGridDataConnection) GetDataConnection() *DataConnection { // EventHubConnectionProperties - Class representing the Kusto event hub connection properties. type EventHubConnectionProperties struct { // REQUIRED; The event hub consumer group. - ConsumerGroup *string `json:"consumerGroup,omitempty"` + ConsumerGroup *string // REQUIRED; The resource ID of the event hub to be used to create a data connection. - EventHubResourceID *string `json:"eventHubResourceId,omitempty"` + EventHubResourceID *string // The event hub messages compression type - Compression *Compression `json:"compression,omitempty"` + Compression *Compression // The data format of the message. Optionally the data format can be added to each message. - DataFormat *EventHubDataFormat `json:"dataFormat,omitempty"` + DataFormat *EventHubDataFormat // Indication for database routing information from the data connection, by default only database routing information is allowed - DatabaseRouting *DatabaseRouting `json:"databaseRouting,omitempty"` + DatabaseRouting *DatabaseRouting // System properties of the event hub - EventSystemProperties []*string `json:"eventSystemProperties,omitempty"` + EventSystemProperties []*string // The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub. - ManagedIdentityResourceID *string `json:"managedIdentityResourceId,omitempty"` + ManagedIdentityResourceID *string // The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. - MappingRuleName *string `json:"mappingRuleName,omitempty"` + MappingRuleName *string // When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only // retrieve events retained by the Event hub, based on its retention period. - RetrievalStartDate *time.Time `json:"retrievalStartDate,omitempty"` + RetrievalStartDate *time.Time // The table where the data should be ingested. Optionally the table information can be added to each message. - TableName *string `json:"tableName,omitempty"` + TableName *string // READ-ONLY; The object ID of the managedIdentityResourceId - ManagedIdentityObjectID *string `json:"managedIdentityObjectId,omitempty" azure:"ro"` + ManagedIdentityObjectID *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // EventHubDataConnection - Class representing an event hub data connection. type EventHubDataConnection struct { // REQUIRED; Kind of the endpoint for the data connection - Kind *DataConnectionKind `json:"kind,omitempty"` + Kind *DataConnectionKind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The Event Hub data connection properties to validate. - Properties *EventHubConnectionProperties `json:"properties,omitempty"` + Properties *EventHubConnectionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDataConnection implements the DataConnectionClassification interface for type EventHubDataConnection. @@ -1117,25 +1117,25 @@ func (e *EventHubDataConnection) GetDataConnection() *DataConnection { // FollowerDatabaseDefinition - A class representing follower database request. type FollowerDatabaseDefinition struct { // REQUIRED; Resource name of the attached database configuration in the follower cluster. - AttachedDatabaseConfigurationName *string `json:"attachedDatabaseConfigurationName,omitempty"` + AttachedDatabaseConfigurationName *string // REQUIRED; Resource id of the cluster that follows a database owned by this cluster. - ClusterResourceID *string `json:"clusterResourceId,omitempty"` + ClusterResourceID *string // READ-ONLY; The database name owned by this cluster that was followed. * in case following all databases. - DatabaseName *string `json:"databaseName,omitempty" azure:"ro"` + DatabaseName *string // READ-ONLY; The origin of the following setup. - DatabaseShareOrigin *DatabaseShareOrigin `json:"databaseShareOrigin,omitempty" azure:"ro"` + DatabaseShareOrigin *DatabaseShareOrigin // READ-ONLY; Table level sharing specifications - TableLevelSharingProperties *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty" azure:"ro"` + TableLevelSharingProperties *TableLevelSharingProperties } // FollowerDatabaseListResult - The list Kusto database principals operation response. type FollowerDatabaseListResult struct { // The list of follower database result. - Value []*FollowerDatabaseDefinition `json:"value,omitempty"` + Value []*FollowerDatabaseDefinition } // Identity for the resource. @@ -1143,73 +1143,73 @@ type Identity struct { // REQUIRED; The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created // identity and a set of user-assigned identities. The type 'None' will remove all // identities. - Type *IdentityType `json:"type,omitempty"` + Type *IdentityType // The list of user identities associated with the Kusto cluster. 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]*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties // READ-ONLY; The principal ID of resource identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of resource. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // IotHubConnectionProperties - Class representing the Kusto Iot hub connection properties. type IotHubConnectionProperties struct { // REQUIRED; The iot hub consumer group. - ConsumerGroup *string `json:"consumerGroup,omitempty"` + ConsumerGroup *string // REQUIRED; The resource ID of the Iot hub to be used to create a data connection. - IotHubResourceID *string `json:"iotHubResourceId,omitempty"` + IotHubResourceID *string // REQUIRED; The name of the share access policy - SharedAccessPolicyName *string `json:"sharedAccessPolicyName,omitempty"` + SharedAccessPolicyName *string // The data format of the message. Optionally the data format can be added to each message. - DataFormat *IotHubDataFormat `json:"dataFormat,omitempty"` + DataFormat *IotHubDataFormat // Indication for database routing information from the data connection, by default only database routing information is allowed - DatabaseRouting *DatabaseRouting `json:"databaseRouting,omitempty"` + DatabaseRouting *DatabaseRouting // System properties of the iot hub - EventSystemProperties []*string `json:"eventSystemProperties,omitempty"` + EventSystemProperties []*string // The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. - MappingRuleName *string `json:"mappingRuleName,omitempty"` + MappingRuleName *string // When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only // retrieve events retained by the Event hub, based on its retention period. - RetrievalStartDate *time.Time `json:"retrievalStartDate,omitempty"` + RetrievalStartDate *time.Time // The table where the data should be ingested. Optionally the table information can be added to each message. - TableName *string `json:"tableName,omitempty"` + TableName *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // IotHubDataConnection - Class representing an iot hub data connection. type IotHubDataConnection struct { // REQUIRED; Kind of the endpoint for the data connection - Kind *DataConnectionKind `json:"kind,omitempty"` + Kind *DataConnectionKind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The Iot Hub data connection properties. - Properties *IotHubConnectionProperties `json:"properties,omitempty"` + Properties *IotHubConnectionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDataConnection implements the DataConnectionClassification interface for type IotHubDataConnection. @@ -1226,89 +1226,89 @@ func (i *IotHubDataConnection) GetDataConnection() *DataConnection { // KeyVaultProperties - Properties of the key vault. type KeyVaultProperties struct { // The name of the key vault key. - KeyName *string `json:"keyName,omitempty"` + KeyName *string // The Uri of the key vault. - KeyVaultURI *string `json:"keyVaultUri,omitempty"` + KeyVaultURI *string // The version of the key vault key. - KeyVersion *string `json:"keyVersion,omitempty"` + KeyVersion *string // The user assigned identity (ARM resource id) that has access to the key. - UserIdentity *string `json:"userIdentity,omitempty"` + UserIdentity *string } // LanguageExtension - The language extension object. type LanguageExtension struct { // The language extension image name. - LanguageExtensionImageName *LanguageExtensionImageName `json:"languageExtensionImageName,omitempty"` + LanguageExtensionImageName *LanguageExtensionImageName // The language extension name. - LanguageExtensionName *LanguageExtensionName `json:"languageExtensionName,omitempty"` + LanguageExtensionName *LanguageExtensionName } // LanguageExtensionsList - The list of language extension objects. type LanguageExtensionsList struct { // The list of language extensions. - Value []*LanguageExtension `json:"value,omitempty"` + Value []*LanguageExtension } // ListResourceSKUsResult - List of available SKUs for a Kusto Cluster. type ListResourceSKUsResult struct { // The collection of available SKUs for an existing resource. - Value []*AzureResourceSKU `json:"value,omitempty"` + Value []*AzureResourceSKU } // ManagedPrivateEndpoint - Class representing a managed private endpoint. type ManagedPrivateEndpoint struct { // A managed private endpoint. - Properties *ManagedPrivateEndpointProperties `json:"properties,omitempty"` + Properties *ManagedPrivateEndpointProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagedPrivateEndpointListResult - The list managed private endpoints operation response. type ManagedPrivateEndpointListResult struct { // The list of managed private endpoints. - Value []*ManagedPrivateEndpoint `json:"value,omitempty"` + Value []*ManagedPrivateEndpoint } // ManagedPrivateEndpointProperties - A class representing the properties of a managed private endpoint object. type ManagedPrivateEndpointProperties struct { // REQUIRED; The groupId in which the managed private endpoint is created. - GroupID *string `json:"groupId,omitempty"` + GroupID *string // REQUIRED; The ARM resource ID of the resource for which the managed private endpoint is created. - PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"` + PrivateLinkResourceID *string // The region of the resource to which the managed private endpoint is created. - PrivateLinkResourceRegion *string `json:"privateLinkResourceRegion,omitempty"` + PrivateLinkResourceRegion *string // The user request message. - RequestMessage *string `json:"requestMessage,omitempty"` + RequestMessage *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ManagedPrivateEndpointsCheckNameRequest - The result returned from a managedPrivateEndpoints check name availability request. type ManagedPrivateEndpointsCheckNameRequest struct { // REQUIRED; Managed private endpoint resource name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, for instance Microsoft.Kusto/clusters/managedPrivateEndpoints. // Field has constant value "Microsoft.Kusto/clusters/managedPrivateEndpoints", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // ManagedPrivateEndpointsClientBeginCreateOrUpdateOptions contains the optional parameters for the ManagedPrivateEndpointsClient.BeginCreateOrUpdate @@ -1352,89 +1352,89 @@ type ManagedPrivateEndpointsClientListOptions struct { // Operation - A REST API operation type Operation struct { // The object that describes the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // This is of the format {provider}/{resource}/{operation}. - Name *string `json:"name,omitempty"` + Name *string // The intended executor of the operation. - Origin *string `json:"origin,omitempty"` + Origin *string // Properties of the operation. - Properties any `json:"properties,omitempty"` + Properties any } // OperationDisplay - The object that describes the operation. type OperationDisplay struct { // The friendly name of the operation. - Description *string `json:"description,omitempty"` + Description *string // For example: read, write, delete. - Operation *string `json:"operation,omitempty"` + Operation *string // Friendly name of the resource provider. - Provider *string `json:"provider,omitempty"` + Provider *string // The resource type on which the operation is performed. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of the request to list REST API operations. It contains a list of operations and a URL nextLink // to get the next set of results. type OperationListResult struct { // The URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of operations supported by the resource provider. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationResult - Operation Result Entity. type OperationResult struct { // The operation end time - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Object that contains the error code and message if the operation failed. - Error *OperationResultErrorProperties `json:"error,omitempty"` + Error *OperationResultErrorProperties // Percentage completed. - PercentComplete *float64 `json:"percentComplete,omitempty"` + PercentComplete *float64 // Properties of the operation results - Properties *OperationResultProperties `json:"properties,omitempty"` + Properties *OperationResultProperties // The operation start time - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // READ-ONLY; ID of the resource. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the resource. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; status of the Operation result. - Status *Status `json:"status,omitempty" azure:"ro"` + Status *Status } // OperationResultErrorProperties - Operation result error properties type OperationResultErrorProperties struct { // The code of the error. - Code *string `json:"code,omitempty"` + Code *string // The error message. - Message *string `json:"message,omitempty"` + Message *string } // OperationResultProperties - Operation result properties type OperationResultProperties struct { // The kind of the operation. - OperationKind *string `json:"operationKind,omitempty"` + OperationKind *string // The state of the operation. - OperationState *string `json:"operationState,omitempty"` + OperationState *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -1456,44 +1456,44 @@ type OperationsResultsLocationClientGetOptions struct { // OptimizedAutoscale - A class that contains the optimized auto scale definition. type OptimizedAutoscale struct { // REQUIRED; A boolean value that indicate if the optimized autoscale feature is enabled or not. - IsEnabled *bool `json:"isEnabled,omitempty"` + IsEnabled *bool // REQUIRED; Maximum allowed instances count. - Maximum *int32 `json:"maximum,omitempty"` + Maximum *int32 // REQUIRED; Minimum allowed instances count. - Minimum *int32 `json:"minimum,omitempty"` + Minimum *int32 // REQUIRED; The version of the template defined, for instance 1. - Version *int32 `json:"version,omitempty"` + Version *int32 } // OutboundNetworkDependenciesEndpoint - Endpoints accessed for a common purpose that the Kusto Service Environment requires // outbound network access to. type OutboundNetworkDependenciesEndpoint struct { // The outbound environment endpoint properties. - Properties *OutboundNetworkDependenciesEndpointProperties `json:"properties,omitempty"` + Properties *OutboundNetworkDependenciesEndpointProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // OutboundNetworkDependenciesEndpointListResult - Collection of Outbound Environment Endpoints type OutboundNetworkDependenciesEndpointListResult struct { // REQUIRED; Collection of resources. - Value []*OutboundNetworkDependenciesEndpoint `json:"value,omitempty"` + Value []*OutboundNetworkDependenciesEndpoint // READ-ONLY; Link to next page of resources. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // OutboundNetworkDependenciesEndpointProperties - Endpoints accessed for a common purpose that the Kusto Service Environment @@ -1501,52 +1501,52 @@ type OutboundNetworkDependenciesEndpointListResult struct { type OutboundNetworkDependenciesEndpointProperties struct { // The type of service accessed by the Kusto Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active // Directory. - Category *string `json:"category,omitempty"` + Category *string // The endpoints that the Kusto Service Environment reaches the service at. - Endpoints []*EndpointDependency `json:"endpoints,omitempty"` + Endpoints []*EndpointDependency // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateEndpointConnection - A private endpoint connection type PrivateEndpointConnection struct { // Resource properties. - Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Properties *PrivateEndpointConnectionProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateEndpointConnectionListResult - A list of private endpoint connections type PrivateEndpointConnectionListResult struct { // Array of private endpoint connections - Value []*PrivateEndpointConnection `json:"value,omitempty"` + Value []*PrivateEndpointConnection } // PrivateEndpointConnectionProperties - Properties of a private endpoint connection. type PrivateEndpointConnectionProperties struct { // REQUIRED; Connection State of the Private Endpoint Connection. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty // READ-ONLY; Group id of the private endpoint. - GroupID *string `json:"groupId,omitempty" azure:"ro"` + GroupID *string // READ-ONLY; Private endpoint which the connection belongs to. - PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty" azure:"ro"` + PrivateEndpoint *PrivateEndpointProperty // READ-ONLY; Provisioning state of the private endpoint. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginCreateOrUpdate @@ -1578,43 +1578,43 @@ type PrivateEndpointConnectionsClientListOptions struct { // PrivateEndpointProperty - Private endpoint which the connection belongs to. type PrivateEndpointProperty struct { // READ-ONLY; Resource id of the private endpoint. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // PrivateLinkResource - A private link resource type PrivateLinkResource struct { // Resource properties. - Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` + Properties *PrivateLinkResourceProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateLinkResourceListResult - A list of private link resources type PrivateLinkResourceListResult struct { // Array of private link resources - Value []*PrivateLinkResource `json:"value,omitempty"` + Value []*PrivateLinkResource } // PrivateLinkResourceProperties - Properties of a private link resource. type PrivateLinkResourceProperties struct { // READ-ONLY; The private link resource group id. - GroupID *string `json:"groupId,omitempty" azure:"ro"` + GroupID *string // READ-ONLY; The private link resource required member names. - RequiredMembers []*string `json:"requiredMembers,omitempty" azure:"ro"` + RequiredMembers []*string // READ-ONLY; The private link resource required zone names. - RequiredZoneNames []*string `json:"requiredZoneNames,omitempty" azure:"ro"` + RequiredZoneNames []*string } // PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method. @@ -1631,34 +1631,34 @@ type PrivateLinkResourcesClientListOptions struct { // PrivateLinkServiceConnectionStateProperty - Connection State of the Private Endpoint Connection. type PrivateLinkServiceConnectionStateProperty struct { // The private link service connection description. - Description *string `json:"description,omitempty"` + Description *string // The private link service connection status. - Status *string `json:"status,omitempty"` + Status *string // READ-ONLY; Any action that is required beyond basic workflow (approve/ reject/ disconnect) - ActionsRequired *string `json:"actionsRequired,omitempty" azure:"ro"` + ActionsRequired *string } // ReadOnlyFollowingDatabase - Class representing a read only following database. type ReadOnlyFollowingDatabase struct { // REQUIRED; Kind of the database - Kind *Kind `json:"kind,omitempty"` + Kind *Kind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The database properties. - Properties *ReadOnlyFollowingDatabaseProperties `json:"properties,omitempty"` + Properties *ReadOnlyFollowingDatabaseProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDatabase implements the DatabaseClassification interface for type ReadOnlyFollowingDatabase. @@ -1675,55 +1675,55 @@ func (r *ReadOnlyFollowingDatabase) GetDatabase() *Database { // ReadOnlyFollowingDatabaseProperties - Class representing the Kusto database properties. type ReadOnlyFollowingDatabaseProperties struct { // The time the data should be kept in cache for fast queries in TimeSpan. - HotCachePeriod *string `json:"hotCachePeriod,omitempty"` + HotCachePeriod *string // READ-ONLY; The name of the attached database configuration cluster - AttachedDatabaseConfigurationName *string `json:"attachedDatabaseConfigurationName,omitempty" azure:"ro"` + AttachedDatabaseConfigurationName *string // READ-ONLY; The origin of the following setup. - DatabaseShareOrigin *DatabaseShareOrigin `json:"databaseShareOrigin,omitempty" azure:"ro"` + DatabaseShareOrigin *DatabaseShareOrigin // READ-ONLY; The name of the leader cluster - LeaderClusterResourceID *string `json:"leaderClusterResourceId,omitempty" azure:"ro"` + LeaderClusterResourceID *string // READ-ONLY; The original database name, before databaseNameOverride or databaseNamePrefix where applied. - OriginalDatabaseName *string `json:"originalDatabaseName,omitempty" azure:"ro"` + OriginalDatabaseName *string // READ-ONLY; The principals modification kind of the database - PrincipalsModificationKind *PrincipalsModificationKind `json:"principalsModificationKind,omitempty" azure:"ro"` + PrincipalsModificationKind *PrincipalsModificationKind // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The time the data should be kept before it stops being accessible to queries in TimeSpan. - SoftDeletePeriod *string `json:"softDeletePeriod,omitempty" azure:"ro"` + SoftDeletePeriod *string // READ-ONLY; The statistics of the database. - Statistics *DatabaseStatistics `json:"statistics,omitempty" azure:"ro"` + Statistics *DatabaseStatistics // READ-ONLY; Table level sharing specifications - TableLevelSharingProperties *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty" azure:"ro"` + TableLevelSharingProperties *TableLevelSharingProperties } // ReadWriteDatabase - Class representing a read write database. type ReadWriteDatabase struct { // REQUIRED; Kind of the database - Kind *Kind `json:"kind,omitempty"` + Kind *Kind // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The database properties. - Properties *ReadWriteDatabaseProperties `json:"properties,omitempty"` + Properties *ReadWriteDatabaseProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetDatabase implements the DatabaseClassification interface for type ReadWriteDatabase. @@ -1740,76 +1740,76 @@ func (r *ReadWriteDatabase) GetDatabase() *Database { // ReadWriteDatabaseProperties - Class representing the Kusto database properties. type ReadWriteDatabaseProperties struct { // The time the data should be kept in cache for fast queries in TimeSpan. - HotCachePeriod *string `json:"hotCachePeriod,omitempty"` + HotCachePeriod *string // The time the data should be kept before it stops being accessible to queries in TimeSpan. - SoftDeletePeriod *string `json:"softDeletePeriod,omitempty"` + SoftDeletePeriod *string // READ-ONLY; Indicates whether the database is followed. - IsFollowed *bool `json:"isFollowed,omitempty" azure:"ro"` + IsFollowed *bool // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The statistics of the database. - Statistics *DatabaseStatistics `json:"statistics,omitempty" azure:"ro"` + Statistics *DatabaseStatistics } // ResourceSKUCapabilities - Describes The SKU capabilities object. type ResourceSKUCapabilities struct { // READ-ONLY; An invariant to describe the feature. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; An invariant if the feature is measured by quantity. - Value *string `json:"value,omitempty" azure:"ro"` + Value *string } // ResourceSKUZoneDetails - Describes The zonal capabilities of a SKU. type ResourceSKUZoneDetails struct { // READ-ONLY; A list of capabilities that are available for the SKU in the specified list of zones. - Capabilities []*ResourceSKUCapabilities `json:"capabilities,omitempty" azure:"ro"` + Capabilities []*ResourceSKUCapabilities // READ-ONLY; The set of zones that the SKU is available in with the specified capabilities. - Name []*string `json:"name,omitempty" azure:"ro"` + Name []*string } // SKUDescription - The Kusto SKU description of given resource type type SKUDescription struct { // READ-ONLY; Locations and zones - LocationInfo []*SKULocationInfoItem `json:"locationInfo,omitempty" azure:"ro"` + LocationInfo []*SKULocationInfoItem // READ-ONLY; The set of locations that the SKU is available - Locations []*string `json:"locations,omitempty" azure:"ro"` + Locations []*string // READ-ONLY; The name of the SKU - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type - ResourceType *string `json:"resourceType,omitempty" azure:"ro"` + ResourceType *string // READ-ONLY; The restrictions because of which SKU cannot be used - Restrictions []any `json:"restrictions,omitempty" azure:"ro"` + Restrictions []any // READ-ONLY; The tier of the SKU - Tier *string `json:"tier,omitempty" azure:"ro"` + Tier *string } // SKUDescriptionList - The list of the EngagementFabric SKU descriptions type SKUDescriptionList struct { // READ-ONLY; SKU descriptions - Value []*SKUDescription `json:"value,omitempty" azure:"ro"` + Value []*SKUDescription } // SKULocationInfoItem - The locations and zones info for SKU. type SKULocationInfoItem struct { // REQUIRED; The available location of the SKU. - Location *string `json:"location,omitempty"` + Location *string // Gets details of capabilities available to a SKU in specific zones. - ZoneDetails []*ResourceSKUZoneDetails `json:"zoneDetails,omitempty"` + ZoneDetails []*ResourceSKUZoneDetails // The available zone of the SKU. - Zones []*string `json:"zones,omitempty"` + Zones []*string } // SKUsClientListOptions contains the optional parameters for the SKUsClient.NewListPager method. @@ -1820,57 +1820,57 @@ type SKUsClientListOptions struct { // Script - Class representing a database script. type Script struct { // The database script. - Properties *ScriptProperties `json:"properties,omitempty"` + Properties *ScriptProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ScriptCheckNameRequest - A script name availability request. type ScriptCheckNameRequest struct { // REQUIRED; Script name. - Name *string `json:"name,omitempty"` + Name *string // CONSTANT; The type of resource, Microsoft.Kusto/clusters/databases/scripts. // Field has constant value "Microsoft.Kusto/clusters/databases/scripts", any specified value is ignored. - Type *string `json:"type,omitempty"` + Type *string } // ScriptListResult - The list Kusto database script operation response. type ScriptListResult struct { // The list of Kusto scripts. - Value []*Script `json:"value,omitempty"` + Value []*Script } // ScriptProperties - A class representing database script property. type ScriptProperties struct { // Flag that indicates whether to continue if one of the command fails. - ContinueOnErrors *bool `json:"continueOnErrors,omitempty"` + ContinueOnErrors *bool // A unique string. If changed the script will be applied again. - ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` + ForceUpdateTag *string // The script content. This property should be used when the script is provide inline and not through file in a SA. Must not // be used together with scriptUrl and scriptUrlSasToken properties. - ScriptContent *string `json:"scriptContent,omitempty"` + ScriptContent *string // The url to the KQL script blob file. Must not be used together with scriptContent property - ScriptURL *string `json:"scriptUrl,omitempty"` + ScriptURL *string // The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. - ScriptURLSasToken *string `json:"scriptUrlSasToken,omitempty"` + ScriptURLSasToken *string // READ-ONLY; The provisioned state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ScriptsClientBeginCreateOrUpdateOptions contains the optional parameters for the ScriptsClient.BeginCreateOrUpdate method. @@ -1910,65 +1910,65 @@ type ScriptsClientListByDatabaseOptions struct { // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // TableLevelSharingProperties - Tables that will be included and excluded in the follower database type TableLevelSharingProperties struct { // List of external tables to exclude from the follower database - ExternalTablesToExclude []*string `json:"externalTablesToExclude,omitempty"` + ExternalTablesToExclude []*string // List of external tables to include in the follower database - ExternalTablesToInclude []*string `json:"externalTablesToInclude,omitempty"` + ExternalTablesToInclude []*string // List of functions to exclude from the follower database - FunctionsToExclude []*string `json:"functionsToExclude,omitempty"` + FunctionsToExclude []*string // List of functions to include in the follower database - FunctionsToInclude []*string `json:"functionsToInclude,omitempty"` + FunctionsToInclude []*string // List of materialized views to exclude from the follower database - MaterializedViewsToExclude []*string `json:"materializedViewsToExclude,omitempty"` + MaterializedViewsToExclude []*string // List of materialized views to include in the follower database - MaterializedViewsToInclude []*string `json:"materializedViewsToInclude,omitempty"` + MaterializedViewsToInclude []*string // List of tables to exclude from the follower database - TablesToExclude []*string `json:"tablesToExclude,omitempty"` + TablesToExclude []*string // List of tables to include in the follower database - TablesToInclude []*string `json:"tablesToInclude,omitempty"` + TablesToInclude []*string } // TrustedExternalTenant - Represents a tenant ID that is trusted by the cluster. type TrustedExternalTenant struct { // GUID representing an external tenant. - Value *string `json:"value,omitempty"` + Value *string } // VirtualNetworkConfiguration - A class that contains virtual network definition. type VirtualNetworkConfiguration struct { // REQUIRED; Data management's service public IP address resource id. - DataManagementPublicIPID *string `json:"dataManagementPublicIpId,omitempty"` + DataManagementPublicIPID *string // REQUIRED; Engine service's public IP address resource id. - EnginePublicIPID *string `json:"enginePublicIpId,omitempty"` + EnginePublicIPID *string // REQUIRED; The subnet resource id. - SubnetID *string `json:"subnetId,omitempty"` + SubnetID *string } diff --git a/sdk/resourcemanager/kusto/armkusto/models_serde.go b/sdk/resourcemanager/kusto/armkusto/models_serde.go index f8554d1462ad..a34f8dff5210 100644 --- a/sdk/resourcemanager/kusto/armkusto/models_serde.go +++ b/sdk/resourcemanager/kusto/armkusto/models_serde.go @@ -2324,7 +2324,7 @@ func (o Operation) MarshalJSON() ([]byte, error) { populate(objectMap, "display", o.Display) populate(objectMap, "name", o.Name) populate(objectMap, "origin", o.Origin) - populate(objectMap, "properties", &o.Properties) + populateAny(objectMap, "properties", o.Properties) return json.Marshal(objectMap) } @@ -3665,6 +3665,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/labservices/armlabservices/CHANGELOG.md b/sdk/resourcemanager/labservices/armlabservices/CHANGELOG.md index 2599406d7b33..b29596b5cdad 100644 --- a/sdk/resourcemanager/labservices/armlabservices/CHANGELOG.md +++ b/sdk/resourcemanager/labservices/armlabservices/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/labservices/armlabservices/autorest.md b/sdk/resourcemanager/labservices/armlabservices/autorest.md index 2b26c1abd33f..4a33bb4f7f7c 100644 --- a/sdk/resourcemanager/labservices/armlabservices/autorest.md +++ b/sdk/resourcemanager/labservices/armlabservices/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/4c2cdccf6ca3281dd50ed8788ce1de2e0d480973/specification/labservices/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/4c2cdccf6ca3281dd50ed8788ce1de2e0d480973/specification/labservices/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/labservices/armlabservices/constants.go b/sdk/resourcemanager/labservices/armlabservices/constants.go index e165308d8a12..362703c16a4e 100644 --- a/sdk/resourcemanager/labservices/armlabservices/constants.go +++ b/sdk/resourcemanager/labservices/armlabservices/constants.go @@ -11,7 +11,7 @@ package armlabservices const ( moduleName = "armlabservices" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. diff --git a/sdk/resourcemanager/labservices/armlabservices/models.go b/sdk/resourcemanager/labservices/armlabservices/models.go index 0963225beea7..973b057a1843 100644 --- a/sdk/resourcemanager/labservices/armlabservices/models.go +++ b/sdk/resourcemanager/labservices/armlabservices/models.go @@ -14,194 +14,194 @@ import "time" // AutoShutdownProfile - Profile for how to handle shutting down virtual machines. type AutoShutdownProfile struct { // The amount of time a VM will stay running after a user disconnects if this behavior is enabled. - DisconnectDelay *string `json:"disconnectDelay,omitempty"` + DisconnectDelay *string // The amount of time a VM will idle before it is shutdown if this behavior is enabled. - IdleDelay *string `json:"idleDelay,omitempty"` + IdleDelay *string // The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. - NoConnectDelay *string `json:"noConnectDelay,omitempty"` + NoConnectDelay *string // Whether shutdown on disconnect is enabled - ShutdownOnDisconnect *EnableState `json:"shutdownOnDisconnect,omitempty"` + ShutdownOnDisconnect *EnableState // Whether a VM will get shutdown when it has idled for a period of time. - ShutdownOnIdle *ShutdownOnIdleMode `json:"shutdownOnIdle,omitempty"` + ShutdownOnIdle *ShutdownOnIdleMode // Whether a VM will get shutdown when it hasn't been connected to after a period of time. - ShutdownWhenNotConnected *EnableState `json:"shutdownWhenNotConnected,omitempty"` + ShutdownWhenNotConnected *EnableState } // ConnectionProfile - Connection profile for how users connect to lab virtual machines. type ConnectionProfile struct { // The enabled access level for Client Access over RDP. - ClientRdpAccess *ConnectionType `json:"clientRdpAccess,omitempty"` + ClientRdpAccess *ConnectionType // The enabled access level for Client Access over SSH. - ClientSSHAccess *ConnectionType `json:"clientSshAccess,omitempty"` + ClientSSHAccess *ConnectionType // The enabled access level for Web Access over RDP. - WebRdpAccess *ConnectionType `json:"webRdpAccess,omitempty"` + WebRdpAccess *ConnectionType // The enabled access level for Web Access over SSH. - WebSSHAccess *ConnectionType `json:"webSshAccess,omitempty"` + WebSSHAccess *ConnectionType } // Credentials for a user on a lab VM. type Credentials struct { // REQUIRED; The username to use when signing in to lab VMs. - Username *string `json:"username,omitempty"` + Username *string // The password for the user. This is required for the TemplateVM createOption. - Password *string `json:"password,omitempty"` + Password *string } // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // Identity for the resource. type Identity struct { // The identity type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; The principal ID of resource identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of resource. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // Image - Lab services virtual machine image type Image struct { // REQUIRED; Image resource properties - Properties *ImageProperties `json:"properties,omitempty"` + Properties *ImageProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the image. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ImageProperties - Properties of an image resource. type ImageProperties struct { // The available regions of the image in the shared gallery. - AvailableRegions []*string `json:"availableRegions,omitempty"` + AvailableRegions []*string // Is the image enabled - EnabledState *EnableState `json:"enabledState,omitempty"` + EnabledState *EnableState // READ-ONLY; The image author. - Author *string `json:"author,omitempty" azure:"ro"` + Author *string // READ-ONLY; A description of the image. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; The image display name. - DisplayName *string `json:"displayName,omitempty" azure:"ro"` + DisplayName *string // READ-ONLY; URL of the image icon. - IconURL *string `json:"iconUrl,omitempty" azure:"ro"` + IconURL *string // READ-ONLY; The OS State of the image. - OSState *OsState `json:"osState,omitempty" azure:"ro"` + OSState *OsState // READ-ONLY; The OS Type of the image. - OSType *OsType `json:"osType,omitempty" azure:"ro"` + OSType *OsType // READ-ONLY; The ID of an offer associated with the image. - Offer *string `json:"offer,omitempty" azure:"ro"` + Offer *string // READ-ONLY; The ID of marketplace plan associated with the image (optional). - Plan *string `json:"plan,omitempty" azure:"ro"` + Plan *string // READ-ONLY; Current provisioning state of the image. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The ID of the publisher of the image. - Publisher *string `json:"publisher,omitempty" azure:"ro"` + Publisher *string // READ-ONLY; The image SKU. - SKU *string `json:"sku,omitempty" azure:"ro"` + SKU *string // READ-ONLY; The ID for the image in the shared gallery. - SharedGalleryID *string `json:"sharedGalleryId,omitempty" azure:"ro"` + SharedGalleryID *string // READ-ONLY; The status of image terms of use (enabled = accepted, disabled = not accepted). - TermsStatus *EnableState `json:"termsStatus,omitempty" azure:"ro"` + TermsStatus *EnableState // READ-ONLY; The image version. - Version *string `json:"version,omitempty" azure:"ro"` + Version *string } // ImageReference - Image reference information. Used in the virtual machine profile. type ImageReference struct { // Image resource ID - ID *string `json:"id,omitempty"` + ID *string // The image offer if applicable. - Offer *string `json:"offer,omitempty"` + Offer *string // The image publisher - Publisher *string `json:"publisher,omitempty"` + Publisher *string // The image SKU - SKU *string `json:"sku,omitempty"` + SKU *string // The image version specified on creation. - Version *string `json:"version,omitempty"` + Version *string // READ-ONLY; The actual version of the image after use. - ExactVersion *string `json:"exactVersion,omitempty" azure:"ro"` + ExactVersion *string } // ImageUpdate - Lab services virtual machine image for updates. type ImageUpdate struct { // Image resource properties - Properties *ImageUpdateProperties `json:"properties,omitempty"` + Properties *ImageUpdateProperties } // ImageUpdateProperties - Properties of an image resource update type ImageUpdateProperties struct { // Is the image enabled - EnabledState *EnableState `json:"enabledState,omitempty"` + EnabledState *EnableState } // ImagesClientCreateOrUpdateOptions contains the optional parameters for the ImagesClient.CreateOrUpdate method. @@ -228,43 +228,43 @@ type ImagesClientUpdateOptions struct { // InviteBody - Body for a user invite request type InviteBody struct { // Custom text for the invite email. - Text *string `json:"text,omitempty"` + Text *string } // Lab - The lab resource. type Lab struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Lab resource properties - Properties *LabProperties `json:"properties,omitempty"` + Properties *LabProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the lab. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LabNetworkProfile - Profile for how to handle networking for Labs. type LabNetworkProfile struct { // The external load balancer resource id - LoadBalancerID *string `json:"loadBalancerId,omitempty"` + LoadBalancerID *string // The external public IP resource id - PublicIPID *string `json:"publicIpId,omitempty"` + PublicIPID *string // The external subnet resource id - SubnetID *string `json:"subnetId,omitempty"` + SubnetID *string } // LabPlan - Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide @@ -272,105 +272,105 @@ type LabNetworkProfile struct { // defaults can still be overwritten. type LabPlan struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Lab plan resource properties - Properties *LabPlanProperties `json:"properties,omitempty"` + Properties *LabPlanProperties // Managed Identity Information - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the lab plan. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LabPlanNetworkProfile - Profile for how to handle networking for Lab Plans. type LabPlanNetworkProfile struct { // The external subnet resource id - SubnetID *string `json:"subnetId,omitempty"` + SubnetID *string } // LabPlanProperties - Lab plan resource properties type LabPlanProperties struct { // The allowed regions for the lab creator to use when creating labs using this lab plan. - AllowedRegions []*string `json:"allowedRegions,omitempty"` + AllowedRegions []*string // The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. - DefaultAutoShutdownProfile *AutoShutdownProfile `json:"defaultAutoShutdownProfile,omitempty"` + DefaultAutoShutdownProfile *AutoShutdownProfile // The default lab connection profile. This can be changed on a lab resource and only provides a default profile. - DefaultConnectionProfile *ConnectionProfile `json:"defaultConnectionProfile,omitempty"` + DefaultConnectionProfile *ConnectionProfile // The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there // are existing labs associated with this lab plan. - DefaultNetworkProfile *LabPlanNetworkProfile `json:"defaultNetworkProfile,omitempty"` + DefaultNetworkProfile *LabPlanNetworkProfile // Base Url of the lms instance this lab plan can link lab rosters against. - LinkedLmsInstance *string `json:"linkedLmsInstance,omitempty"` + LinkedLmsInstance *string // Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it // will be persisted in this gallery. Shared images from the gallery can be made // available to use when creating new labs. - SharedGalleryID *string `json:"sharedGalleryId,omitempty"` + SharedGalleryID *string // Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and // virtual machine users for all labs in the lab plan. - SupportInfo *SupportInfo `json:"supportInfo,omitempty"` + SupportInfo *SupportInfo // READ-ONLY; Current provisioning state of the lab plan. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // LabPlanUpdate - Contains lab configuration and default settings. This variant is used for PATCH. type LabPlanUpdate struct { // Managed Identity Information - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Lab plan resource update properties - Properties *LabPlanUpdateProperties `json:"properties,omitempty"` + Properties *LabPlanUpdateProperties // Resource tags. - Tags []*string `json:"tags,omitempty"` + Tags []*string } // LabPlanUpdateProperties - Lab plan resource properties for updates type LabPlanUpdateProperties struct { // The allowed regions for the lab creator to use when creating labs using this lab plan. - AllowedRegions []*string `json:"allowedRegions,omitempty"` + AllowedRegions []*string // The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. - DefaultAutoShutdownProfile *AutoShutdownProfile `json:"defaultAutoShutdownProfile,omitempty"` + DefaultAutoShutdownProfile *AutoShutdownProfile // The default lab connection profile. This can be changed on a lab resource and only provides a default profile. - DefaultConnectionProfile *ConnectionProfile `json:"defaultConnectionProfile,omitempty"` + DefaultConnectionProfile *ConnectionProfile // The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there // are existing labs associated with this lab plan. - DefaultNetworkProfile *LabPlanNetworkProfile `json:"defaultNetworkProfile,omitempty"` + DefaultNetworkProfile *LabPlanNetworkProfile // Base Url of the lms instance this lab plan can link lab rosters against. - LinkedLmsInstance *string `json:"linkedLmsInstance,omitempty"` + LinkedLmsInstance *string // Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it // will be persisted in this gallery. Shared images from the gallery can be made // available to use when creating new labs. - SharedGalleryID *string `json:"sharedGalleryId,omitempty"` + SharedGalleryID *string // Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and // virtual machine users for all labs in the lab plan. - SupportInfo *SupportInfo `json:"supportInfo,omitempty"` + SupportInfo *SupportInfo } // LabPlansClientBeginCreateOrUpdateOptions contains the optional parameters for the LabPlansClient.BeginCreateOrUpdate method. @@ -419,81 +419,81 @@ type LabPlansClientListBySubscriptionOptions struct { type LabProperties struct { // The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting // idle. - AutoShutdownProfile *AutoShutdownProfile `json:"autoShutdownProfile,omitempty"` + AutoShutdownProfile *AutoShutdownProfile // The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports // are open. - ConnectionProfile *ConnectionProfile `json:"connectionProfile,omitempty"` + ConnectionProfile *ConnectionProfile // The description of the lab. - Description *string `json:"description,omitempty"` + Description *string // The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating // a lab via labs.azure.com. Setting a labPlanId on an existing lab provides // organization.. - LabPlanID *string `json:"labPlanId,omitempty"` + LabPlanID *string // The network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been // created. - NetworkProfile *LabNetworkProfile `json:"networkProfile,omitempty"` + NetworkProfile *LabNetworkProfile // The lab user list management profile. - RosterProfile *RosterProfile `json:"rosterProfile,omitempty"` + RosterProfile *RosterProfile // The lab security profile. - SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` + SecurityProfile *SecurityProfile // The title of the lab. - Title *string `json:"title,omitempty"` + Title *string // The profile used for creating lab virtual machines. - VirtualMachineProfile *VirtualMachineProfile `json:"virtualMachineProfile,omitempty"` + VirtualMachineProfile *VirtualMachineProfile // READ-ONLY; Current provisioning state of the lab. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The lab state. - State *LabState `json:"state,omitempty" azure:"ro"` + State *LabState } // LabUpdate - The lab resource for updates. type LabUpdate struct { // Lab resource properties - Properties *LabUpdateProperties `json:"properties,omitempty"` + Properties *LabUpdateProperties // Resource tags. - Tags []*string `json:"tags,omitempty"` + Tags []*string } // LabUpdateProperties - Properties of a lab resource used for updates. type LabUpdateProperties struct { // The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting // idle. - AutoShutdownProfile *AutoShutdownProfile `json:"autoShutdownProfile,omitempty"` + AutoShutdownProfile *AutoShutdownProfile // The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports // are open. - ConnectionProfile *ConnectionProfile `json:"connectionProfile,omitempty"` + ConnectionProfile *ConnectionProfile // The description of the lab. - Description *string `json:"description,omitempty"` + Description *string // The ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating // a lab via labs.azure.com. Setting a labPlanId on an existing lab provides // organization.. - LabPlanID *string `json:"labPlanId,omitempty"` + LabPlanID *string // The lab user list management profile. - RosterProfile *RosterProfile `json:"rosterProfile,omitempty"` + RosterProfile *RosterProfile // The lab security profile. - SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` + SecurityProfile *SecurityProfile // The title of the lab. - Title *string `json:"title,omitempty"` + Title *string // The profile used for creating lab virtual machines. - VirtualMachineProfile *VirtualMachineProfile `json:"virtualMachineProfile,omitempty"` + VirtualMachineProfile *VirtualMachineProfile } // LabsClientBeginCreateOrUpdateOptions contains the optional parameters for the LabsClient.BeginCreateOrUpdate method. @@ -545,83 +545,83 @@ type LabsClientListBySubscriptionOptions struct { // ListUsagesResult - List of Core Usages. type ListUsagesResult struct { // The array page of Usages. - Value []*Usage `json:"value,omitempty"` + Value []*Usage // READ-ONLY; The link to get the next page of Usage result. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // Operation - Details of a REST API operation, returned from the Resource Provider Operations API type Operation struct { // Localized display information for this particular operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. - ActionType *ActionType `json:"actionType,omitempty" azure:"ro"` + ActionType *ActionType // READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane // operations. - IsDataAction *bool `json:"isDataAction,omitempty" azure:"ro"` + IsDataAction *bool // READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", // "Microsoft.Compute/virtualMachines/capture/action" - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default // value is "user,system" - Origin *Origin `json:"origin,omitempty" azure:"ro"` + Origin *Origin } // OperationDisplay - Localized display information for this particular operation. type OperationDisplay struct { // READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual // Machine", "Restart Virtual Machine". - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft // Compute". - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job // Schedule Collections". - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to // get the next set of results. type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results (if there are any). - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of operations supported by the resource provider - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationResult - A long running operation result type OperationResult struct { // REQUIRED; The operation status - Status *OperationStatus `json:"status,omitempty"` + Status *OperationStatus // End time - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // The error for a failure if the operation failed. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail // Percent completion - PercentComplete *float32 `json:"percentComplete,omitempty"` + PercentComplete *float32 // Start time - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // OperationResultsClientGetOptions contains the optional parameters for the OperationResultsClient.Get method. @@ -637,233 +637,233 @@ type OperationsClientListOptions struct { // PagedImages - Paged list of Lab services virtual machine images. type PagedImages struct { // READ-ONLY; The link to get the next page of image results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of virtual machine images. - Value []*Image `json:"value,omitempty" azure:"ro"` + Value []*Image } // PagedLabPlans - Paged list of lab plans. type PagedLabPlans struct { // READ-ONLY; The link to get the next page of lab plan results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of lab plans. - Value []*LabPlan `json:"value,omitempty" azure:"ro"` + Value []*LabPlan } // PagedLabs - Paged list of labs. type PagedLabs struct { // READ-ONLY; The link to get the next page of image results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of lab results. - Value []*Lab `json:"value,omitempty" azure:"ro"` + Value []*Lab } // PagedSKUInfos - Paged list of lab services skus. type PagedSKUInfos struct { // READ-ONLY; The link to get the next page of sku results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of sku results. - Value []*SKUInfo `json:"value,omitempty" azure:"ro"` + Value []*SKUInfo } // PagedSchedules - Paged list of schedules. type PagedSchedules struct { // READ-ONLY; The link to get the next page of schedule results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of schedule results. - Value []*Schedule `json:"value,omitempty" azure:"ro"` + Value []*Schedule } // PagedUsers - Paged list of users. type PagedUsers struct { // READ-ONLY; The link to get the next page of image results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of user results. - Value []*User `json:"value,omitempty" azure:"ro"` + Value []*User } // PagedVirtualMachines - Paged list of lab services virtual machines. type PagedVirtualMachines struct { // READ-ONLY; The link to get the next page of virtual machine results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The array page of virtual machine results. - Value []*VirtualMachine `json:"value,omitempty" azure:"ro"` + Value []*VirtualMachine } // ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a // location type ProxyResource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RecurrencePattern - Recurrence pattern of a lab schedule. type RecurrencePattern struct { // REQUIRED; When the recurrence will expire. This date is inclusive. - ExpirationDate *time.Time `json:"expirationDate,omitempty"` + ExpirationDate *time.Time // REQUIRED; The frequency of the recurrence. - Frequency *RecurrenceFrequency `json:"frequency,omitempty"` + Frequency *RecurrenceFrequency // The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. // When no interval is supplied, an interval of 1 is used. - Interval *int32 `json:"interval,omitempty"` + Interval *int32 // The week days the schedule runs. Used for when the Frequency is set to Weekly. - WeekDays []*WeekDay `json:"weekDays,omitempty"` + WeekDays []*WeekDay } // ResetPasswordBody - Body of a reset password request. type ResetPasswordBody struct { // REQUIRED; The password - Password *string `json:"password,omitempty"` + Password *string // REQUIRED; The user whose password is being reset - Username *string `json:"username,omitempty"` + Username *string } // Resource - Common fields that are returned in the response for all Azure Resource Manager resources type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RosterProfile - The lab user list management profile. type RosterProfile struct { // The AAD group ID which this lab roster is populated from. Having this set enables AAD sync mode. - ActiveDirectoryGroupID *string `json:"activeDirectoryGroupId,omitempty"` + ActiveDirectoryGroupID *string // The base URI identifying the lms instance. - LmsInstance *string `json:"lmsInstance,omitempty"` + LmsInstance *string // The unique id of the azure lab services tool in the lms. - LtiClientID *string `json:"ltiClientId,omitempty"` + LtiClientID *string // The unique context identifier for the lab in the lms. - LtiContextID *string `json:"ltiContextId,omitempty"` + LtiContextID *string // The uri of the names and roles service endpoint on the lms for the class attached to this lab. - LtiRosterEndpoint *string `json:"ltiRosterEndpoint,omitempty"` + LtiRosterEndpoint *string } // SKU - The resource model definition representing SKU type SKU struct { // REQUIRED; The name of the SKU. Ex - P3. It is typically a letter+number code - Name *string `json:"name,omitempty"` + Name *string // If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the // resource this may be omitted. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // If the service has different generations of hardware, for the same SKU, then that can be captured here. - Family *string `json:"family,omitempty"` + Family *string // The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. - Size *string `json:"size,omitempty"` + Size *string // This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required // on a PUT. - Tier *SKUTier `json:"tier,omitempty"` + Tier *SKUTier } // SKUCapabilities - The array of capabilities of a lab services SKU. type SKUCapabilities struct { // READ-ONLY; The name of the capability for a SKU. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The value of the capability for a SKU. - Value *string `json:"value,omitempty" azure:"ro"` + Value *string } // SKUCapacity - The scale out/in options of the SKU. type SKUCapacity struct { // READ-ONLY; The default capacity for this resource. - Default *int64 `json:"default,omitempty" azure:"ro"` + Default *int64 // READ-ONLY; The highest permitted capacity for this resource. - Maximum *int64 `json:"maximum,omitempty" azure:"ro"` + Maximum *int64 // READ-ONLY; The lowest permitted capacity for this resource. - Minimum *int64 `json:"minimum,omitempty" azure:"ro"` + Minimum *int64 // READ-ONLY; The localized name of the resource. - ScaleType *ScaleType `json:"scaleType,omitempty" azure:"ro"` + ScaleType *ScaleType } // SKUCost - The array of costs of a lab services SKU. type SKUCost struct { // READ-ONLY; The extended unit. - ExtendedUnit *string `json:"extendedUnit,omitempty" azure:"ro"` + ExtendedUnit *string // READ-ONLY; The meter id. - MeterID *string `json:"meterId,omitempty" azure:"ro"` + MeterID *string // READ-ONLY; The quantity of units charged. - Quantity *float32 `json:"quantity,omitempty" azure:"ro"` + Quantity *float32 } // SKUInfo - Azure Lab Services resource SKUs type SKUInfo struct { // The scale out/in options of the SKU. - Capacity *SKUCapacity `json:"capacity,omitempty"` + Capacity *SKUCapacity // READ-ONLY; The capabilities of the SKU. - Capabilities []*SKUCapabilities `json:"capabilities,omitempty" azure:"ro"` + Capabilities []*SKUCapabilities // READ-ONLY; Metadata for retrieving price info of a lab services SKUs. - Costs []*SKUCost `json:"costs,omitempty" azure:"ro"` + Costs []*SKUCost // READ-ONLY; The family of the SKU. - Family *string `json:"family,omitempty" azure:"ro"` + Family *string // READ-ONLY; List of locations that are available for a size. - Locations []*string `json:"locations,omitempty" azure:"ro"` + Locations []*string // READ-ONLY; The name of the SKU. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The lab services resource type. - ResourceType *string `json:"resourceType,omitempty" azure:"ro"` + ResourceType *string // READ-ONLY; Restrictions of a lab services SKUs. - Restrictions []*SKURestrictions `json:"restrictions,omitempty" azure:"ro"` + Restrictions []*SKURestrictions // READ-ONLY; The SKU size. - Size *string `json:"size,omitempty" azure:"ro"` + Size *string // READ-ONLY; The tier of the SKU. - Tier *LabServicesSKUTier `json:"tier,omitempty" azure:"ro"` + Tier *LabServicesSKUTier } // SKURestrictions - The restriction details. type SKURestrictions struct { // READ-ONLY; The reason for the restriction. - ReasonCode *RestrictionReasonCode `json:"reasonCode,omitempty" azure:"ro"` + ReasonCode *RestrictionReasonCode // READ-ONLY; The type of restriction. - Type *RestrictionType `json:"type,omitempty" azure:"ro"` + Type *RestrictionType // READ-ONLY; The values of the restriction. - Values []*string `json:"values,omitempty" azure:"ro"` + Values []*string } // SKUsClientListOptions contains the optional parameters for the SKUsClient.NewListPager method. @@ -875,73 +875,73 @@ type SKUsClientListOptions struct { // SaveImageBody - Body for the save image POST type SaveImageBody struct { // The ID of the lab virtual machine you want to save an image from. - LabVirtualMachineID *string `json:"labVirtualMachineId,omitempty"` + LabVirtualMachineID *string // The name for the image we create. - Name *string `json:"name,omitempty"` + Name *string } // Schedule for automatically turning virtual machines in a lab on and off at specified times. type Schedule struct { // REQUIRED; Schedule resource properties - Properties *ScheduleProperties `json:"properties,omitempty"` + Properties *ScheduleProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the schedule. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ScheduleProperties - Schedule resource properties type ScheduleProperties struct { // Notes for this schedule. - Notes *string `json:"notes,omitempty"` + Notes *string // The recurrence pattern of the scheduled actions. - RecurrencePattern *RecurrencePattern `json:"recurrencePattern,omitempty"` + RecurrencePattern *RecurrencePattern // When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. - StartAt *time.Time `json:"startAt,omitempty"` + StartAt *time.Time // When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. - StopAt *time.Time `json:"stopAt,omitempty"` + StopAt *time.Time // The IANA timezone id for the schedule. - TimeZoneID *string `json:"timeZoneId,omitempty"` + TimeZoneID *string // READ-ONLY; Current provisioning state of the schedule. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ScheduleUpdate - Schedule for automatically turning virtual machines in a lab on and off at specified times. Used for updates. type ScheduleUpdate struct { // Schedule resource properties - Properties *ScheduleUpdateProperties `json:"properties,omitempty"` + Properties *ScheduleUpdateProperties } // ScheduleUpdateProperties - Schedule resource properties used for updates. type ScheduleUpdateProperties struct { // Notes for this schedule. - Notes *string `json:"notes,omitempty"` + Notes *string // The recurrence pattern of the scheduled actions. - RecurrencePattern *RecurrencePattern `json:"recurrencePattern,omitempty"` + RecurrencePattern *RecurrencePattern // When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. - StartAt *time.Time `json:"startAt,omitempty"` + StartAt *time.Time // When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. - StopAt *time.Time `json:"stopAt,omitempty"` + StopAt *time.Time // The IANA timezone id for the schedule. - TimeZoneID *string `json:"timeZoneId,omitempty"` + TimeZoneID *string } // SchedulesClientBeginDeleteOptions contains the optional parameters for the SchedulesClient.BeginDelete method. @@ -974,101 +974,101 @@ type SchedulesClientUpdateOptions struct { // SecurityProfile - The lab security profile. type SecurityProfile struct { // Whether any user or only specified users can register to a lab. - OpenAccess *EnableState `json:"openAccess,omitempty"` + OpenAccess *EnableState // READ-ONLY; The registration code for the lab. - RegistrationCode *string `json:"registrationCode,omitempty" azure:"ro"` + RegistrationCode *string } // SupportInfo - Support contact information and instructions. type SupportInfo struct { // Support contact email address. - Email *string `json:"email,omitempty"` + Email *string // Support instructions. - Instructions *string `json:"instructions,omitempty"` + Instructions *string // Support contact phone number. - Phone *string `json:"phone,omitempty"` + Phone *string // Support web address. - URL *string `json:"url,omitempty"` + URL *string } // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' // and a 'location' type TrackedResource struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // TrackedResourceUpdate - Base tracked resource type for all PATCH updates. type TrackedResourceUpdate struct { // Resource tags. - Tags []*string `json:"tags,omitempty"` + Tags []*string } // Usage - The core usage details. type Usage struct { // The current usage. - CurrentValue *int64 `json:"currentValue,omitempty"` + CurrentValue *int64 // The fully qualified arm resource id. - ID *string `json:"id,omitempty"` + ID *string // The limit integer. - Limit *int64 `json:"limit,omitempty"` + Limit *int64 // The name. - Name *UsageName `json:"name,omitempty"` + Name *UsageName // The unit details. - Unit *UsageUnit `json:"unit,omitempty"` + Unit *UsageUnit } // UsageName - The Usage Names. type UsageName struct { // The localized name of the resource. - LocalizedValue *string `json:"localizedValue,omitempty"` + LocalizedValue *string // The instances of the resource. - SKUInstances []*string `json:"skuInstances,omitempty"` + SKUInstances []*string // The name of the resource. - Value *string `json:"value,omitempty"` + Value *string } // UsagesClientListByLocationOptions contains the optional parameters for the UsagesClient.NewListByLocationPager method. @@ -1080,58 +1080,58 @@ type UsagesClientListByLocationOptions struct { // User of a lab that can register for and use virtual machines within the lab. type User struct { // REQUIRED; User resource properties - Properties *UserProperties `json:"properties,omitempty"` + Properties *UserProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the user resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // UserProperties - User resource properties type UserProperties struct { // REQUIRED; Email address of the user. - Email *string `json:"email,omitempty"` + Email *string // The amount of usage quota time the user gets in addition to the lab usage quota. - AdditionalUsageQuota *string `json:"additionalUsageQuota,omitempty"` + AdditionalUsageQuota *string // READ-ONLY; Display name of the user, for example user's full name. - DisplayName *string `json:"displayName,omitempty" azure:"ro"` + DisplayName *string // READ-ONLY; Date and time when the invitation message was sent to the user. - InvitationSent *time.Time `json:"invitationSent,omitempty" azure:"ro"` + InvitationSent *time.Time // READ-ONLY; State of the invitation message for the user. - InvitationState *InvitationState `json:"invitationState,omitempty" azure:"ro"` + InvitationState *InvitationState // READ-ONLY; Current provisioning state of the user resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; State of the user's registration within the lab. - RegistrationState *RegistrationState `json:"registrationState,omitempty" azure:"ro"` + RegistrationState *RegistrationState // READ-ONLY; How long the user has used their virtual machines in this lab. - TotalUsage *string `json:"totalUsage,omitempty" azure:"ro"` + TotalUsage *string } // UserUpdate - User of a lab that can register for and use virtual machines within the lab. Used for updates. type UserUpdate struct { // User resource properties - Properties *UserUpdateProperties `json:"properties,omitempty"` + Properties *UserUpdateProperties } // UserUpdateProperties - User resource properties used for updates. type UserUpdateProperties struct { // The amount of usage quota time the user gets in addition to the lab usage quota. - AdditionalUsageQuota *string `json:"additionalUsageQuota,omitempty"` + AdditionalUsageQuota *string } // UsersClientBeginCreateOrUpdateOptions contains the optional parameters for the UsersClient.BeginCreateOrUpdate method. @@ -1172,97 +1172,97 @@ type UsersClientListByLabOptions struct { // VirtualMachine - A lab virtual machine resource. type VirtualMachine struct { // REQUIRED; Virtual machine resource properties - Properties *VirtualMachineProperties `json:"properties,omitempty"` + Properties *VirtualMachineProperties // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the resource - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; System data of the Lab virtual machine. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualMachineAdditionalCapabilities - The additional capabilities for a lab VM. type VirtualMachineAdditionalCapabilities struct { // Flag to pre-install dedicated GPU drivers. - InstallGpuDrivers *EnableState `json:"installGpuDrivers,omitempty"` + InstallGpuDrivers *EnableState } // VirtualMachineConnectionProfile - The connection information for the virtual machine type VirtualMachineConnectionProfile struct { // READ-ONLY; The username used to log on to the virtual machine as admin. - AdminUsername *string `json:"adminUsername,omitempty" azure:"ro"` + AdminUsername *string // READ-ONLY; The username used to log on to the virtual machine as non-admin, if one exists. - NonAdminUsername *string `json:"nonAdminUsername,omitempty" azure:"ro"` + NonAdminUsername *string // READ-ONLY; The private IP address of the virtual machine. - PrivateIPAddress *string `json:"privateIpAddress,omitempty" azure:"ro"` + PrivateIPAddress *string // READ-ONLY; Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine. - RdpAuthority *string `json:"rdpAuthority,omitempty" azure:"ro"` + RdpAuthority *string // READ-ONLY; URL for connecting via RDP protocol to the virtual machine in browser. - RdpInBrowserURL *string `json:"rdpInBrowserUrl,omitempty" azure:"ro"` + RdpInBrowserURL *string // READ-ONLY; Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine. - SSHAuthority *string `json:"sshAuthority,omitempty" azure:"ro"` + SSHAuthority *string // READ-ONLY; URL for connecting via SSH protocol to the virtual machine in browser. - SSHInBrowserURL *string `json:"sshInBrowserUrl,omitempty" azure:"ro"` + SSHInBrowserURL *string } // VirtualMachineProfile - The base virtual machine configuration for a lab. type VirtualMachineProfile struct { // REQUIRED; Credentials for the admin user on the VM. - AdminUser *Credentials `json:"adminUser,omitempty"` + AdminUser *Credentials // REQUIRED; Indicates what lab virtual machines are created from. - CreateOption *CreateOption `json:"createOption,omitempty"` + CreateOption *CreateOption // REQUIRED; The image configuration for lab virtual machines. - ImageReference *ImageReference `json:"imageReference,omitempty"` + ImageReference *ImageReference // REQUIRED; The SKU for the lab. Defines the type of virtual machines used in the lab. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // REQUIRED; The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours. - UsageQuota *string `json:"usageQuota,omitempty"` + UsageQuota *string // Additional VM capabilities. - AdditionalCapabilities *VirtualMachineAdditionalCapabilities `json:"additionalCapabilities,omitempty"` + AdditionalCapabilities *VirtualMachineAdditionalCapabilities // Credentials for the non-admin user on the VM, if one exists. - NonAdminUser *Credentials `json:"nonAdminUser,omitempty"` + NonAdminUser *Credentials // Enabling this option will use the same password for all user VMs. - UseSharedPassword *EnableState `json:"useSharedPassword,omitempty"` + UseSharedPassword *EnableState // READ-ONLY; The OS type of the image - OSType *OsType `json:"osType,omitempty" azure:"ro"` + OSType *OsType } // VirtualMachineProperties - Virtual machine resource properties type VirtualMachineProperties struct { // READ-ONLY; The lab user ID (not the PUID!) of who claimed the virtual machine. - ClaimedByUserID *string `json:"claimedByUserId,omitempty" azure:"ro"` + ClaimedByUserID *string // READ-ONLY; Profile for information about connecting to the virtual machine. - ConnectionProfile *VirtualMachineConnectionProfile `json:"connectionProfile,omitempty" azure:"ro"` + ConnectionProfile *VirtualMachineConnectionProfile // READ-ONLY; Current provisioning state of the virtual machine. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The current state of the virtual machine - State *VirtualMachineState `json:"state,omitempty" azure:"ro"` + State *VirtualMachineState // READ-ONLY; The type of this VM resource - VMType *VirtualMachineType `json:"vmType,omitempty" azure:"ro"` + VMType *VirtualMachineType } // VirtualMachinesClientBeginRedeployOptions contains the optional parameters for the VirtualMachinesClient.BeginRedeploy diff --git a/sdk/resourcemanager/labservices/armlabservices/models_serde.go b/sdk/resourcemanager/labservices/armlabservices/models_serde.go index 31ae3f57f7ed..567411920122 100644 --- a/sdk/resourcemanager/labservices/armlabservices/models_serde.go +++ b/sdk/resourcemanager/labservices/armlabservices/models_serde.go @@ -136,7 +136,7 @@ func (c *Credentials) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -2671,6 +2671,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/logic/armlogic/CHANGELOG.md b/sdk/resourcemanager/logic/armlogic/CHANGELOG.md index df207704a7a8..bc149a64a68c 100644 --- a/sdk/resourcemanager/logic/armlogic/CHANGELOG.md +++ b/sdk/resourcemanager/logic/armlogic/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/logic/armlogic/autorest.md b/sdk/resourcemanager/logic/armlogic/autorest.md index d89c83734d39..83fd483700f3 100644 --- a/sdk/resourcemanager/logic/armlogic/autorest.md +++ b/sdk/resourcemanager/logic/armlogic/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logic/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/logic/armlogic/constants.go b/sdk/resourcemanager/logic/armlogic/constants.go index 64ea5cb7f80f..a4322b22244d 100644 --- a/sdk/resourcemanager/logic/armlogic/constants.go +++ b/sdk/resourcemanager/logic/armlogic/constants.go @@ -11,7 +11,7 @@ package armlogic const ( moduleName = "armlogic" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // APIDeploymentParameterVisibility - The Api deployment parameter visibility. diff --git a/sdk/resourcemanager/logic/armlogic/models.go b/sdk/resourcemanager/logic/armlogic/models.go index b30bd085c405..08aa85ae1e5a 100644 --- a/sdk/resourcemanager/logic/armlogic/models.go +++ b/sdk/resourcemanager/logic/armlogic/models.go @@ -14,1374 +14,1374 @@ import "time" // APIDeploymentParameterMetadata - The API deployment parameter metadata. type APIDeploymentParameterMetadata struct { // The description. - Description *string `json:"description,omitempty"` + Description *string // The display name. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // Indicates whether its required. - IsRequired *bool `json:"isRequired,omitempty"` + IsRequired *bool // The type. - Type *string `json:"type,omitempty"` + Type *string // The visibility. - Visibility *APIDeploymentParameterVisibility `json:"visibility,omitempty"` + Visibility *APIDeploymentParameterVisibility } // APIDeploymentParameterMetadataSet - The API deployment parameters metadata. type APIDeploymentParameterMetadataSet struct { // The package content link parameter. - PackageContentLink *APIDeploymentParameterMetadata `json:"packageContentLink,omitempty"` + PackageContentLink *APIDeploymentParameterMetadata // The package content link parameter. - RedisCacheConnectionString *APIDeploymentParameterMetadata `json:"redisCacheConnectionString,omitempty"` + RedisCacheConnectionString *APIDeploymentParameterMetadata } // APIOperation - The api operation. type APIOperation struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The api operations properties - Properties *APIOperationPropertiesDefinition `json:"properties,omitempty"` + Properties *APIOperationPropertiesDefinition // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // APIOperationAnnotation - The Api Operation Annotation. type APIOperationAnnotation struct { // The family. - Family *string `json:"family,omitempty"` + Family *string // The revision. - Revision *int32 `json:"revision,omitempty"` + Revision *int32 // The status annotation. - Status *StatusAnnotation `json:"status,omitempty"` + Status *StatusAnnotation } // APIOperationListResult - The list of managed API operations. type APIOperationListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The api operation definitions for an API. - Value []*APIOperation `json:"value,omitempty"` + Value []*APIOperation } // APIOperationPropertiesDefinition - The api operations properties type APIOperationPropertiesDefinition struct { // The api reference. - API *APIReference `json:"api,omitempty"` + API *APIReference // The annotation of api operation. - Annotation *APIOperationAnnotation `json:"annotation,omitempty"` + Annotation *APIOperationAnnotation // The description of the api operation. - Description *string `json:"description,omitempty"` + Description *string // The operation inputs definition schema. - InputsDefinition *SwaggerSchema `json:"inputsDefinition,omitempty"` + InputsDefinition *SwaggerSchema // Indicates whether the API operation is notification or not. - IsNotification *bool `json:"isNotification,omitempty"` + IsNotification *bool // Indicates whether the API operation is webhook or not. - IsWebhook *bool `json:"isWebhook,omitempty"` + IsWebhook *bool // Indicates whether the api operation is pageable. - Pageable *bool `json:"pageable,omitempty"` + Pageable *bool // The operation responses definition schemas. - ResponsesDefinition map[string]*SwaggerSchema `json:"responsesDefinition,omitempty"` + ResponsesDefinition map[string]*SwaggerSchema // The summary of the api operation. - Summary *string `json:"summary,omitempty"` + Summary *string // The trigger type of api operation. - Trigger *string `json:"trigger,omitempty"` + Trigger *string // The trigger hint for the api operation. - TriggerHint *string `json:"triggerHint,omitempty"` + TriggerHint *string // The visibility of the api operation. - Visibility *string `json:"visibility,omitempty"` + Visibility *string } // APIReference - The Api reference. type APIReference struct { // The brand color of the api. - BrandColor *string `json:"brandColor,omitempty"` + BrandColor *string // The tier. - Category *APITier `json:"category,omitempty"` + Category *APITier // The description of the api. - Description *string `json:"description,omitempty"` + Description *string // The display name of the api. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The resource id. - ID *string `json:"id,omitempty"` + ID *string // The icon uri of the api. - IconURI *string `json:"iconUri,omitempty"` + IconURI *string // The integration service environment reference. - IntegrationServiceEnvironment *ResourceReference `json:"integrationServiceEnvironment,omitempty"` + IntegrationServiceEnvironment *ResourceReference // The swagger of the api. - Swagger any `json:"swagger,omitempty"` + Swagger any // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // APIResourceBackendService - The API backend service. type APIResourceBackendService struct { // The service URL. - ServiceURL *string `json:"serviceUrl,omitempty"` + ServiceURL *string } // APIResourceDefinitions - The Api resource definition. type APIResourceDefinitions struct { // The modified swagger url. - ModifiedSwaggerURL *string `json:"modifiedSwaggerUrl,omitempty"` + ModifiedSwaggerURL *string // The original swagger url. - OriginalSwaggerURL *string `json:"originalSwaggerUrl,omitempty"` + OriginalSwaggerURL *string } // APIResourceGeneralInformation - The API general information. type APIResourceGeneralInformation struct { // The description. - Description *string `json:"description,omitempty"` + Description *string // The display name. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The icon url. - IconURL *string `json:"iconUrl,omitempty"` + IconURL *string // The release tag. - ReleaseTag *string `json:"releaseTag,omitempty"` + ReleaseTag *string // The terms of use url. - TermsOfUseURL *string `json:"termsOfUseUrl,omitempty"` + TermsOfUseURL *string // The tier. - Tier *APITier `json:"tier,omitempty"` + Tier *APITier } // APIResourceMetadata - The api resource metadata. type APIResourceMetadata struct { // The api type. - APIType *APIType `json:"ApiType,omitempty"` + APIType *APIType // The brand color. - BrandColor *string `json:"brandColor,omitempty"` + BrandColor *string // The connection type. - ConnectionType *string `json:"connectionType,omitempty"` + ConnectionType *string // The connector deployment parameters metadata. - DeploymentParameters *APIDeploymentParameterMetadataSet `json:"deploymentParameters,omitempty"` + DeploymentParameters *APIDeploymentParameterMetadataSet // The hide key. - HideKey *string `json:"hideKey,omitempty"` + HideKey *string // The provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *WorkflowProvisioningState // The source. - Source *string `json:"source,omitempty"` + Source *string // The tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // The WSDL import method. - WsdlImportMethod *WsdlImportMethod `json:"wsdlImportMethod,omitempty"` + WsdlImportMethod *WsdlImportMethod // The WSDL service. - WsdlService *WsdlService `json:"wsdlService,omitempty"` + WsdlService *WsdlService } // APIResourcePolicies - The API resource policies. type APIResourcePolicies struct { // The API level only policies XML as embedded content. - Content *string `json:"content,omitempty"` + Content *string // The content link to the policies. - ContentLink *string `json:"contentLink,omitempty"` + ContentLink *string } // APIResourceProperties - The API resource properties. type APIResourceProperties struct { // The integration service environment reference. - IntegrationServiceEnvironment *ResourceReference `json:"integrationServiceEnvironment,omitempty"` + IntegrationServiceEnvironment *ResourceReference // READ-ONLY; The API definition. - APIDefinitionURL *string `json:"apiDefinitionUrl,omitempty" azure:"ro"` + APIDefinitionURL *string // READ-ONLY; The api definitions. - APIDefinitions *APIResourceDefinitions `json:"apiDefinitions,omitempty" azure:"ro"` + APIDefinitions *APIResourceDefinitions // READ-ONLY; The backend service. - BackendService *APIResourceBackendService `json:"backendService,omitempty" azure:"ro"` + BackendService *APIResourceBackendService // READ-ONLY; The capabilities. - Capabilities []*string `json:"capabilities,omitempty" azure:"ro"` + Capabilities []*string // READ-ONLY; The category. - Category *APITier `json:"category,omitempty" azure:"ro"` + Category *APITier // READ-ONLY; The connection parameters. - ConnectionParameters map[string]any `json:"connectionParameters,omitempty" azure:"ro"` + ConnectionParameters map[string]any // READ-ONLY; The api general information. - GeneralInformation *APIResourceGeneralInformation `json:"generalInformation,omitempty" azure:"ro"` + GeneralInformation *APIResourceGeneralInformation // READ-ONLY; The metadata. - Metadata *APIResourceMetadata `json:"metadata,omitempty" azure:"ro"` + Metadata *APIResourceMetadata // READ-ONLY; The name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The policies for the API. - Policies *APIResourcePolicies `json:"policies,omitempty" azure:"ro"` + Policies *APIResourcePolicies // READ-ONLY; The provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *WorkflowProvisioningState // READ-ONLY; The runtime urls. - RuntimeUrls []*string `json:"runtimeUrls,omitempty" azure:"ro"` + RuntimeUrls []*string } // AS2AcknowledgementConnectionSettings - The AS2 agreement acknowledgement connection settings. type AS2AcknowledgementConnectionSettings struct { // REQUIRED; Indicates whether to ignore mismatch in certificate name. - IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"` + IgnoreCertificateNameMismatch *bool // REQUIRED; Indicates whether to keep the connection alive. - KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"` + KeepHTTPConnectionAlive *bool // REQUIRED; Indicates whether to support HTTP status code 'CONTINUE'. - SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"` + SupportHTTPStatusCodeContinue *bool // REQUIRED; Indicates whether to unfold the HTTP headers. - UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"` + UnfoldHTTPHeaders *bool } // AS2AgreementContent - The integration account AS2 agreement content. type AS2AgreementContent struct { // REQUIRED; The AS2 one-way receive agreement. - ReceiveAgreement *AS2OneWayAgreement `json:"receiveAgreement,omitempty"` + ReceiveAgreement *AS2OneWayAgreement // REQUIRED; The AS2 one-way send agreement. - SendAgreement *AS2OneWayAgreement `json:"sendAgreement,omitempty"` + SendAgreement *AS2OneWayAgreement } // AS2EnvelopeSettings - The AS2 agreement envelope settings. type AS2EnvelopeSettings struct { // REQUIRED; The value indicating whether to auto generate file name. - AutogenerateFileName *bool `json:"autogenerateFileName,omitempty"` + AutogenerateFileName *bool // REQUIRED; The template for file name. - FileNameTemplate *string `json:"fileNameTemplate,omitempty"` + FileNameTemplate *string // REQUIRED; The message content type. - MessageContentType *string `json:"messageContentType,omitempty"` + MessageContentType *string // REQUIRED; The value indicating whether to suspend message on file name generation error. - SuspendMessageOnFileNameGenerationError *bool `json:"suspendMessageOnFileNameGenerationError,omitempty"` + SuspendMessageOnFileNameGenerationError *bool // REQUIRED; The value indicating whether to transmit file name in mime header. - TransmitFileNameInMimeHeader *bool `json:"transmitFileNameInMimeHeader,omitempty"` + TransmitFileNameInMimeHeader *bool } // AS2ErrorSettings - The AS2 agreement error settings. type AS2ErrorSettings struct { // REQUIRED; The value indicating whether to resend message If MDN is not received. - ResendIfMDNNotReceived *bool `json:"resendIfMDNNotReceived,omitempty"` + ResendIfMDNNotReceived *bool // REQUIRED; The value indicating whether to suspend duplicate message. - SuspendDuplicateMessage *bool `json:"suspendDuplicateMessage,omitempty"` + SuspendDuplicateMessage *bool } // AS2MdnSettings - The AS2 agreement mdn settings. type AS2MdnSettings struct { // REQUIRED; The signing or hashing algorithm. - MicHashingAlgorithm *HashingAlgorithm `json:"micHashingAlgorithm,omitempty"` + MicHashingAlgorithm *HashingAlgorithm // REQUIRED; The value indicating whether to send or request a MDN. - NeedMDN *bool `json:"needMDN,omitempty"` + NeedMDN *bool // REQUIRED; The value indicating whether to send inbound MDN to message box. - SendInboundMDNToMessageBox *bool `json:"sendInboundMDNToMessageBox,omitempty"` + SendInboundMDNToMessageBox *bool // REQUIRED; The value indicating whether to send the asynchronous MDN. - SendMDNAsynchronously *bool `json:"sendMDNAsynchronously,omitempty"` + SendMDNAsynchronously *bool // REQUIRED; The value indicating whether the MDN needs to be signed or not. - SignMDN *bool `json:"signMDN,omitempty"` + SignMDN *bool // REQUIRED; The value indicating whether to sign the outbound MDN if optional. - SignOutboundMDNIfOptional *bool `json:"signOutboundMDNIfOptional,omitempty"` + SignOutboundMDNIfOptional *bool // The disposition notification to header value. - DispositionNotificationTo *string `json:"dispositionNotificationTo,omitempty"` + DispositionNotificationTo *string // The MDN text. - MdnText *string `json:"mdnText,omitempty"` + MdnText *string // The receipt delivery URL. - ReceiptDeliveryURL *string `json:"receiptDeliveryUrl,omitempty"` + ReceiptDeliveryURL *string } // AS2MessageConnectionSettings - The AS2 agreement message connection settings. type AS2MessageConnectionSettings struct { // REQUIRED; The value indicating whether to ignore mismatch in certificate name. - IgnoreCertificateNameMismatch *bool `json:"ignoreCertificateNameMismatch,omitempty"` + IgnoreCertificateNameMismatch *bool // REQUIRED; The value indicating whether to keep the connection alive. - KeepHTTPConnectionAlive *bool `json:"keepHttpConnectionAlive,omitempty"` + KeepHTTPConnectionAlive *bool // REQUIRED; The value indicating whether to support HTTP status code 'CONTINUE'. - SupportHTTPStatusCodeContinue *bool `json:"supportHttpStatusCodeContinue,omitempty"` + SupportHTTPStatusCodeContinue *bool // REQUIRED; The value indicating whether to unfold the HTTP headers. - UnfoldHTTPHeaders *bool `json:"unfoldHttpHeaders,omitempty"` + UnfoldHTTPHeaders *bool } // AS2OneWayAgreement - The integration account AS2 one-way agreement. type AS2OneWayAgreement struct { // REQUIRED; The AS2 protocol settings. - ProtocolSettings *AS2ProtocolSettings `json:"protocolSettings,omitempty"` + ProtocolSettings *AS2ProtocolSettings // REQUIRED; The receiver business identity - ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"` + ReceiverBusinessIdentity *BusinessIdentity // REQUIRED; The sender business identity - SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"` + SenderBusinessIdentity *BusinessIdentity } // AS2ProtocolSettings - The AS2 agreement protocol settings. type AS2ProtocolSettings struct { // REQUIRED; The acknowledgement connection settings. - AcknowledgementConnectionSettings *AS2AcknowledgementConnectionSettings `json:"acknowledgementConnectionSettings,omitempty"` + AcknowledgementConnectionSettings *AS2AcknowledgementConnectionSettings // REQUIRED; The envelope settings. - EnvelopeSettings *AS2EnvelopeSettings `json:"envelopeSettings,omitempty"` + EnvelopeSettings *AS2EnvelopeSettings // REQUIRED; The error settings. - ErrorSettings *AS2ErrorSettings `json:"errorSettings,omitempty"` + ErrorSettings *AS2ErrorSettings // REQUIRED; The MDN settings. - MdnSettings *AS2MdnSettings `json:"mdnSettings,omitempty"` + MdnSettings *AS2MdnSettings // REQUIRED; The message connection settings. - MessageConnectionSettings *AS2MessageConnectionSettings `json:"messageConnectionSettings,omitempty"` + MessageConnectionSettings *AS2MessageConnectionSettings // REQUIRED; The security settings. - SecuritySettings *AS2SecuritySettings `json:"securitySettings,omitempty"` + SecuritySettings *AS2SecuritySettings // REQUIRED; The validation settings. - ValidationSettings *AS2ValidationSettings `json:"validationSettings,omitempty"` + ValidationSettings *AS2ValidationSettings } // AS2SecuritySettings - The AS2 agreement security settings. type AS2SecuritySettings struct { // REQUIRED; The value indicating whether to enable NRR for inbound decoded messages. - EnableNRRForInboundDecodedMessages *bool `json:"enableNRRForInboundDecodedMessages,omitempty"` + EnableNRRForInboundDecodedMessages *bool // REQUIRED; The value indicating whether to enable NRR for inbound encoded messages. - EnableNRRForInboundEncodedMessages *bool `json:"enableNRRForInboundEncodedMessages,omitempty"` + EnableNRRForInboundEncodedMessages *bool // REQUIRED; The value indicating whether to enable NRR for inbound MDN. - EnableNRRForInboundMDN *bool `json:"enableNRRForInboundMDN,omitempty"` + EnableNRRForInboundMDN *bool // REQUIRED; The value indicating whether to enable NRR for outbound decoded messages. - EnableNRRForOutboundDecodedMessages *bool `json:"enableNRRForOutboundDecodedMessages,omitempty"` + EnableNRRForOutboundDecodedMessages *bool // REQUIRED; The value indicating whether to enable NRR for outbound encoded messages. - EnableNRRForOutboundEncodedMessages *bool `json:"enableNRRForOutboundEncodedMessages,omitempty"` + EnableNRRForOutboundEncodedMessages *bool // REQUIRED; The value indicating whether to enable NRR for outbound MDN. - EnableNRRForOutboundMDN *bool `json:"enableNRRForOutboundMDN,omitempty"` + EnableNRRForOutboundMDN *bool // REQUIRED; The value indicating whether to send or request a MDN. - OverrideGroupSigningCertificate *bool `json:"overrideGroupSigningCertificate,omitempty"` + OverrideGroupSigningCertificate *bool // The name of the encryption certificate. - EncryptionCertificateName *string `json:"encryptionCertificateName,omitempty"` + EncryptionCertificateName *string // The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. - SHA2AlgorithmFormat *string `json:"sha2AlgorithmFormat,omitempty"` + SHA2AlgorithmFormat *string // The name of the signing certificate. - SigningCertificateName *string `json:"signingCertificateName,omitempty"` + SigningCertificateName *string } // AS2ValidationSettings - The AS2 agreement validation settings. type AS2ValidationSettings struct { // REQUIRED; The value indicating whether to check for certificate revocation list on receive. - CheckCertificateRevocationListOnReceive *bool `json:"checkCertificateRevocationListOnReceive,omitempty"` + CheckCertificateRevocationListOnReceive *bool // REQUIRED; The value indicating whether to check for certificate revocation list on send. - CheckCertificateRevocationListOnSend *bool `json:"checkCertificateRevocationListOnSend,omitempty"` + CheckCertificateRevocationListOnSend *bool // REQUIRED; The value indicating whether to check for duplicate message. - CheckDuplicateMessage *bool `json:"checkDuplicateMessage,omitempty"` + CheckDuplicateMessage *bool // REQUIRED; The value indicating whether the message has to be compressed. - CompressMessage *bool `json:"compressMessage,omitempty"` + CompressMessage *bool // REQUIRED; The value indicating whether the message has to be encrypted. - EncryptMessage *bool `json:"encryptMessage,omitempty"` + EncryptMessage *bool // REQUIRED; The encryption algorithm. - EncryptionAlgorithm *EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"` + EncryptionAlgorithm *EncryptionAlgorithm // REQUIRED; The number of days to look back for duplicate interchange. - InterchangeDuplicatesValidityDays *int32 `json:"interchangeDuplicatesValidityDays,omitempty"` + InterchangeDuplicatesValidityDays *int32 // REQUIRED; The value indicating whether to override incoming message properties with those in agreement. - OverrideMessageProperties *bool `json:"overrideMessageProperties,omitempty"` + OverrideMessageProperties *bool // REQUIRED; The value indicating whether the message has to be signed. - SignMessage *bool `json:"signMessage,omitempty"` + SignMessage *bool // The signing algorithm. - SigningAlgorithm *SigningAlgorithm `json:"signingAlgorithm,omitempty"` + SigningAlgorithm *SigningAlgorithm } // AgreementContent - The integration account agreement content. type AgreementContent struct { // The AS2 agreement content. - AS2 *AS2AgreementContent `json:"aS2,omitempty"` + AS2 *AS2AgreementContent // The EDIFACT agreement content. - Edifact *EdifactAgreementContent `json:"edifact,omitempty"` + Edifact *EdifactAgreementContent // The X12 agreement content. - X12 *X12AgreementContent `json:"x12,omitempty"` + X12 *X12AgreementContent } // ArtifactContentPropertiesDefinition - The artifact content properties definition. type ArtifactContentPropertiesDefinition struct { // The artifact changed time. - ChangedTime *time.Time `json:"changedTime,omitempty"` + ChangedTime *time.Time // Anything - Content any `json:"content,omitempty"` + Content any // The content link. - ContentLink *ContentLink `json:"contentLink,omitempty"` + ContentLink *ContentLink // The content type. - ContentType *string `json:"contentType,omitempty"` + ContentType *string // The artifact creation time. - CreatedTime *time.Time `json:"createdTime,omitempty"` + CreatedTime *time.Time // Anything - Metadata any `json:"metadata,omitempty"` + Metadata any } // ArtifactProperties - The artifact properties definition. type ArtifactProperties struct { // The artifact changed time. - ChangedTime *time.Time `json:"changedTime,omitempty"` + ChangedTime *time.Time // The artifact creation time. - CreatedTime *time.Time `json:"createdTime,omitempty"` + CreatedTime *time.Time // Anything - Metadata any `json:"metadata,omitempty"` + Metadata any } // AssemblyCollection - A collection of assembly definitions. type AssemblyCollection struct { - Value []*AssemblyDefinition `json:"value,omitempty"` + Value []*AssemblyDefinition } // AssemblyDefinition - The assembly definition. type AssemblyDefinition struct { // REQUIRED; The assembly properties. - Properties *AssemblyProperties `json:"properties,omitempty"` + Properties *AssemblyProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AssemblyProperties - The assembly properties definition. type AssemblyProperties struct { // REQUIRED; The assembly name. - AssemblyName *string `json:"assemblyName,omitempty"` + AssemblyName *string // The assembly culture. - AssemblyCulture *string `json:"assemblyCulture,omitempty"` + AssemblyCulture *string // The assembly public key token. - AssemblyPublicKeyToken *string `json:"assemblyPublicKeyToken,omitempty"` + AssemblyPublicKeyToken *string // The assembly version. - AssemblyVersion *string `json:"assemblyVersion,omitempty"` + AssemblyVersion *string // The artifact changed time. - ChangedTime *time.Time `json:"changedTime,omitempty"` + ChangedTime *time.Time // Anything - Content any `json:"content,omitempty"` + Content any // The content link. - ContentLink *ContentLink `json:"contentLink,omitempty"` + ContentLink *ContentLink // The content type. - ContentType *string `json:"contentType,omitempty"` + ContentType *string // The artifact creation time. - CreatedTime *time.Time `json:"createdTime,omitempty"` + CreatedTime *time.Time // Anything - Metadata any `json:"metadata,omitempty"` + Metadata any } // AzureResourceErrorInfo - The azure resource error info. type AzureResourceErrorInfo struct { // REQUIRED; The error code. - Code *string `json:"code,omitempty"` + Code *string // REQUIRED; The error message. - Message *string `json:"message,omitempty"` + Message *string // The error details. - Details []*AzureResourceErrorInfo `json:"details,omitempty"` + Details []*AzureResourceErrorInfo } // B2BPartnerContent - The B2B partner content. type B2BPartnerContent struct { // The list of partner business identities. - BusinessIdentities []*BusinessIdentity `json:"businessIdentities,omitempty"` + BusinessIdentities []*BusinessIdentity } // BatchConfiguration - The batch configuration resource definition. type BatchConfiguration struct { // REQUIRED; The batch configuration properties. - Properties *BatchConfigurationProperties `json:"properties,omitempty"` + Properties *BatchConfigurationProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BatchConfigurationCollection - A collection of batch configurations. type BatchConfigurationCollection struct { - Value []*BatchConfiguration `json:"value,omitempty"` + Value []*BatchConfiguration } // BatchConfigurationProperties - The batch configuration properties definition. type BatchConfigurationProperties struct { // REQUIRED; The name of the batch group. - BatchGroupName *string `json:"batchGroupName,omitempty"` + BatchGroupName *string // REQUIRED; The batch release criteria. - ReleaseCriteria *BatchReleaseCriteria `json:"releaseCriteria,omitempty"` + ReleaseCriteria *BatchReleaseCriteria // The artifact changed time. - ChangedTime *time.Time `json:"changedTime,omitempty"` + ChangedTime *time.Time // The artifact creation time. - CreatedTime *time.Time `json:"createdTime,omitempty"` + CreatedTime *time.Time // Anything - Metadata any `json:"metadata,omitempty"` + Metadata any } // BatchReleaseCriteria - The batch release criteria. type BatchReleaseCriteria struct { // The batch size in bytes. - BatchSize *int32 `json:"batchSize,omitempty"` + BatchSize *int32 // The message count. - MessageCount *int32 `json:"messageCount,omitempty"` + MessageCount *int32 // The recurrence. - Recurrence *WorkflowTriggerRecurrence `json:"recurrence,omitempty"` + Recurrence *WorkflowTriggerRecurrence } // BusinessIdentity - The integration account partner's business identity. type BusinessIdentity struct { // REQUIRED; The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32 - Qualifier *string `json:"qualifier,omitempty"` + Qualifier *string // REQUIRED; The user defined business identity value. - Value *string `json:"value,omitempty"` + Value *string } // CallbackURL - The callback url. type CallbackURL struct { // The URL value. - Value *string `json:"value,omitempty"` + Value *string } // ContentHash - The content hash. type ContentHash struct { // The algorithm of the content hash. - Algorithm *string `json:"algorithm,omitempty"` + Algorithm *string // The value of the content hash. - Value *string `json:"value,omitempty"` + Value *string } // ContentLink - The content link. type ContentLink struct { // The content link URI. - URI *string `json:"uri,omitempty"` + URI *string // READ-ONLY; The content hash. - ContentHash *ContentHash `json:"contentHash,omitempty" azure:"ro"` + ContentHash *ContentHash // READ-ONLY; The content size. - ContentSize *int64 `json:"contentSize,omitempty" azure:"ro"` + ContentSize *int64 // READ-ONLY; The content version. - ContentVersion *string `json:"contentVersion,omitempty" azure:"ro"` + ContentVersion *string // READ-ONLY; The metadata. - Metadata any `json:"metadata,omitempty" azure:"ro"` + Metadata any } // Correlation - The correlation property. type Correlation struct { // The client tracking id. - ClientTrackingID *string `json:"clientTrackingId,omitempty"` + ClientTrackingID *string } // EdifactAcknowledgementSettings - The Edifact agreement acknowledgement settings. type EdifactAcknowledgementSettings struct { // REQUIRED; The acknowledgement control number lower bound. - AcknowledgementControlNumberLowerBound *int32 `json:"acknowledgementControlNumberLowerBound,omitempty"` + AcknowledgementControlNumberLowerBound *int32 // REQUIRED; The acknowledgement control number upper bound. - AcknowledgementControlNumberUpperBound *int32 `json:"acknowledgementControlNumberUpperBound,omitempty"` + AcknowledgementControlNumberUpperBound *int32 // REQUIRED; The value indicating whether to batch functional acknowledgements. - BatchFunctionalAcknowledgements *bool `json:"batchFunctionalAcknowledgements,omitempty"` + BatchFunctionalAcknowledgements *bool // REQUIRED; The value indicating whether to batch the technical acknowledgements. - BatchTechnicalAcknowledgements *bool `json:"batchTechnicalAcknowledgements,omitempty"` + BatchTechnicalAcknowledgements *bool // REQUIRED; The value indicating whether functional acknowledgement is needed. - NeedFunctionalAcknowledgement *bool `json:"needFunctionalAcknowledgement,omitempty"` + NeedFunctionalAcknowledgement *bool // REQUIRED; The value indicating whether a loop is needed for valid messages. - NeedLoopForValidMessages *bool `json:"needLoopForValidMessages,omitempty"` + NeedLoopForValidMessages *bool // REQUIRED; The value indicating whether technical acknowledgement is needed. - NeedTechnicalAcknowledgement *bool `json:"needTechnicalAcknowledgement,omitempty"` + NeedTechnicalAcknowledgement *bool // REQUIRED; The value indicating whether to rollover acknowledgement control number. - RolloverAcknowledgementControlNumber *bool `json:"rolloverAcknowledgementControlNumber,omitempty"` + RolloverAcknowledgementControlNumber *bool // REQUIRED; The value indicating whether to send synchronous acknowledgement. - SendSynchronousAcknowledgement *bool `json:"sendSynchronousAcknowledgement,omitempty"` + SendSynchronousAcknowledgement *bool // The acknowledgement control number prefix. - AcknowledgementControlNumberPrefix *string `json:"acknowledgementControlNumberPrefix,omitempty"` + AcknowledgementControlNumberPrefix *string // The acknowledgement control number suffix. - AcknowledgementControlNumberSuffix *string `json:"acknowledgementControlNumberSuffix,omitempty"` + AcknowledgementControlNumberSuffix *string } // EdifactAgreementContent - The Edifact agreement content. type EdifactAgreementContent struct { // REQUIRED; The EDIFACT one-way receive agreement. - ReceiveAgreement *EdifactOneWayAgreement `json:"receiveAgreement,omitempty"` + ReceiveAgreement *EdifactOneWayAgreement // REQUIRED; The EDIFACT one-way send agreement. - SendAgreement *EdifactOneWayAgreement `json:"sendAgreement,omitempty"` + SendAgreement *EdifactOneWayAgreement } // EdifactDelimiterOverride - The Edifact delimiter override settings. type EdifactDelimiterOverride struct { // REQUIRED; The component separator. - ComponentSeparator *int32 `json:"componentSeparator,omitempty"` + ComponentSeparator *int32 // REQUIRED; The data element separator. - DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"` + DataElementSeparator *int32 // REQUIRED; The decimal point indicator. - DecimalPointIndicator *EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"` + DecimalPointIndicator *EdifactDecimalIndicator // REQUIRED; The release indicator. - ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"` + ReleaseIndicator *int32 // REQUIRED; The repetition separator. - RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"` + RepetitionSeparator *int32 // REQUIRED; The segment terminator. - SegmentTerminator *int32 `json:"segmentTerminator,omitempty"` + SegmentTerminator *int32 // REQUIRED; The segment terminator suffix. - SegmentTerminatorSuffix *SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"` + SegmentTerminatorSuffix *SegmentTerminatorSuffix // The message association assigned code. - MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"` + MessageAssociationAssignedCode *string // The message id. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // The message release. - MessageRelease *string `json:"messageRelease,omitempty"` + MessageRelease *string // The message version. - MessageVersion *string `json:"messageVersion,omitempty"` + MessageVersion *string // The target namespace on which this delimiter settings has to be applied. - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string } // EdifactEnvelopeOverride - The Edifact envelope override settings. type EdifactEnvelopeOverride struct { // The application password. - ApplicationPassword *string `json:"applicationPassword,omitempty"` + ApplicationPassword *string // The association assigned code. - AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"` + AssociationAssignedCode *string // The controlling agency code. - ControllingAgencyCode *string `json:"controllingAgencyCode,omitempty"` + ControllingAgencyCode *string // The functional group id. - FunctionalGroupID *string `json:"functionalGroupId,omitempty"` + FunctionalGroupID *string // The group header message release. - GroupHeaderMessageRelease *string `json:"groupHeaderMessageRelease,omitempty"` + GroupHeaderMessageRelease *string // The group header message version. - GroupHeaderMessageVersion *string `json:"groupHeaderMessageVersion,omitempty"` + GroupHeaderMessageVersion *string // The message association assigned code. - MessageAssociationAssignedCode *string `json:"messageAssociationAssignedCode,omitempty"` + MessageAssociationAssignedCode *string // The message id on which this envelope settings has to be applied. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // The message release version on which this envelope settings has to be applied. - MessageRelease *string `json:"messageRelease,omitempty"` + MessageRelease *string // The message version on which this envelope settings has to be applied. - MessageVersion *string `json:"messageVersion,omitempty"` + MessageVersion *string // The receiver application id. - ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"` + ReceiverApplicationID *string // The receiver application qualifier. - ReceiverApplicationQualifier *string `json:"receiverApplicationQualifier,omitempty"` + ReceiverApplicationQualifier *string // The sender application id. - SenderApplicationID *string `json:"senderApplicationId,omitempty"` + SenderApplicationID *string // The sender application qualifier. - SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"` + SenderApplicationQualifier *string // The target namespace on which this envelope settings has to be applied. - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string } // EdifactEnvelopeSettings - The Edifact agreement envelope settings. type EdifactEnvelopeSettings struct { // REQUIRED; The value indicating whether to apply delimiter string advice. - ApplyDelimiterStringAdvice *bool `json:"applyDelimiterStringAdvice,omitempty"` + ApplyDelimiterStringAdvice *bool // REQUIRED; The value indicating whether to create grouping segments. - CreateGroupingSegments *bool `json:"createGroupingSegments,omitempty"` + CreateGroupingSegments *bool // REQUIRED; The value indicating whether to enable default group headers. - EnableDefaultGroupHeaders *bool `json:"enableDefaultGroupHeaders,omitempty"` + EnableDefaultGroupHeaders *bool // REQUIRED; The group control number lower bound. - GroupControlNumberLowerBound *int64 `json:"groupControlNumberLowerBound,omitempty"` + GroupControlNumberLowerBound *int64 // REQUIRED; The group control number upper bound. - GroupControlNumberUpperBound *int64 `json:"groupControlNumberUpperBound,omitempty"` + GroupControlNumberUpperBound *int64 // REQUIRED; The interchange control number lower bound. - InterchangeControlNumberLowerBound *int64 `json:"interchangeControlNumberLowerBound,omitempty"` + InterchangeControlNumberLowerBound *int64 // REQUIRED; The interchange control number upper bound. - InterchangeControlNumberUpperBound *int64 `json:"interchangeControlNumberUpperBound,omitempty"` + InterchangeControlNumberUpperBound *int64 // REQUIRED; The value indicating whether the message is a test interchange. - IsTestInterchange *bool `json:"isTestInterchange,omitempty"` + IsTestInterchange *bool // REQUIRED; The value indicating whether to overwrite existing transaction set control number. - OverwriteExistingTransactionSetControlNumber *bool `json:"overwriteExistingTransactionSetControlNumber,omitempty"` + OverwriteExistingTransactionSetControlNumber *bool // REQUIRED; The value indicating whether to rollover group control number. - RolloverGroupControlNumber *bool `json:"rolloverGroupControlNumber,omitempty"` + RolloverGroupControlNumber *bool // REQUIRED; The value indicating whether to rollover interchange control number. - RolloverInterchangeControlNumber *bool `json:"rolloverInterchangeControlNumber,omitempty"` + RolloverInterchangeControlNumber *bool // REQUIRED; The value indicating whether to rollover transaction set control number. - RolloverTransactionSetControlNumber *bool `json:"rolloverTransactionSetControlNumber,omitempty"` + RolloverTransactionSetControlNumber *bool // REQUIRED; The transaction set control number lower bound. - TransactionSetControlNumberLowerBound *int64 `json:"transactionSetControlNumberLowerBound,omitempty"` + TransactionSetControlNumberLowerBound *int64 // REQUIRED; The transaction set control number upper bound. - TransactionSetControlNumberUpperBound *int64 `json:"transactionSetControlNumberUpperBound,omitempty"` + TransactionSetControlNumberUpperBound *int64 // The application reference id. - ApplicationReferenceID *string `json:"applicationReferenceId,omitempty"` + ApplicationReferenceID *string // The communication agreement id. - CommunicationAgreementID *string `json:"communicationAgreementId,omitempty"` + CommunicationAgreementID *string // The functional group id. - FunctionalGroupID *string `json:"functionalGroupId,omitempty"` + FunctionalGroupID *string // The group application password. - GroupApplicationPassword *string `json:"groupApplicationPassword,omitempty"` + GroupApplicationPassword *string // The group application receiver id. - GroupApplicationReceiverID *string `json:"groupApplicationReceiverId,omitempty"` + GroupApplicationReceiverID *string // The group application receiver qualifier. - GroupApplicationReceiverQualifier *string `json:"groupApplicationReceiverQualifier,omitempty"` + GroupApplicationReceiverQualifier *string // The group application sender id. - GroupApplicationSenderID *string `json:"groupApplicationSenderId,omitempty"` + GroupApplicationSenderID *string // The group application sender qualifier. - GroupApplicationSenderQualifier *string `json:"groupApplicationSenderQualifier,omitempty"` + GroupApplicationSenderQualifier *string // The group association assigned code. - GroupAssociationAssignedCode *string `json:"groupAssociationAssignedCode,omitempty"` + GroupAssociationAssignedCode *string // The group control number prefix. - GroupControlNumberPrefix *string `json:"groupControlNumberPrefix,omitempty"` + GroupControlNumberPrefix *string // The group control number suffix. - GroupControlNumberSuffix *string `json:"groupControlNumberSuffix,omitempty"` + GroupControlNumberSuffix *string // The group controlling agency code. - GroupControllingAgencyCode *string `json:"groupControllingAgencyCode,omitempty"` + GroupControllingAgencyCode *string // The group message release. - GroupMessageRelease *string `json:"groupMessageRelease,omitempty"` + GroupMessageRelease *string // The group message version. - GroupMessageVersion *string `json:"groupMessageVersion,omitempty"` + GroupMessageVersion *string // The interchange control number prefix. - InterchangeControlNumberPrefix *string `json:"interchangeControlNumberPrefix,omitempty"` + InterchangeControlNumberPrefix *string // The interchange control number suffix. - InterchangeControlNumberSuffix *string `json:"interchangeControlNumberSuffix,omitempty"` + InterchangeControlNumberSuffix *string // The processing priority code. - ProcessingPriorityCode *string `json:"processingPriorityCode,omitempty"` + ProcessingPriorityCode *string // The receiver internal identification. - ReceiverInternalIdentification *string `json:"receiverInternalIdentification,omitempty"` + ReceiverInternalIdentification *string // The receiver internal sub identification. - ReceiverInternalSubIdentification *string `json:"receiverInternalSubIdentification,omitempty"` + ReceiverInternalSubIdentification *string // The receiver reverse routing address. - ReceiverReverseRoutingAddress *string `json:"receiverReverseRoutingAddress,omitempty"` + ReceiverReverseRoutingAddress *string // The recipient reference password qualifier. - RecipientReferencePasswordQualifier *string `json:"recipientReferencePasswordQualifier,omitempty"` + RecipientReferencePasswordQualifier *string // The recipient reference password value. - RecipientReferencePasswordValue *string `json:"recipientReferencePasswordValue,omitempty"` + RecipientReferencePasswordValue *string // The sender internal identification. - SenderInternalIdentification *string `json:"senderInternalIdentification,omitempty"` + SenderInternalIdentification *string // The sender internal sub identification. - SenderInternalSubIdentification *string `json:"senderInternalSubIdentification,omitempty"` + SenderInternalSubIdentification *string // The sender reverse routing address. - SenderReverseRoutingAddress *string `json:"senderReverseRoutingAddress,omitempty"` + SenderReverseRoutingAddress *string // The transaction set control number prefix. - TransactionSetControlNumberPrefix *string `json:"transactionSetControlNumberPrefix,omitempty"` + TransactionSetControlNumberPrefix *string // The transaction set control number suffix. - TransactionSetControlNumberSuffix *string `json:"transactionSetControlNumberSuffix,omitempty"` + TransactionSetControlNumberSuffix *string } // EdifactFramingSettings - The Edifact agreement framing settings. type EdifactFramingSettings struct { // REQUIRED; The EDIFACT frame setting characterSet. - CharacterSet *EdifactCharacterSet `json:"characterSet,omitempty"` + CharacterSet *EdifactCharacterSet // REQUIRED; The component separator. - ComponentSeparator *int32 `json:"componentSeparator,omitempty"` + ComponentSeparator *int32 // REQUIRED; The data element separator. - DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"` + DataElementSeparator *int32 // REQUIRED; The EDIFACT frame setting decimal indicator. - DecimalPointIndicator *EdifactDecimalIndicator `json:"decimalPointIndicator,omitempty"` + DecimalPointIndicator *EdifactDecimalIndicator // REQUIRED; The protocol version. - ProtocolVersion *int32 `json:"protocolVersion,omitempty"` + ProtocolVersion *int32 // REQUIRED; The release indicator. - ReleaseIndicator *int32 `json:"releaseIndicator,omitempty"` + ReleaseIndicator *int32 // REQUIRED; The repetition separator. - RepetitionSeparator *int32 `json:"repetitionSeparator,omitempty"` + RepetitionSeparator *int32 // REQUIRED; The segment terminator. - SegmentTerminator *int32 `json:"segmentTerminator,omitempty"` + SegmentTerminator *int32 // REQUIRED; The EDIFACT frame setting segment terminator suffix. - SegmentTerminatorSuffix *SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"` + SegmentTerminatorSuffix *SegmentTerminatorSuffix // The character encoding. - CharacterEncoding *string `json:"characterEncoding,omitempty"` + CharacterEncoding *string // The service code list directory version. - ServiceCodeListDirectoryVersion *string `json:"serviceCodeListDirectoryVersion,omitempty"` + ServiceCodeListDirectoryVersion *string } // EdifactMessageFilter - The Edifact message filter for odata query. type EdifactMessageFilter struct { // REQUIRED; The message filter type. - MessageFilterType *MessageFilterType `json:"messageFilterType,omitempty"` + MessageFilterType *MessageFilterType } // EdifactMessageIdentifier - The Edifact message identifier. type EdifactMessageIdentifier struct { // REQUIRED; The message id on which this envelope settings has to be applied. - MessageID *string `json:"messageId,omitempty"` + MessageID *string } // EdifactOneWayAgreement - The Edifact one way agreement. type EdifactOneWayAgreement struct { // REQUIRED; The EDIFACT protocol settings. - ProtocolSettings *EdifactProtocolSettings `json:"protocolSettings,omitempty"` + ProtocolSettings *EdifactProtocolSettings // REQUIRED; The receiver business identity - ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"` + ReceiverBusinessIdentity *BusinessIdentity // REQUIRED; The sender business identity - SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"` + SenderBusinessIdentity *BusinessIdentity } // EdifactProcessingSettings - The Edifact agreement protocol settings. type EdifactProcessingSettings struct { // REQUIRED; The value indicating whether to create empty xml tags for trailing separators. - CreateEmptyXMLTagsForTrailingSeparators *bool `json:"createEmptyXmlTagsForTrailingSeparators,omitempty"` + CreateEmptyXMLTagsForTrailingSeparators *bool // REQUIRED; The value indicating whether to mask security information. - MaskSecurityInfo *bool `json:"maskSecurityInfo,omitempty"` + MaskSecurityInfo *bool // REQUIRED; The value indicating whether to preserve interchange. - PreserveInterchange *bool `json:"preserveInterchange,omitempty"` + PreserveInterchange *bool // REQUIRED; The value indicating whether to suspend interchange on error. - SuspendInterchangeOnError *bool `json:"suspendInterchangeOnError,omitempty"` + SuspendInterchangeOnError *bool // REQUIRED; The value indicating whether to use dot as decimal separator. - UseDotAsDecimalSeparator *bool `json:"useDotAsDecimalSeparator,omitempty"` + UseDotAsDecimalSeparator *bool } // EdifactProtocolSettings - The Edifact agreement protocol settings. type EdifactProtocolSettings struct { // REQUIRED; The EDIFACT acknowledgement settings. - AcknowledgementSettings *EdifactAcknowledgementSettings `json:"acknowledgementSettings,omitempty"` + AcknowledgementSettings *EdifactAcknowledgementSettings // REQUIRED; The EDIFACT envelope settings. - EnvelopeSettings *EdifactEnvelopeSettings `json:"envelopeSettings,omitempty"` + EnvelopeSettings *EdifactEnvelopeSettings // REQUIRED; The EDIFACT framing settings. - FramingSettings *EdifactFramingSettings `json:"framingSettings,omitempty"` + FramingSettings *EdifactFramingSettings // REQUIRED; The EDIFACT message filter. - MessageFilter *EdifactMessageFilter `json:"messageFilter,omitempty"` + MessageFilter *EdifactMessageFilter // REQUIRED; The EDIFACT processing Settings. - ProcessingSettings *EdifactProcessingSettings `json:"processingSettings,omitempty"` + ProcessingSettings *EdifactProcessingSettings // REQUIRED; The EDIFACT schema references. - SchemaReferences []*EdifactSchemaReference `json:"schemaReferences,omitempty"` + SchemaReferences []*EdifactSchemaReference // REQUIRED; The EDIFACT validation settings. - ValidationSettings *EdifactValidationSettings `json:"validationSettings,omitempty"` + ValidationSettings *EdifactValidationSettings // The EDIFACT delimiter override settings. - EdifactDelimiterOverrides []*EdifactDelimiterOverride `json:"edifactDelimiterOverrides,omitempty"` + EdifactDelimiterOverrides []*EdifactDelimiterOverride // The EDIFACT envelope override settings. - EnvelopeOverrides []*EdifactEnvelopeOverride `json:"envelopeOverrides,omitempty"` + EnvelopeOverrides []*EdifactEnvelopeOverride // The EDIFACT message filter list. - MessageFilterList []*EdifactMessageIdentifier `json:"messageFilterList,omitempty"` + MessageFilterList []*EdifactMessageIdentifier // The EDIFACT validation override settings. - ValidationOverrides []*EdifactValidationOverride `json:"validationOverrides,omitempty"` + ValidationOverrides []*EdifactValidationOverride } // EdifactSchemaReference - The Edifact schema reference. type EdifactSchemaReference struct { // REQUIRED; The message id. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // REQUIRED; The message release version. - MessageRelease *string `json:"messageRelease,omitempty"` + MessageRelease *string // REQUIRED; The message version. - MessageVersion *string `json:"messageVersion,omitempty"` + MessageVersion *string // REQUIRED; The schema name. - SchemaName *string `json:"schemaName,omitempty"` + SchemaName *string // The association assigned code. - AssociationAssignedCode *string `json:"associationAssignedCode,omitempty"` + AssociationAssignedCode *string // The sender application id. - SenderApplicationID *string `json:"senderApplicationId,omitempty"` + SenderApplicationID *string // The sender application qualifier. - SenderApplicationQualifier *string `json:"senderApplicationQualifier,omitempty"` + SenderApplicationQualifier *string } // EdifactValidationOverride - The Edifact validation override settings. type EdifactValidationOverride struct { // REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes. - AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"` + AllowLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to validate character Set. - EnforceCharacterSet *bool `json:"enforceCharacterSet,omitempty"` + EnforceCharacterSet *bool // REQUIRED; The message id on which the validation settings has to be applied. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // REQUIRED; The trailing separator policy. - TrailingSeparatorPolicy *TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"` + TrailingSeparatorPolicy *TrailingSeparatorPolicy // REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes. - TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"` + TrimLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to validate EDI types. - ValidateEDITypes *bool `json:"validateEDITypes,omitempty"` + ValidateEDITypes *bool // REQUIRED; The value indicating whether to validate XSD types. - ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"` + ValidateXSDTypes *bool } // EdifactValidationSettings - The Edifact agreement validation settings. type EdifactValidationSettings struct { // REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes. - AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"` + AllowLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to check for duplicate group control number. - CheckDuplicateGroupControlNumber *bool `json:"checkDuplicateGroupControlNumber,omitempty"` + CheckDuplicateGroupControlNumber *bool // REQUIRED; The value indicating whether to check for duplicate interchange control number. - CheckDuplicateInterchangeControlNumber *bool `json:"checkDuplicateInterchangeControlNumber,omitempty"` + CheckDuplicateInterchangeControlNumber *bool // REQUIRED; The value indicating whether to check for duplicate transaction set control number. - CheckDuplicateTransactionSetControlNumber *bool `json:"checkDuplicateTransactionSetControlNumber,omitempty"` + CheckDuplicateTransactionSetControlNumber *bool // REQUIRED; The validity period of interchange control number. - InterchangeControlNumberValidityDays *int32 `json:"interchangeControlNumberValidityDays,omitempty"` + InterchangeControlNumberValidityDays *int32 // REQUIRED; The trailing separator policy. - TrailingSeparatorPolicy *TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"` + TrailingSeparatorPolicy *TrailingSeparatorPolicy // REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes. - TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"` + TrimLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to validate character set in the message. - ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"` + ValidateCharacterSet *bool // REQUIRED; The value indicating whether to Whether to validate EDI types. - ValidateEDITypes *bool `json:"validateEDITypes,omitempty"` + ValidateEDITypes *bool // REQUIRED; The value indicating whether to Whether to validate XSD types. - ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"` + ValidateXSDTypes *bool } // ErrorInfo - The error info. type ErrorInfo struct { // REQUIRED; The error code. - Code *string `json:"code,omitempty"` + Code *string } // ErrorProperties - Error properties indicate why the Logic service was not able to process the incoming request. The reason // is provided in the error message. type ErrorProperties struct { // Error code. - Code *string `json:"code,omitempty"` + Code *string // Error message indicating why the operation failed. - Message *string `json:"message,omitempty"` + Message *string } // ErrorResponse - Error response indicates Logic service is not able to process the incoming request. The error property // contains the error details. type ErrorResponse struct { // The error properties. - Error *ErrorProperties `json:"error,omitempty"` + Error *ErrorProperties } // Expression - The expression. type Expression struct { // The azure resource error info. - Error *AzureResourceErrorInfo `json:"error,omitempty"` + Error *AzureResourceErrorInfo // The sub expressions. - Subexpressions []*Expression `json:"subexpressions,omitempty"` + Subexpressions []*Expression // The text. - Text *string `json:"text,omitempty"` + Text *string // Anything - Value any `json:"value,omitempty"` + Value any } // ExpressionRoot - The expression root. type ExpressionRoot struct { // The azure resource error info. - Error *AzureResourceErrorInfo `json:"error,omitempty"` + Error *AzureResourceErrorInfo // The path. - Path *string `json:"path,omitempty"` + Path *string // The sub expressions. - Subexpressions []*Expression `json:"subexpressions,omitempty"` + Subexpressions []*Expression // The text. - Text *string `json:"text,omitempty"` + Text *string // Anything - Value any `json:"value,omitempty"` + Value any } // ExpressionTraces - The expression traces. type ExpressionTraces struct { - Inputs []*ExpressionRoot `json:"inputs,omitempty"` + Inputs []*ExpressionRoot } // ExtendedErrorInfo - The extended error info. type ExtendedErrorInfo struct { // REQUIRED; The error code. - Code *ErrorResponseCode `json:"code,omitempty"` + Code *ErrorResponseCode // REQUIRED; The error message. - Message *string `json:"message,omitempty"` + Message *string // The error message details. - Details []*ExtendedErrorInfo `json:"details,omitempty"` + Details []*ExtendedErrorInfo // The inner error. - InnerError any `json:"innerError,omitempty"` + InnerError any } // FlowAccessControlConfiguration - The access control configuration. type FlowAccessControlConfiguration struct { // The access control configuration for workflow actions. - Actions *FlowAccessControlConfigurationPolicy `json:"actions,omitempty"` + Actions *FlowAccessControlConfigurationPolicy // The access control configuration for accessing workflow run contents. - Contents *FlowAccessControlConfigurationPolicy `json:"contents,omitempty"` + Contents *FlowAccessControlConfigurationPolicy // The access control configuration for invoking workflow triggers. - Triggers *FlowAccessControlConfigurationPolicy `json:"triggers,omitempty"` + Triggers *FlowAccessControlConfigurationPolicy // The access control configuration for workflow management. - WorkflowManagement *FlowAccessControlConfigurationPolicy `json:"workflowManagement,omitempty"` + WorkflowManagement *FlowAccessControlConfigurationPolicy } // FlowAccessControlConfigurationPolicy - The access control configuration policy. type FlowAccessControlConfigurationPolicy struct { // The allowed caller IP address ranges. - AllowedCallerIPAddresses []*IPAddressRange `json:"allowedCallerIpAddresses,omitempty"` + AllowedCallerIPAddresses []*IPAddressRange // The authentication policies for workflow. - OpenAuthenticationPolicies *OpenAuthenticationAccessPolicies `json:"openAuthenticationPolicies,omitempty"` + OpenAuthenticationPolicies *OpenAuthenticationAccessPolicies } // FlowEndpoints - The flow endpoints configuration. type FlowEndpoints struct { // The access endpoint ip address. - AccessEndpointIPAddresses []*IPAddress `json:"accessEndpointIpAddresses,omitempty"` + AccessEndpointIPAddresses []*IPAddress // The outgoing ip address. - OutgoingIPAddresses []*IPAddress `json:"outgoingIpAddresses,omitempty"` + OutgoingIPAddresses []*IPAddress } // FlowEndpointsConfiguration - The endpoints configuration. type FlowEndpointsConfiguration struct { // The connector endpoints. - Connector *FlowEndpoints `json:"connector,omitempty"` + Connector *FlowEndpoints // The workflow endpoints. - Workflow *FlowEndpoints `json:"workflow,omitempty"` + Workflow *FlowEndpoints } // GenerateUpgradedDefinitionParameters - The parameters to generate upgraded definition. type GenerateUpgradedDefinitionParameters struct { // The target schema version. - TargetSchemaVersion *string `json:"targetSchemaVersion,omitempty"` + TargetSchemaVersion *string } // GetCallbackURLParameters - The callback url parameters. type GetCallbackURLParameters struct { // The key type. - KeyType *KeyType `json:"keyType,omitempty"` + KeyType *KeyType // The expiry time. - NotAfter *time.Time `json:"notAfter,omitempty"` + NotAfter *time.Time } // IPAddress - The ip address. type IPAddress struct { // The address. - Address *string `json:"address,omitempty"` + Address *string } // IPAddressRange - The ip address range. type IPAddressRange struct { // The IP address range. - AddressRange *string `json:"addressRange,omitempty"` + AddressRange *string } // IntegrationAccount - The integration account. type IntegrationAccount struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The integration account properties. - Properties *IntegrationAccountProperties `json:"properties,omitempty"` + Properties *IntegrationAccountProperties // The sku. - SKU *IntegrationAccountSKU `json:"sku,omitempty"` + SKU *IntegrationAccountSKU // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountAgreement - The integration account agreement. type IntegrationAccountAgreement struct { // REQUIRED; The integration account agreement properties. - Properties *IntegrationAccountAgreementProperties `json:"properties,omitempty"` + Properties *IntegrationAccountAgreementProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountAgreementFilter - The integration account agreement filter for odata query. type IntegrationAccountAgreementFilter struct { // REQUIRED; The agreement type of integration account agreement. - AgreementType *AgreementType `json:"agreementType,omitempty"` + AgreementType *AgreementType } // IntegrationAccountAgreementListResult - The list of integration account agreements. type IntegrationAccountAgreementListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account agreements. - Value []*IntegrationAccountAgreement `json:"value,omitempty"` + Value []*IntegrationAccountAgreement } // IntegrationAccountAgreementProperties - The integration account agreement properties. type IntegrationAccountAgreementProperties struct { // REQUIRED; The agreement type. - AgreementType *AgreementType `json:"agreementType,omitempty"` + AgreementType *AgreementType // REQUIRED; The agreement content. - Content *AgreementContent `json:"content,omitempty"` + Content *AgreementContent // REQUIRED; The business identity of the guest partner. - GuestIdentity *BusinessIdentity `json:"guestIdentity,omitempty"` + GuestIdentity *BusinessIdentity // REQUIRED; The integration account partner that is set as guest partner for this agreement. - GuestPartner *string `json:"guestPartner,omitempty"` + GuestPartner *string // REQUIRED; The business identity of the host partner. - HostIdentity *BusinessIdentity `json:"hostIdentity,omitempty"` + HostIdentity *BusinessIdentity // REQUIRED; The integration account partner that is set as host partner for this agreement. - HostPartner *string `json:"hostPartner,omitempty"` + HostPartner *string // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountAgreementsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountAgreementsClient.CreateOrUpdate @@ -1474,49 +1474,49 @@ type IntegrationAccountBatchConfigurationsClientListOptions struct { // IntegrationAccountCertificate - The integration account certificate. type IntegrationAccountCertificate struct { // REQUIRED; The integration account certificate properties. - Properties *IntegrationAccountCertificateProperties `json:"properties,omitempty"` + Properties *IntegrationAccountCertificateProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountCertificateListResult - The list of integration account certificates. type IntegrationAccountCertificateListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account certificates. - Value []*IntegrationAccountCertificate `json:"value,omitempty"` + Value []*IntegrationAccountCertificate } // IntegrationAccountCertificateProperties - The integration account certificate properties. type IntegrationAccountCertificateProperties struct { // The key details in the key vault. - Key *KeyVaultKeyReference `json:"key,omitempty"` + Key *KeyVaultKeyReference // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // The public certificate. - PublicCertificate *string `json:"publicCertificate,omitempty"` + PublicCertificate *string // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountCertificatesClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountCertificatesClient.CreateOrUpdate @@ -1547,79 +1547,79 @@ type IntegrationAccountCertificatesClientListOptions struct { // IntegrationAccountListResult - The list of integration accounts. type IntegrationAccountListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration accounts. - Value []*IntegrationAccount `json:"value,omitempty"` + Value []*IntegrationAccount } // IntegrationAccountMap - The integration account map. type IntegrationAccountMap struct { // REQUIRED; The integration account map properties. - Properties *IntegrationAccountMapProperties `json:"properties,omitempty"` + Properties *IntegrationAccountMapProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountMapFilter - The integration account map filter for odata query. type IntegrationAccountMapFilter struct { // REQUIRED; The map type of integration account map. - MapType *MapType `json:"mapType,omitempty"` + MapType *MapType } // IntegrationAccountMapListResult - The list of integration account maps. type IntegrationAccountMapListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account maps. - Value []*IntegrationAccountMap `json:"value,omitempty"` + Value []*IntegrationAccountMap } // IntegrationAccountMapProperties - The integration account map. type IntegrationAccountMapProperties struct { // REQUIRED; The map type. - MapType *MapType `json:"mapType,omitempty"` + MapType *MapType // The content. - Content *string `json:"content,omitempty"` + Content *string // The content type. - ContentType *string `json:"contentType,omitempty"` + ContentType *string // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // The parameters schema of integration account map. - ParametersSchema *IntegrationAccountMapPropertiesParametersSchema `json:"parametersSchema,omitempty"` + ParametersSchema *IntegrationAccountMapPropertiesParametersSchema // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The content link. - ContentLink *ContentLink `json:"contentLink,omitempty" azure:"ro"` + ContentLink *ContentLink // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountMapPropertiesParametersSchema - The parameters schema of integration account map. type IntegrationAccountMapPropertiesParametersSchema struct { // The reference name. - Ref *string `json:"ref,omitempty"` + Ref *string } // IntegrationAccountMapsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountMapsClient.CreateOrUpdate @@ -1657,55 +1657,55 @@ type IntegrationAccountMapsClientListOptions struct { // IntegrationAccountPartner - The integration account partner. type IntegrationAccountPartner struct { // REQUIRED; The integration account partner properties. - Properties *IntegrationAccountPartnerProperties `json:"properties,omitempty"` + Properties *IntegrationAccountPartnerProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountPartnerFilter - The integration account partner filter for odata query. type IntegrationAccountPartnerFilter struct { // REQUIRED; The partner type of integration account partner. - PartnerType *PartnerType `json:"partnerType,omitempty"` + PartnerType *PartnerType } // IntegrationAccountPartnerListResult - The list of integration account partners. type IntegrationAccountPartnerListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account partners. - Value []*IntegrationAccountPartner `json:"value,omitempty"` + Value []*IntegrationAccountPartner } // IntegrationAccountPartnerProperties - The integration account partner properties. type IntegrationAccountPartnerProperties struct { // REQUIRED; The partner content. - Content *PartnerContent `json:"content,omitempty"` + Content *PartnerContent // REQUIRED; The partner type. - PartnerType *PartnerType `json:"partnerType,omitempty"` + PartnerType *PartnerType // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountPartnersClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountPartnersClient.CreateOrUpdate @@ -1744,85 +1744,85 @@ type IntegrationAccountPartnersClientListOptions struct { // IntegrationAccountProperties - The integration account properties. type IntegrationAccountProperties struct { // The integration service environment. - IntegrationServiceEnvironment *ResourceReference `json:"integrationServiceEnvironment,omitempty"` + IntegrationServiceEnvironment *ResourceReference // The workflow state. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState } // IntegrationAccountSKU - The integration account sku. type IntegrationAccountSKU struct { // REQUIRED; The sku name. - Name *IntegrationAccountSKUName `json:"name,omitempty"` + Name *IntegrationAccountSKUName } // IntegrationAccountSchema - The integration account schema. type IntegrationAccountSchema struct { // REQUIRED; The integration account schema properties. - Properties *IntegrationAccountSchemaProperties `json:"properties,omitempty"` + Properties *IntegrationAccountSchemaProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountSchemaFilter - The integration account schema filter for odata query. type IntegrationAccountSchemaFilter struct { // REQUIRED; The schema type of integration account schema. - SchemaType *SchemaType `json:"schemaType,omitempty"` + SchemaType *SchemaType } // IntegrationAccountSchemaListResult - The list of integration account schemas. type IntegrationAccountSchemaListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account schemas. - Value []*IntegrationAccountSchema `json:"value,omitempty"` + Value []*IntegrationAccountSchema } // IntegrationAccountSchemaProperties - The integration account schema properties. type IntegrationAccountSchemaProperties struct { // REQUIRED; The schema type. - SchemaType *SchemaType `json:"schemaType,omitempty"` + SchemaType *SchemaType // The content. - Content *string `json:"content,omitempty"` + Content *string // The content type. - ContentType *string `json:"contentType,omitempty"` + ContentType *string // The document name. - DocumentName *string `json:"documentName,omitempty"` + DocumentName *string // The file name. - FileName *string `json:"fileName,omitempty"` + FileName *string // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // The target namespace of the schema. - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The content link. - ContentLink *ContentLink `json:"contentLink,omitempty" azure:"ro"` + ContentLink *ContentLink // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountSchemasClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSchemasClient.CreateOrUpdate @@ -1861,49 +1861,49 @@ type IntegrationAccountSchemasClientListOptions struct { // IntegrationAccountSession - The integration account session. type IntegrationAccountSession struct { // REQUIRED; The integration account session properties. - Properties *IntegrationAccountSessionProperties `json:"properties,omitempty"` + Properties *IntegrationAccountSessionProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationAccountSessionFilter - The integration account session filter. type IntegrationAccountSessionFilter struct { // REQUIRED; The changed time of integration account sessions. - ChangedTime *time.Time `json:"changedTime,omitempty"` + ChangedTime *time.Time } // IntegrationAccountSessionListResult - The list of integration account sessions. type IntegrationAccountSessionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration account sessions. - Value []*IntegrationAccountSession `json:"value,omitempty"` + Value []*IntegrationAccountSession } // IntegrationAccountSessionProperties - The integration account session properties. type IntegrationAccountSessionProperties struct { // The session content. - Content any `json:"content,omitempty"` + Content any // READ-ONLY; The changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; The created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time } // IntegrationAccountSessionsClientCreateOrUpdateOptions contains the optional parameters for the IntegrationAccountSessionsClient.CreateOrUpdate @@ -1995,96 +1995,96 @@ type IntegrationAccountsClientUpdateOptions struct { // IntegrationServiceEnvironmenEncryptionConfiguration - The encryption configuration for the integration service environment. type IntegrationServiceEnvironmenEncryptionConfiguration struct { // The encryption key reference. - EncryptionKeyReference *IntegrationServiceEnvironmenEncryptionKeyReference `json:"encryptionKeyReference,omitempty"` + EncryptionKeyReference *IntegrationServiceEnvironmenEncryptionKeyReference } // IntegrationServiceEnvironmenEncryptionKeyReference - The encryption key details for the integration service environment. type IntegrationServiceEnvironmenEncryptionKeyReference struct { // Gets the key name in the Key Vault. - KeyName *string `json:"keyName,omitempty"` + KeyName *string // The key vault reference. - KeyVault *ResourceReference `json:"keyVault,omitempty"` + KeyVault *ResourceReference // Gets the version of the key specified in the keyName property. - KeyVersion *string `json:"keyVersion,omitempty"` + KeyVersion *string } // IntegrationServiceEnvironment - The integration service environment. type IntegrationServiceEnvironment struct { // Managed service identity properties. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The integration service environment properties. - Properties *IntegrationServiceEnvironmentProperties `json:"properties,omitempty"` + Properties *IntegrationServiceEnvironmentProperties // The sku. - SKU *IntegrationServiceEnvironmentSKU `json:"sku,omitempty"` + SKU *IntegrationServiceEnvironmentSKU // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationServiceEnvironmentAccessEndpoint - The integration service environment access endpoint. type IntegrationServiceEnvironmentAccessEndpoint struct { // The access endpoint type. - Type *IntegrationServiceEnvironmentAccessEndpointType `json:"type,omitempty"` + Type *IntegrationServiceEnvironmentAccessEndpointType } // IntegrationServiceEnvironmentListResult - The list of integration service environments. type IntegrationServiceEnvironmentListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` - Value []*IntegrationServiceEnvironment `json:"value,omitempty"` + NextLink *string + Value []*IntegrationServiceEnvironment } // IntegrationServiceEnvironmentManagedAPI - The integration service environment managed api. type IntegrationServiceEnvironmentManagedAPI struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The integration service environment managed api properties. - Properties *IntegrationServiceEnvironmentManagedAPIProperties `json:"properties,omitempty"` + Properties *IntegrationServiceEnvironmentManagedAPIProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntegrationServiceEnvironmentManagedAPIDeploymentParameters - The integration service environment managed api deployment // parameters. type IntegrationServiceEnvironmentManagedAPIDeploymentParameters struct { // The integration service environment managed api content link for deployment. - ContentLinkDefinition *ContentLink `json:"contentLinkDefinition,omitempty"` + ContentLinkDefinition *ContentLink } // IntegrationServiceEnvironmentManagedAPIListResult - The list of integration service environment managed APIs. type IntegrationServiceEnvironmentManagedAPIListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The integration service environment managed APIs. - Value []*IntegrationServiceEnvironmentManagedAPI `json:"value,omitempty"` + Value []*IntegrationServiceEnvironmentManagedAPI } // IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedAPIOperationsClient.NewListPager @@ -2096,46 +2096,46 @@ type IntegrationServiceEnvironmentManagedAPIOperationsClientListOptions struct { // IntegrationServiceEnvironmentManagedAPIProperties - The integration service environment managed api properties. type IntegrationServiceEnvironmentManagedAPIProperties struct { // The integration service environment managed api deployment parameters. - DeploymentParameters *IntegrationServiceEnvironmentManagedAPIDeploymentParameters `json:"deploymentParameters,omitempty"` + DeploymentParameters *IntegrationServiceEnvironmentManagedAPIDeploymentParameters // The integration service environment reference. - IntegrationServiceEnvironment *ResourceReference `json:"integrationServiceEnvironment,omitempty"` + IntegrationServiceEnvironment *ResourceReference // READ-ONLY; The API definition. - APIDefinitionURL *string `json:"apiDefinitionUrl,omitempty" azure:"ro"` + APIDefinitionURL *string // READ-ONLY; The api definitions. - APIDefinitions *APIResourceDefinitions `json:"apiDefinitions,omitempty" azure:"ro"` + APIDefinitions *APIResourceDefinitions // READ-ONLY; The backend service. - BackendService *APIResourceBackendService `json:"backendService,omitempty" azure:"ro"` + BackendService *APIResourceBackendService // READ-ONLY; The capabilities. - Capabilities []*string `json:"capabilities,omitempty" azure:"ro"` + Capabilities []*string // READ-ONLY; The category. - Category *APITier `json:"category,omitempty" azure:"ro"` + Category *APITier // READ-ONLY; The connection parameters. - ConnectionParameters map[string]any `json:"connectionParameters,omitempty" azure:"ro"` + ConnectionParameters map[string]any // READ-ONLY; The api general information. - GeneralInformation *APIResourceGeneralInformation `json:"generalInformation,omitempty" azure:"ro"` + GeneralInformation *APIResourceGeneralInformation // READ-ONLY; The metadata. - Metadata *APIResourceMetadata `json:"metadata,omitempty" azure:"ro"` + Metadata *APIResourceMetadata // READ-ONLY; The name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The policies for the API. - Policies *APIResourcePolicies `json:"policies,omitempty" azure:"ro"` + Policies *APIResourcePolicies // READ-ONLY; The provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *WorkflowProvisioningState // READ-ONLY; The runtime urls. - RuntimeUrls []*string `json:"runtimeUrls,omitempty" azure:"ro"` + RuntimeUrls []*string } // IntegrationServiceEnvironmentManagedApisClientBeginDeleteOptions contains the optional parameters for the IntegrationServiceEnvironmentManagedApisClient.BeginDelete @@ -2167,34 +2167,34 @@ type IntegrationServiceEnvironmentManagedApisClientListOptions struct { // IntegrationServiceEnvironmentNetworkDependency - The azure async operation resource. type IntegrationServiceEnvironmentNetworkDependency struct { // The network dependency category type. - Category *IntegrationServiceEnvironmentNetworkDependencyCategoryType `json:"category,omitempty"` + Category *IntegrationServiceEnvironmentNetworkDependencyCategoryType // The display name. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The endpoints. - Endpoints []*IntegrationServiceEnvironmentNetworkEndpoint `json:"endpoints,omitempty"` + Endpoints []*IntegrationServiceEnvironmentNetworkEndpoint } // IntegrationServiceEnvironmentNetworkDependencyHealth - The integration service environment subnet network health. type IntegrationServiceEnvironmentNetworkDependencyHealth struct { // The error if any occurred during the operation. - Error *ExtendedErrorInfo `json:"error,omitempty"` + Error *ExtendedErrorInfo // The network dependency health state. - State *IntegrationServiceEnvironmentNetworkDependencyHealthState `json:"state,omitempty"` + State *IntegrationServiceEnvironmentNetworkDependencyHealthState } // IntegrationServiceEnvironmentNetworkEndpoint - The network endpoint. type IntegrationServiceEnvironmentNetworkEndpoint struct { // The accessibility state. - Accessibility *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState `json:"accessibility,omitempty"` + Accessibility *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState // The domain name. - DomainName *string `json:"domainName,omitempty"` + DomainName *string // The ports. - Ports []*string `json:"ports,omitempty"` + Ports []*string } // IntegrationServiceEnvironmentNetworkHealthClientGetOptions contains the optional parameters for the IntegrationServiceEnvironmentNetworkHealthClient.Get @@ -2206,76 +2206,76 @@ type IntegrationServiceEnvironmentNetworkHealthClientGetOptions struct { // IntegrationServiceEnvironmentProperties - The integration service environment properties. type IntegrationServiceEnvironmentProperties struct { // The encryption configuration. - EncryptionConfiguration *IntegrationServiceEnvironmenEncryptionConfiguration `json:"encryptionConfiguration,omitempty"` + EncryptionConfiguration *IntegrationServiceEnvironmenEncryptionConfiguration // The endpoints configuration. - EndpointsConfiguration *FlowEndpointsConfiguration `json:"endpointsConfiguration,omitempty"` + EndpointsConfiguration *FlowEndpointsConfiguration // Gets the tracking id. - IntegrationServiceEnvironmentID *string `json:"integrationServiceEnvironmentId,omitempty"` + IntegrationServiceEnvironmentID *string // The network configuration. - NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"` + NetworkConfiguration *NetworkConfiguration // The provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *WorkflowProvisioningState // The integration service environment state. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState } // IntegrationServiceEnvironmentSKU - The integration service environment sku. type IntegrationServiceEnvironmentSKU struct { // The sku capacity. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // The sku name. - Name *IntegrationServiceEnvironmentSKUName `json:"name,omitempty"` + Name *IntegrationServiceEnvironmentSKUName } // IntegrationServiceEnvironmentSKUCapacity - The integration service environment sku capacity. type IntegrationServiceEnvironmentSKUCapacity struct { // The default capacity. - Default *int32 `json:"default,omitempty"` + Default *int32 // The maximum capacity. - Maximum *int32 `json:"maximum,omitempty"` + Maximum *int32 // The minimum capacity. - Minimum *int32 `json:"minimum,omitempty"` + Minimum *int32 // The sku scale type. - ScaleType *IntegrationServiceEnvironmentSKUScaleType `json:"scaleType,omitempty"` + ScaleType *IntegrationServiceEnvironmentSKUScaleType } // IntegrationServiceEnvironmentSKUDefinition - The integration service environment sku definition. type IntegrationServiceEnvironmentSKUDefinition struct { // The sku capacity. - Capacity *IntegrationServiceEnvironmentSKUCapacity `json:"capacity,omitempty"` + Capacity *IntegrationServiceEnvironmentSKUCapacity // The resource type. - ResourceType *string `json:"resourceType,omitempty"` + ResourceType *string // The sku. - SKU *IntegrationServiceEnvironmentSKUDefinitionSKU `json:"sku,omitempty"` + SKU *IntegrationServiceEnvironmentSKUDefinitionSKU } // IntegrationServiceEnvironmentSKUDefinitionSKU - The sku. type IntegrationServiceEnvironmentSKUDefinitionSKU struct { // The sku name. - Name *IntegrationServiceEnvironmentSKUName `json:"name,omitempty"` + Name *IntegrationServiceEnvironmentSKUName // The sku tier. - Tier *string `json:"tier,omitempty"` + Tier *string } // IntegrationServiceEnvironmentSKUList - The list of integration service environment skus. type IntegrationServiceEnvironmentSKUList struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of integration service environment skus. - Value []*IntegrationServiceEnvironmentSKUDefinition `json:"value,omitempty"` + Value []*IntegrationServiceEnvironmentSKUDefinition } // IntegrationServiceEnvironmentSKUsClientListOptions contains the optional parameters for the IntegrationServiceEnvironmentSKUsClient.NewListPager @@ -2287,13 +2287,13 @@ type IntegrationServiceEnvironmentSKUsClientListOptions struct { // IntegrationServiceEnvironmentSubnetNetworkHealth - The integration service environment subnet network health. type IntegrationServiceEnvironmentSubnetNetworkHealth struct { // REQUIRED; The integration service environment network health state. - NetworkDependencyHealthState *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState `json:"networkDependencyHealthState,omitempty"` + NetworkDependencyHealthState *IntegrationServiceEnvironmentNetworkEndPointAccessibilityState // The outbound network dependencies. - OutboundNetworkDependencies []*IntegrationServiceEnvironmentNetworkDependency `json:"outboundNetworkDependencies,omitempty"` + OutboundNetworkDependencies []*IntegrationServiceEnvironmentNetworkDependency // The integration service environment network health. - OutboundNetworkHealth *IntegrationServiceEnvironmentNetworkDependencyHealth `json:"outboundNetworkHealth,omitempty"` + OutboundNetworkHealth *IntegrationServiceEnvironmentNetworkDependencyHealth } // IntegrationServiceEnvironmentsClientBeginCreateOrUpdateOptions contains the optional parameters for the IntegrationServiceEnvironmentsClient.BeginCreateOrUpdate @@ -2345,273 +2345,273 @@ type IntegrationServiceEnvironmentsClientRestartOptions struct { // JSONSchema - The JSON schema. type JSONSchema struct { // The JSON content. - Content *string `json:"content,omitempty"` + Content *string // The JSON title. - Title *string `json:"title,omitempty"` + Title *string } // KeyVaultKey - The key vault key. type KeyVaultKey struct { // The key attributes. - Attributes *KeyVaultKeyAttributes `json:"attributes,omitempty"` + Attributes *KeyVaultKeyAttributes // The key id. - Kid *string `json:"kid,omitempty"` + Kid *string } // KeyVaultKeyAttributes - The key attributes. type KeyVaultKeyAttributes struct { // When the key was created. - Created *int64 `json:"created,omitempty"` + Created *int64 // Whether the key is enabled or not. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // When the key was updated. - Updated *int64 `json:"updated,omitempty"` + Updated *int64 } // KeyVaultKeyCollection - Collection of key vault keys. type KeyVaultKeyCollection struct { // The skip token. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // The key vault keys. - Value []*KeyVaultKey `json:"value,omitempty"` + Value []*KeyVaultKey } // KeyVaultKeyReference - The reference to the key vault key. type KeyVaultKeyReference struct { // REQUIRED; The private key name in key vault. - KeyName *string `json:"keyName,omitempty"` + KeyName *string // REQUIRED; The key vault reference. - KeyVault *KeyVaultKeyReferenceKeyVault `json:"keyVault,omitempty"` + KeyVault *KeyVaultKeyReferenceKeyVault // The private key version in key vault. - KeyVersion *string `json:"keyVersion,omitempty"` + KeyVersion *string } // KeyVaultKeyReferenceKeyVault - The key vault reference. type KeyVaultKeyReferenceKeyVault struct { // The resource id. - ID *string `json:"id,omitempty"` + ID *string // READ-ONLY; The resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // KeyVaultReference - The key vault reference. type KeyVaultReference struct { // The resource id. - ID *string `json:"id,omitempty"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ListKeyVaultKeysDefinition - The list key vault keys definition. type ListKeyVaultKeysDefinition struct { // REQUIRED; The key vault reference. - KeyVault *KeyVaultReference `json:"keyVault,omitempty"` + KeyVault *KeyVaultReference // The skip token. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string } // ManagedAPI - The managed api definition. type ManagedAPI struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The api resource properties. - Properties *APIResourceProperties `json:"properties,omitempty"` + Properties *APIResourceProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagedAPIListResult - The list of managed APIs. type ManagedAPIListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The managed APIs. - Value []*ManagedAPI `json:"value,omitempty"` + Value []*ManagedAPI } // ManagedServiceIdentity - Managed service identity properties. type ManagedServiceIdentity struct { // REQUIRED; Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type // 'None' will remove any identities from the resource. - Type *ManagedServiceIdentityType `json:"type,omitempty"` + Type *ManagedServiceIdentityType // The list of user assigned 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"` + UserAssignedIdentities map[string]*UserAssignedIdentity // READ-ONLY; Principal Id of managed service identity. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; Tenant of managed service identity. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // NetworkConfiguration - The network configuration. type NetworkConfiguration struct { // The access endpoint. - AccessEndpoint *IntegrationServiceEnvironmentAccessEndpoint `json:"accessEndpoint,omitempty"` + AccessEndpoint *IntegrationServiceEnvironmentAccessEndpoint // The subnets. - Subnets []*ResourceReference `json:"subnets,omitempty"` + Subnets []*ResourceReference // Gets the virtual network address space. - VirtualNetworkAddressSpace *string `json:"virtualNetworkAddressSpace,omitempty"` + VirtualNetworkAddressSpace *string } // OpenAuthenticationAccessPolicies - AuthenticationPolicy of type Open. type OpenAuthenticationAccessPolicies struct { // Open authentication policies. - Policies map[string]*OpenAuthenticationAccessPolicy `json:"policies,omitempty"` + Policies map[string]*OpenAuthenticationAccessPolicy } // OpenAuthenticationAccessPolicy - Open authentication access policy defined by user. type OpenAuthenticationAccessPolicy struct { // The access policy claims. - Claims []*OpenAuthenticationPolicyClaim `json:"claims,omitempty"` + Claims []*OpenAuthenticationPolicyClaim // Type of provider for OAuth. - Type *OpenAuthenticationProviderType `json:"type,omitempty"` + Type *OpenAuthenticationProviderType } // OpenAuthenticationPolicyClaim - Open authentication policy claim. type OpenAuthenticationPolicyClaim struct { // The name of the claim. - Name *string `json:"name,omitempty"` + Name *string // The value of the claim. - Value *string `json:"value,omitempty"` + Value *string } // Operation - Logic REST API operation type Operation struct { // The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Operation name: {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` + Name *string // Operation: origin - Origin *string `json:"origin,omitempty"` + Origin *string // The properties. - Properties any `json:"properties,omitempty"` + Properties any } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // Operation: description. - Description *string `json:"description,omitempty"` + Description *string // Operation type: Read, write, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft.Logic - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed: Profile, endpoint, etc. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of the request to list Logic operations. It contains a list of operations and a URL link to // get the next set of results. type OperationListResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Logic operations supported by the Logic resource provider. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationResult - The operation result definition. type OperationResult struct { // The workflow scope repetition code. - Code *string `json:"code,omitempty"` + Code *string // The correlation properties. - Correlation *RunActionCorrelation `json:"correlation,omitempty"` + Correlation *RunActionCorrelation // The end time of the workflow scope repetition. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Anything - Error any `json:"error,omitempty"` - IterationCount *int32 `json:"iterationCount,omitempty"` + Error any + IterationCount *int32 // Gets the retry histories. - RetryHistory []*RetryHistory `json:"retryHistory,omitempty"` + RetryHistory []*RetryHistory // The start time of the workflow scope repetition. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // The status of the workflow scope repetition. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus // READ-ONLY; Gets the inputs. - Inputs any `json:"inputs,omitempty" azure:"ro"` + Inputs any // READ-ONLY; Gets the link to inputs. - InputsLink *ContentLink `json:"inputsLink,omitempty" azure:"ro"` + InputsLink *ContentLink // READ-ONLY; Gets the outputs. - Outputs any `json:"outputs,omitempty" azure:"ro"` + Outputs any // READ-ONLY; Gets the link to outputs. - OutputsLink *ContentLink `json:"outputsLink,omitempty" azure:"ro"` + OutputsLink *ContentLink // READ-ONLY; Gets the tracked properties. - TrackedProperties any `json:"trackedProperties,omitempty" azure:"ro"` + TrackedProperties any // READ-ONLY; Gets the tracking id. - TrackingID *string `json:"trackingId,omitempty" azure:"ro"` + TrackingID *string } // OperationResultProperties - The run operation result properties. type OperationResultProperties struct { // The workflow scope repetition code. - Code *string `json:"code,omitempty"` + Code *string // The correlation properties. - Correlation *RunActionCorrelation `json:"correlation,omitempty"` + Correlation *RunActionCorrelation // The end time of the workflow scope repetition. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Anything - Error any `json:"error,omitempty"` + Error any // The start time of the workflow scope repetition. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // The status of the workflow scope repetition. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -2622,745 +2622,745 @@ type OperationsClientListOptions struct { // PartnerContent - The integration account partner content. type PartnerContent struct { // The B2B partner content. - B2B *B2BPartnerContent `json:"b2b,omitempty"` + B2B *B2BPartnerContent } // RecurrenceSchedule - The recurrence schedule. type RecurrenceSchedule struct { // The hours. - Hours []*int32 `json:"hours,omitempty"` + Hours []*int32 // The minutes. - Minutes []*int32 `json:"minutes,omitempty"` + Minutes []*int32 // The month days. - MonthDays []*int32 `json:"monthDays,omitempty"` + MonthDays []*int32 // The monthly occurrences. - MonthlyOccurrences []*RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` + MonthlyOccurrences []*RecurrenceScheduleOccurrence // The days of the week. - WeekDays []*DaysOfWeek `json:"weekDays,omitempty"` + WeekDays []*DaysOfWeek } // RecurrenceScheduleOccurrence - The recurrence schedule occurrence. type RecurrenceScheduleOccurrence struct { // The day of the week. - Day *DayOfWeek `json:"day,omitempty"` + Day *DayOfWeek // The occurrence. - Occurrence *int32 `json:"occurrence,omitempty"` + Occurrence *int32 } // RegenerateActionParameter - The access key regenerate action content. type RegenerateActionParameter struct { // The key type. - KeyType *KeyType `json:"keyType,omitempty"` + KeyType *KeyType } // RepetitionIndex - The workflow run action repetition index. type RepetitionIndex struct { // REQUIRED; The index. - ItemIndex *int32 `json:"itemIndex,omitempty"` + ItemIndex *int32 // The scope. - ScopeName *string `json:"scopeName,omitempty"` + ScopeName *string } // Request - A request. type Request struct { // A list of all the headers attached to the request. - Headers any `json:"headers,omitempty"` + Headers any // The HTTP method used for the request. - Method *string `json:"method,omitempty"` + Method *string // The destination for the request. - URI *string `json:"uri,omitempty"` + URI *string } // RequestHistory - The request history. type RequestHistory struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The request history properties. - Properties *RequestHistoryProperties `json:"properties,omitempty"` + Properties *RequestHistoryProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RequestHistoryListResult - The list of workflow request histories. type RequestHistoryListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow request histories. - Value []*RequestHistory `json:"value,omitempty"` + Value []*RequestHistory } // RequestHistoryProperties - The request history. type RequestHistoryProperties struct { // The time the request ended. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // The request. - Request *Request `json:"request,omitempty"` + Request *Request // The response. - Response *Response `json:"response,omitempty"` + Response *Response // The time the request started. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time } // Resource - The base resource type. type Resource struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceReference - The resource reference. type ResourceReference struct { // The resource id. - ID *string `json:"id,omitempty"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Response - A response. type Response struct { // Details on the location of the body content. - BodyLink *ContentLink `json:"bodyLink,omitempty"` + BodyLink *ContentLink // A list of all the headers attached to the response. - Headers any `json:"headers,omitempty"` + Headers any // The status code of the response. - StatusCode *int32 `json:"statusCode,omitempty"` + StatusCode *int32 } // RetryHistory - The retry history. type RetryHistory struct { // Gets the client request Id. - ClientRequestID *string `json:"clientRequestId,omitempty"` + ClientRequestID *string // Gets the status code. - Code *string `json:"code,omitempty"` + Code *string // Gets the end time. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Gets the error response. - Error *ErrorResponse `json:"error,omitempty"` + Error *ErrorResponse // Gets the service request Id. - ServiceRequestID *string `json:"serviceRequestId,omitempty"` + ServiceRequestID *string // Gets the start time. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time } // RunActionCorrelation - The workflow run action correlation properties. type RunActionCorrelation struct { // The action tracking identifier. - ActionTrackingID *string `json:"actionTrackingId,omitempty"` + ActionTrackingID *string // The client keywords. - ClientKeywords []*string `json:"clientKeywords,omitempty"` + ClientKeywords []*string // The client tracking identifier. - ClientTrackingID *string `json:"clientTrackingId,omitempty"` + ClientTrackingID *string } // RunCorrelation - The correlation properties. type RunCorrelation struct { // The client keywords. - ClientKeywords []*string `json:"clientKeywords,omitempty"` + ClientKeywords []*string // The client tracking identifier. - ClientTrackingID *string `json:"clientTrackingId,omitempty"` + ClientTrackingID *string } // SKU - The sku type. type SKU struct { // REQUIRED; The name. - Name *SKUName `json:"name,omitempty"` + Name *SKUName // The reference to plan. - Plan *ResourceReference `json:"plan,omitempty"` + Plan *ResourceReference } // SetTriggerStateActionDefinition - The set trigger state action definition. type SetTriggerStateActionDefinition struct { // REQUIRED; The source. - Source *WorkflowTriggerReference `json:"source,omitempty"` + Source *WorkflowTriggerReference } // SubResource - The sub resource type. type SubResource struct { // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // SwaggerCustomDynamicList - The swagger custom dynamic list. type SwaggerCustomDynamicList struct { // The built in operation. - BuiltInOperation *string `json:"builtInOperation,omitempty"` + BuiltInOperation *string // The path to an item property which defines the display name of the item. - ItemTitlePath *string `json:"itemTitlePath,omitempty"` + ItemTitlePath *string // The path to a property which defines the value which should be used. - ItemValuePath *string `json:"itemValuePath,omitempty"` + ItemValuePath *string // The path to a response property (relative to the response object, not the response body) which contains an array of dynamic // value items. - ItemsPath *string `json:"itemsPath,omitempty"` + ItemsPath *string // The operation id to fetch dynamic schema. - OperationID *string `json:"operationId,omitempty"` + OperationID *string // The parameters. - Parameters map[string]*SwaggerCustomDynamicProperties `json:"parameters,omitempty"` + Parameters map[string]*SwaggerCustomDynamicProperties } // SwaggerCustomDynamicProperties - The swagger custom dynamic properties. type SwaggerCustomDynamicProperties struct { // The operation id to fetch dynamic schema. - OperationID *string `json:"operationId,omitempty"` + OperationID *string // The operation parameters. - Parameters map[string]*SwaggerCustomDynamicProperties `json:"parameters,omitempty"` + Parameters map[string]*SwaggerCustomDynamicProperties // Json pointer to the dynamic schema on the response body. - ValuePath *string `json:"valuePath,omitempty"` + ValuePath *string } // SwaggerCustomDynamicSchema - The swagger custom dynamic schema. type SwaggerCustomDynamicSchema struct { // The operation id to fetch dynamic schema. - OperationID *string `json:"operationId,omitempty"` + OperationID *string // The operation parameters. - Parameters map[string]any `json:"parameters,omitempty"` + Parameters map[string]any // Json pointer to the dynamic schema on the response body. - ValuePath *string `json:"valuePath,omitempty"` + ValuePath *string } // SwaggerCustomDynamicTree - The swagger custom dynamic tree. type SwaggerCustomDynamicTree struct { // The tree on-browse configuration - Browse *SwaggerCustomDynamicTreeCommand `json:"browse,omitempty"` + Browse *SwaggerCustomDynamicTreeCommand // The tree on-open configuration - Open *SwaggerCustomDynamicTreeCommand `json:"open,omitempty"` + Open *SwaggerCustomDynamicTreeCommand // The tree settings - Settings *SwaggerCustomDynamicTreeSettings `json:"settings,omitempty"` + Settings *SwaggerCustomDynamicTreeSettings } // SwaggerCustomDynamicTreeCommand - The swagger tree command. type SwaggerCustomDynamicTreeCommand struct { // The path to an item property which defines the display name of the item. - ItemFullTitlePath *string `json:"itemFullTitlePath,omitempty"` + ItemFullTitlePath *string // The path to an item property which defines the display name of the item. - ItemIsParent *string `json:"itemIsParent,omitempty"` + ItemIsParent *string // The path to an item property which defines the display name of the item. - ItemTitlePath *string `json:"itemTitlePath,omitempty"` + ItemTitlePath *string // The path to an item property which defines the display name of the item. - ItemValuePath *string `json:"itemValuePath,omitempty"` + ItemValuePath *string // The path to an item property which defines the display name of the item. - ItemsPath *string `json:"itemsPath,omitempty"` + ItemsPath *string // The path to an item property which defines the display name of the item. - OperationID *string `json:"operationId,omitempty"` + OperationID *string // Dictionary of - Parameters map[string]*SwaggerCustomDynamicTreeParameter `json:"parameters,omitempty"` + Parameters map[string]*SwaggerCustomDynamicTreeParameter // The path to an item property which defines the display name of the item. - SelectableFilter *string `json:"selectableFilter,omitempty"` + SelectableFilter *string } // SwaggerCustomDynamicTreeParameter - The swagger custom dynamic tree parameter. type SwaggerCustomDynamicTreeParameter struct { // The parameter reference. - ParameterReference *string `json:"parameterReference,omitempty"` + ParameterReference *string // Indicates whether the parameter is required. - Required *bool `json:"required,omitempty"` + Required *bool // Gets or sets a path to a property in the currently selected item to pass as a value to a parameter for the given operation. - SelectedItemValuePath *string `json:"selectedItemValuePath,omitempty"` + SelectedItemValuePath *string // The parameter value. - Value any `json:"value,omitempty"` + Value any } // SwaggerCustomDynamicTreeSettings - The swagger custom dynamic tree settings. type SwaggerCustomDynamicTreeSettings struct { // Indicates whether leaf nodes can be selected. - CanSelectLeafNodes *bool `json:"CanSelectLeafNodes,omitempty"` + CanSelectLeafNodes *bool // Indicates whether parent nodes can be selected. - CanSelectParentNodes *bool `json:"CanSelectParentNodes,omitempty"` + CanSelectParentNodes *bool } // SwaggerExternalDocumentation - The swagger external documentation type SwaggerExternalDocumentation struct { // The document description. - Description *string `json:"description,omitempty"` + Description *string // The vendor extensions. - Extensions map[string]any `json:"extensions,omitempty"` + Extensions map[string]any // The documentation Uri. - URI *string `json:"uri,omitempty"` + URI *string } // SwaggerSchema - The swagger schema. type SwaggerSchema struct { // The additional properties. - AdditionalProperties any `json:"additionalProperties,omitempty"` + AdditionalProperties any // The schemas which must pass validation when this schema is used. - AllOf []*SwaggerSchema `json:"allOf,omitempty"` + AllOf []*SwaggerSchema // The discriminator. - Discriminator *string `json:"discriminator,omitempty"` + Discriminator *string // The dynamic list. - DynamicListNew *SwaggerCustomDynamicList `json:"dynamicListNew,omitempty"` + DynamicListNew *SwaggerCustomDynamicList // The dynamic schema configuration. - DynamicSchemaNew *SwaggerCustomDynamicProperties `json:"dynamicSchemaNew,omitempty"` + DynamicSchemaNew *SwaggerCustomDynamicProperties // The dynamic schema configuration. - DynamicSchemaOld *SwaggerCustomDynamicSchema `json:"dynamicSchemaOld,omitempty"` + DynamicSchemaOld *SwaggerCustomDynamicSchema // The dynamic values tree configuration. - DynamicTree *SwaggerCustomDynamicTree `json:"dynamicTree,omitempty"` + DynamicTree *SwaggerCustomDynamicTree // The example value. - Example any `json:"example,omitempty"` + Example any // The external documentation. - ExternalDocs *SwaggerExternalDocumentation `json:"externalDocs,omitempty"` + ExternalDocs *SwaggerExternalDocumentation // The items schema. - Items *SwaggerSchema `json:"items,omitempty"` + Items *SwaggerSchema // The maximum number of allowed properties. - MaxProperties *int32 `json:"maxProperties,omitempty"` + MaxProperties *int32 // The minimum number of allowed properties. - MinProperties *int32 `json:"minProperties,omitempty"` + MinProperties *int32 // Indicates the notification url extension. If this is set, the property's value should be a callback url for a webhook. - NotificationURLExtension *bool `json:"notificationUrlExtension,omitempty"` + NotificationURLExtension *bool // The object properties - Properties map[string]*SwaggerSchema `json:"properties,omitempty"` + Properties map[string]*SwaggerSchema // Indicates whether this property must be present in the a request. - ReadOnly *bool `json:"readOnly,omitempty"` + ReadOnly *bool // The reference. - Ref *string `json:"ref,omitempty"` + Ref *string // The object required properties. - Required []*string `json:"required,omitempty"` + Required []*string // The title. - Title *string `json:"title,omitempty"` + Title *string // The type - Type *SwaggerSchemaType `json:"type,omitempty"` + Type *SwaggerSchemaType // The xml representation format for a property. - XML *SwaggerXML `json:"xml,omitempty"` + XML *SwaggerXML } // SwaggerXML - The Swagger XML. type SwaggerXML struct { // Indicates whether the property should be an attribute instead of an element. - Attribute *bool `json:"attribute,omitempty"` + Attribute *bool // The vendor extensions. - Extensions map[string]any `json:"extensions,omitempty"` + Extensions map[string]any // The xml element or attribute name. - Name *string `json:"name,omitempty"` + Name *string // The xml namespace. - Namespace *string `json:"namespace,omitempty"` + Namespace *string // The name prefix. - Prefix *string `json:"prefix,omitempty"` + Prefix *string // Indicates whether the array elements are wrapped in a container element. - Wrapped *bool `json:"wrapped,omitempty"` + Wrapped *bool } // TrackingEvent - The tracking event. type TrackingEvent struct { // REQUIRED; The event level. - EventLevel *EventLevel `json:"eventLevel,omitempty"` + EventLevel *EventLevel // REQUIRED; The event time. - EventTime *time.Time `json:"eventTime,omitempty"` + EventTime *time.Time // REQUIRED; The record type. - RecordType *TrackingRecordType `json:"recordType,omitempty"` + RecordType *TrackingRecordType // The error. - Error *TrackingEventErrorInfo `json:"error,omitempty"` + Error *TrackingEventErrorInfo // The record. - Record any `json:"record,omitempty"` + Record any } // TrackingEventErrorInfo - The tracking event error info. type TrackingEventErrorInfo struct { // The code. - Code *string `json:"code,omitempty"` + Code *string // The message. - Message *string `json:"message,omitempty"` + Message *string } // TrackingEventsDefinition - The tracking events definition. type TrackingEventsDefinition struct { // REQUIRED; The events. - Events []*TrackingEvent `json:"events,omitempty"` + Events []*TrackingEvent // REQUIRED; The source type. - SourceType *string `json:"sourceType,omitempty"` + SourceType *string // The track events options. - TrackEventsOptions *TrackEventsOperationOptions `json:"trackEventsOptions,omitempty"` + TrackEventsOptions *TrackEventsOperationOptions } // UserAssignedIdentity - User Assigned identity properties. type UserAssignedIdentity struct { // READ-ONLY; Client Id of user assigned identity - ClientID *string `json:"clientId,omitempty" azure:"ro"` + ClientID *string // READ-ONLY; Principal Id of user assigned identity - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string } // Workflow - The workflow type. type Workflow struct { // Managed service identity properties. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The workflow properties. - Properties *WorkflowProperties `json:"properties,omitempty"` + Properties *WorkflowProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowFilter - The workflow filter. type WorkflowFilter struct { // The state of workflows. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState } // WorkflowListResult - The list of workflows. type WorkflowListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of workflows. - Value []*Workflow `json:"value,omitempty"` + Value []*Workflow } // WorkflowOutputParameter - The workflow output parameter. type WorkflowOutputParameter struct { // The description. - Description *string `json:"description,omitempty"` + Description *string // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // The type. - Type *ParameterType `json:"type,omitempty"` + Type *ParameterType // The value. - Value any `json:"value,omitempty"` + Value any // READ-ONLY; Gets the error. - Error any `json:"error,omitempty" azure:"ro"` + Error any } // WorkflowParameter - The workflow parameters. type WorkflowParameter struct { // The description. - Description *string `json:"description,omitempty"` + Description *string // The metadata. - Metadata any `json:"metadata,omitempty"` + Metadata any // The type. - Type *ParameterType `json:"type,omitempty"` + Type *ParameterType // The value. - Value any `json:"value,omitempty"` + Value any } // WorkflowProperties - The workflow properties. type WorkflowProperties struct { // The access control configuration. - AccessControl *FlowAccessControlConfiguration `json:"accessControl,omitempty"` + AccessControl *FlowAccessControlConfiguration // The definition. - Definition any `json:"definition,omitempty"` + Definition any // The endpoints configuration. - EndpointsConfiguration *FlowEndpointsConfiguration `json:"endpointsConfiguration,omitempty"` + EndpointsConfiguration *FlowEndpointsConfiguration // The integration account. - IntegrationAccount *ResourceReference `json:"integrationAccount,omitempty"` + IntegrationAccount *ResourceReference // The integration service environment. - IntegrationServiceEnvironment *ResourceReference `json:"integrationServiceEnvironment,omitempty"` + IntegrationServiceEnvironment *ResourceReference // The parameters. - Parameters map[string]*WorkflowParameter `json:"parameters,omitempty"` + Parameters map[string]*WorkflowParameter // The state. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState // READ-ONLY; Gets the access endpoint. - AccessEndpoint *string `json:"accessEndpoint,omitempty" azure:"ro"` + AccessEndpoint *string // READ-ONLY; Gets the changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; Gets the created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time // READ-ONLY; Gets the provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *WorkflowProvisioningState // READ-ONLY; The sku. - SKU *SKU `json:"sku,omitempty" azure:"ro"` + SKU *SKU // READ-ONLY; Gets the version. - Version *string `json:"version,omitempty" azure:"ro"` + Version *string } // WorkflowReference - The workflow reference. type WorkflowReference struct { // The resource id. - ID *string `json:"id,omitempty"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowRun - The workflow run. type WorkflowRun struct { // The workflow run properties. - Properties *WorkflowRunProperties `json:"properties,omitempty"` + Properties *WorkflowRunProperties // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the workflow run name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the workflow run type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowRunAction - The workflow run action. type WorkflowRunAction struct { // The workflow run action properties. - Properties *WorkflowRunActionProperties `json:"properties,omitempty"` + Properties *WorkflowRunActionProperties // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the workflow run action name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the workflow run action type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowRunActionFilter - The workflow run action filter. type WorkflowRunActionFilter struct { // The status of workflow run action. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus } // WorkflowRunActionListResult - The list of workflow run actions. type WorkflowRunActionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow run actions. - Value []*WorkflowRunAction `json:"value,omitempty"` + Value []*WorkflowRunAction } // WorkflowRunActionProperties - The workflow run action properties. type WorkflowRunActionProperties struct { // The correlation properties. - Correlation *RunActionCorrelation `json:"correlation,omitempty"` + Correlation *RunActionCorrelation // Gets the retry histories. - RetryHistory []*RetryHistory `json:"retryHistory,omitempty"` + RetryHistory []*RetryHistory // READ-ONLY; Gets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets the end time. - EndTime *time.Time `json:"endTime,omitempty" azure:"ro"` + EndTime *time.Time // READ-ONLY; Gets the error. - Error any `json:"error,omitempty" azure:"ro"` + Error any // READ-ONLY; Gets the link to inputs. - InputsLink *ContentLink `json:"inputsLink,omitempty" azure:"ro"` + InputsLink *ContentLink // READ-ONLY; Gets the link to outputs. - OutputsLink *ContentLink `json:"outputsLink,omitempty" azure:"ro"` + OutputsLink *ContentLink // READ-ONLY; Gets the start time. - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time // READ-ONLY; Gets the status. - Status *WorkflowStatus `json:"status,omitempty" azure:"ro"` + Status *WorkflowStatus // READ-ONLY; Gets the tracked properties. - TrackedProperties any `json:"trackedProperties,omitempty" azure:"ro"` + TrackedProperties any // READ-ONLY; Gets the tracking id. - TrackingID *string `json:"trackingId,omitempty" azure:"ro"` + TrackingID *string } // WorkflowRunActionRepetitionDefinition - The workflow run action repetition definition. type WorkflowRunActionRepetitionDefinition struct { // REQUIRED; The workflow run action repetition properties definition. - Properties *WorkflowRunActionRepetitionProperties `json:"properties,omitempty"` + Properties *WorkflowRunActionRepetitionProperties // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowRunActionRepetitionDefinitionCollection - A collection of workflow run action repetitions. type WorkflowRunActionRepetitionDefinitionCollection struct { // The link used to get the next page of recommendations. - NextLink *string `json:"nextLink,omitempty"` - Value []*WorkflowRunActionRepetitionDefinition `json:"value,omitempty"` + NextLink *string + Value []*WorkflowRunActionRepetitionDefinition } // WorkflowRunActionRepetitionProperties - The workflow run action repetition properties definition. type WorkflowRunActionRepetitionProperties struct { // The workflow scope repetition code. - Code *string `json:"code,omitempty"` + Code *string // The correlation properties. - Correlation *RunActionCorrelation `json:"correlation,omitempty"` + Correlation *RunActionCorrelation // The end time of the workflow scope repetition. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Anything - Error any `json:"error,omitempty"` - IterationCount *int32 `json:"iterationCount,omitempty"` + Error any + IterationCount *int32 // The repetition indexes. - RepetitionIndexes []*RepetitionIndex `json:"repetitionIndexes,omitempty"` + RepetitionIndexes []*RepetitionIndex // Gets the retry histories. - RetryHistory []*RetryHistory `json:"retryHistory,omitempty"` + RetryHistory []*RetryHistory // The start time of the workflow scope repetition. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // The status of the workflow scope repetition. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus // READ-ONLY; Gets the inputs. - Inputs any `json:"inputs,omitempty" azure:"ro"` + Inputs any // READ-ONLY; Gets the link to inputs. - InputsLink *ContentLink `json:"inputsLink,omitempty" azure:"ro"` + InputsLink *ContentLink // READ-ONLY; Gets the outputs. - Outputs any `json:"outputs,omitempty" azure:"ro"` + Outputs any // READ-ONLY; Gets the link to outputs. - OutputsLink *ContentLink `json:"outputsLink,omitempty" azure:"ro"` + OutputsLink *ContentLink // READ-ONLY; Gets the tracked properties. - TrackedProperties any `json:"trackedProperties,omitempty" azure:"ro"` + TrackedProperties any // READ-ONLY; Gets the tracking id. - TrackingID *string `json:"trackingId,omitempty" azure:"ro"` + TrackingID *string } // WorkflowRunActionRepetitionsClientGetOptions contains the optional parameters for the WorkflowRunActionRepetitionsClient.Get @@ -3439,16 +3439,16 @@ type WorkflowRunActionsClientListOptions struct { // WorkflowRunFilter - The workflow run filter. type WorkflowRunFilter struct { // The status of workflow run. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus } // WorkflowRunListResult - The list of workflow runs. type WorkflowRunListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow runs. - Value []*WorkflowRun `json:"value,omitempty"` + Value []*WorkflowRun } // WorkflowRunOperationsClientGetOptions contains the optional parameters for the WorkflowRunOperationsClient.Get method. @@ -3459,85 +3459,85 @@ type WorkflowRunOperationsClientGetOptions struct { // WorkflowRunProperties - The workflow run properties. type WorkflowRunProperties struct { // The run correlation. - Correlation *Correlation `json:"correlation,omitempty"` + Correlation *Correlation // READ-ONLY; Gets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets the correlation id. - CorrelationID *string `json:"correlationId,omitempty" azure:"ro"` + CorrelationID *string // READ-ONLY; Gets the end time. - EndTime *time.Time `json:"endTime,omitempty" azure:"ro"` + EndTime *time.Time // READ-ONLY; Gets the error. - Error any `json:"error,omitempty" azure:"ro"` + Error any // READ-ONLY; Gets the outputs. - Outputs map[string]*WorkflowOutputParameter `json:"outputs,omitempty" azure:"ro"` + Outputs map[string]*WorkflowOutputParameter // READ-ONLY; Gets the response of the flow run. - Response *WorkflowRunTrigger `json:"response,omitempty" azure:"ro"` + Response *WorkflowRunTrigger // READ-ONLY; Gets the start time. - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time // READ-ONLY; Gets the status. - Status *WorkflowStatus `json:"status,omitempty" azure:"ro"` + Status *WorkflowStatus // READ-ONLY; Gets the fired trigger. - Trigger *WorkflowRunTrigger `json:"trigger,omitempty" azure:"ro"` + Trigger *WorkflowRunTrigger // READ-ONLY; Gets the wait end time. - WaitEndTime *time.Time `json:"waitEndTime,omitempty" azure:"ro"` + WaitEndTime *time.Time // READ-ONLY; Gets the reference to workflow version. - Workflow *ResourceReference `json:"workflow,omitempty" azure:"ro"` + Workflow *ResourceReference } // WorkflowRunTrigger - The workflow run trigger. type WorkflowRunTrigger struct { // The run correlation. - Correlation *Correlation `json:"correlation,omitempty"` + Correlation *Correlation // READ-ONLY; Gets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets the end time. - EndTime *time.Time `json:"endTime,omitempty" azure:"ro"` + EndTime *time.Time // READ-ONLY; Gets the error. - Error any `json:"error,omitempty" azure:"ro"` + Error any // READ-ONLY; Gets the inputs. - Inputs any `json:"inputs,omitempty" azure:"ro"` + Inputs any // READ-ONLY; Gets the link to inputs. - InputsLink *ContentLink `json:"inputsLink,omitempty" azure:"ro"` + InputsLink *ContentLink // READ-ONLY; Gets the name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the outputs. - Outputs any `json:"outputs,omitempty" azure:"ro"` + Outputs any // READ-ONLY; Gets the link to outputs. - OutputsLink *ContentLink `json:"outputsLink,omitempty" azure:"ro"` + OutputsLink *ContentLink // READ-ONLY; Gets the scheduled time. - ScheduledTime *time.Time `json:"scheduledTime,omitempty" azure:"ro"` + ScheduledTime *time.Time // READ-ONLY; Gets the start time. - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time // READ-ONLY; Gets the status. - Status *WorkflowStatus `json:"status,omitempty" azure:"ro"` + Status *WorkflowStatus // READ-ONLY; Gets the tracked properties. - TrackedProperties any `json:"trackedProperties,omitempty" azure:"ro"` + TrackedProperties any // READ-ONLY; Gets the tracking id. - TrackingID *string `json:"trackingId,omitempty" azure:"ro"` + TrackingID *string } // WorkflowRunsClientCancelOptions contains the optional parameters for the WorkflowRunsClient.Cancel method. @@ -3561,43 +3561,43 @@ type WorkflowRunsClientListOptions struct { // WorkflowTrigger - The workflow trigger. type WorkflowTrigger struct { // The workflow trigger properties. - Properties *WorkflowTriggerProperties `json:"properties,omitempty"` + Properties *WorkflowTriggerProperties // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the workflow trigger name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the workflow trigger type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowTriggerCallbackURL - The workflow trigger callback URL. type WorkflowTriggerCallbackURL struct { // Gets the workflow trigger callback URL query parameters. - Queries *WorkflowTriggerListCallbackURLQueries `json:"queries,omitempty"` + Queries *WorkflowTriggerListCallbackURLQueries // Gets the workflow trigger callback URL relative path parameters. - RelativePathParameters []*string `json:"relativePathParameters,omitempty"` + RelativePathParameters []*string // READ-ONLY; Gets the workflow trigger callback URL base path. - BasePath *string `json:"basePath,omitempty" azure:"ro"` + BasePath *string // READ-ONLY; Gets the workflow trigger callback URL HTTP method. - Method *string `json:"method,omitempty" azure:"ro"` + Method *string // READ-ONLY; Gets the workflow trigger callback URL relative path. - RelativePath *string `json:"relativePath,omitempty" azure:"ro"` + RelativePath *string // READ-ONLY; Gets the workflow trigger callback URL. - Value *string `json:"value,omitempty" azure:"ro"` + Value *string } // WorkflowTriggerFilter - The workflow trigger filter. type WorkflowTriggerFilter struct { // The state of workflow trigger. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState } // WorkflowTriggerHistoriesClientGetOptions contains the optional parameters for the WorkflowTriggerHistoriesClient.Get method. @@ -3623,166 +3623,166 @@ type WorkflowTriggerHistoriesClientResubmitOptions struct { // WorkflowTriggerHistory - The workflow trigger history. type WorkflowTriggerHistory struct { // Gets the workflow trigger history properties. - Properties *WorkflowTriggerHistoryProperties `json:"properties,omitempty"` + Properties *WorkflowTriggerHistoryProperties // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the workflow trigger history name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the workflow trigger history type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowTriggerHistoryFilter - The workflow trigger history filter. type WorkflowTriggerHistoryFilter struct { // The status of workflow trigger history. - Status *WorkflowStatus `json:"status,omitempty"` + Status *WorkflowStatus } // WorkflowTriggerHistoryListResult - The list of workflow trigger histories. type WorkflowTriggerHistoryListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow trigger histories. - Value []*WorkflowTriggerHistory `json:"value,omitempty"` + Value []*WorkflowTriggerHistory } // WorkflowTriggerHistoryProperties - The workflow trigger history properties. type WorkflowTriggerHistoryProperties struct { // The run correlation. - Correlation *Correlation `json:"correlation,omitempty"` + Correlation *Correlation // READ-ONLY; Gets the code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Gets the end time. - EndTime *time.Time `json:"endTime,omitempty" azure:"ro"` + EndTime *time.Time // READ-ONLY; Gets the error. - Error any `json:"error,omitempty" azure:"ro"` + Error any // READ-ONLY; The value indicating whether trigger was fired. - Fired *bool `json:"fired,omitempty" azure:"ro"` + Fired *bool // READ-ONLY; Gets the link to input parameters. - InputsLink *ContentLink `json:"inputsLink,omitempty" azure:"ro"` + InputsLink *ContentLink // READ-ONLY; Gets the link to output parameters. - OutputsLink *ContentLink `json:"outputsLink,omitempty" azure:"ro"` + OutputsLink *ContentLink // READ-ONLY; Gets the reference to workflow run. - Run *ResourceReference `json:"run,omitempty" azure:"ro"` + Run *ResourceReference // READ-ONLY; The scheduled time. - ScheduledTime *time.Time `json:"scheduledTime,omitempty" azure:"ro"` + ScheduledTime *time.Time // READ-ONLY; Gets the start time. - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time // READ-ONLY; Gets the status. - Status *WorkflowStatus `json:"status,omitempty" azure:"ro"` + Status *WorkflowStatus // READ-ONLY; Gets the tracking id. - TrackingID *string `json:"trackingId,omitempty" azure:"ro"` + TrackingID *string } // WorkflowTriggerListCallbackURLQueries - Gets the workflow trigger callback URL query parameters. type WorkflowTriggerListCallbackURLQueries struct { // The api version. - APIVersion *string `json:"api-version,omitempty"` + APIVersion *string // The SAS timestamp. - Se *string `json:"se,omitempty"` + Se *string // The SAS signature. - Sig *string `json:"sig,omitempty"` + Sig *string // The SAS permissions. - Sp *string `json:"sp,omitempty"` + Sp *string // The SAS version. - Sv *string `json:"sv,omitempty"` + Sv *string } // WorkflowTriggerListResult - The list of workflow triggers. type WorkflowTriggerListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow triggers. - Value []*WorkflowTrigger `json:"value,omitempty"` + Value []*WorkflowTrigger } // WorkflowTriggerProperties - The workflow trigger properties. type WorkflowTriggerProperties struct { // READ-ONLY; Gets the changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; Gets the created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time // READ-ONLY; Gets the last execution time. - LastExecutionTime *time.Time `json:"lastExecutionTime,omitempty" azure:"ro"` + LastExecutionTime *time.Time // READ-ONLY; Gets the next execution time. - NextExecutionTime *time.Time `json:"nextExecutionTime,omitempty" azure:"ro"` + NextExecutionTime *time.Time // READ-ONLY; Gets the provisioning state. - ProvisioningState *WorkflowTriggerProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *WorkflowTriggerProvisioningState // READ-ONLY; Gets the workflow trigger recurrence. - Recurrence *WorkflowTriggerRecurrence `json:"recurrence,omitempty" azure:"ro"` + Recurrence *WorkflowTriggerRecurrence // READ-ONLY; Gets the state. - State *WorkflowState `json:"state,omitempty" azure:"ro"` + State *WorkflowState // READ-ONLY; Gets the status. - Status *WorkflowStatus `json:"status,omitempty" azure:"ro"` + Status *WorkflowStatus // READ-ONLY; Gets the reference to workflow. - Workflow *ResourceReference `json:"workflow,omitempty" azure:"ro"` + Workflow *ResourceReference } // WorkflowTriggerRecurrence - The workflow trigger recurrence. type WorkflowTriggerRecurrence struct { // The end time. - EndTime *string `json:"endTime,omitempty"` + EndTime *string // The frequency. - Frequency *RecurrenceFrequency `json:"frequency,omitempty"` + Frequency *RecurrenceFrequency // The interval. - Interval *int32 `json:"interval,omitempty"` + Interval *int32 // The recurrence schedule. - Schedule *RecurrenceSchedule `json:"schedule,omitempty"` + Schedule *RecurrenceSchedule // The start time. - StartTime *string `json:"startTime,omitempty"` + StartTime *string // The time zone. - TimeZone *string `json:"timeZone,omitempty"` + TimeZone *string } // WorkflowTriggerReference - The workflow trigger reference. type WorkflowTriggerReference struct { // The workflow name. - FlowName *string `json:"flowName,omitempty"` + FlowName *string // The resource id. - ID *string `json:"id,omitempty"` + ID *string // The workflow trigger name. - TriggerName *string `json:"triggerName,omitempty"` + TriggerName *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowTriggersClientGetOptions contains the optional parameters for the WorkflowTriggersClient.Get method. @@ -3828,70 +3828,70 @@ type WorkflowTriggersClientSetStateOptions struct { // WorkflowVersion - The workflow version. type WorkflowVersion struct { // The resource location. - Location *string `json:"location,omitempty"` + Location *string // The workflow version properties. - Properties *WorkflowVersionProperties `json:"properties,omitempty"` + Properties *WorkflowVersionProperties // The resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; The resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Gets the resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Gets the resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WorkflowVersionListResult - The list of workflow versions. type WorkflowVersionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of workflow versions. - Value []*WorkflowVersion `json:"value,omitempty"` + Value []*WorkflowVersion } // WorkflowVersionProperties - The workflow version properties. type WorkflowVersionProperties struct { // The access control configuration. - AccessControl *FlowAccessControlConfiguration `json:"accessControl,omitempty"` + AccessControl *FlowAccessControlConfiguration // The definition. - Definition any `json:"definition,omitempty"` + Definition any // The endpoints configuration. - EndpointsConfiguration *FlowEndpointsConfiguration `json:"endpointsConfiguration,omitempty"` + EndpointsConfiguration *FlowEndpointsConfiguration // The integration account. - IntegrationAccount *ResourceReference `json:"integrationAccount,omitempty"` + IntegrationAccount *ResourceReference // The parameters. - Parameters map[string]*WorkflowParameter `json:"parameters,omitempty"` + Parameters map[string]*WorkflowParameter // The state. - State *WorkflowState `json:"state,omitempty"` + State *WorkflowState // READ-ONLY; Gets the access endpoint. - AccessEndpoint *string `json:"accessEndpoint,omitempty" azure:"ro"` + AccessEndpoint *string // READ-ONLY; Gets the changed time. - ChangedTime *time.Time `json:"changedTime,omitempty" azure:"ro"` + ChangedTime *time.Time // READ-ONLY; Gets the created time. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time // READ-ONLY; The provisioning state. - ProvisioningState *WorkflowProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *WorkflowProvisioningState // READ-ONLY; The sku. - SKU *SKU `json:"sku,omitempty" azure:"ro"` + SKU *SKU // READ-ONLY; Gets the version. - Version *string `json:"version,omitempty" azure:"ro"` + Version *string } // WorkflowVersionTriggersClientListCallbackURLOptions contains the optional parameters for the WorkflowVersionTriggersClient.ListCallbackURL @@ -4002,398 +4002,398 @@ type WorkflowsClientValidateByResourceGroupOptions struct { // WsdlService - The WSDL service. type WsdlService struct { // The list of endpoints' qualified names. - EndpointQualifiedNames []*string `json:"EndpointQualifiedNames,omitempty"` + EndpointQualifiedNames []*string // The qualified name. - QualifiedName *string `json:"qualifiedName,omitempty"` + QualifiedName *string } // X12AcknowledgementSettings - The X12 agreement acknowledgement settings. type X12AcknowledgementSettings struct { // REQUIRED; The acknowledgement control number lower bound. - AcknowledgementControlNumberLowerBound *int32 `json:"acknowledgementControlNumberLowerBound,omitempty"` + AcknowledgementControlNumberLowerBound *int32 // REQUIRED; The acknowledgement control number upper bound. - AcknowledgementControlNumberUpperBound *int32 `json:"acknowledgementControlNumberUpperBound,omitempty"` + AcknowledgementControlNumberUpperBound *int32 // REQUIRED; The value indicating whether to batch functional acknowledgements. - BatchFunctionalAcknowledgements *bool `json:"batchFunctionalAcknowledgements,omitempty"` + BatchFunctionalAcknowledgements *bool // REQUIRED; The value indicating whether to batch implementation acknowledgements. - BatchImplementationAcknowledgements *bool `json:"batchImplementationAcknowledgements,omitempty"` + BatchImplementationAcknowledgements *bool // REQUIRED; The value indicating whether to batch the technical acknowledgements. - BatchTechnicalAcknowledgements *bool `json:"batchTechnicalAcknowledgements,omitempty"` + BatchTechnicalAcknowledgements *bool // REQUIRED; The value indicating whether functional acknowledgement is needed. - NeedFunctionalAcknowledgement *bool `json:"needFunctionalAcknowledgement,omitempty"` + NeedFunctionalAcknowledgement *bool // REQUIRED; The value indicating whether implementation acknowledgement is needed. - NeedImplementationAcknowledgement *bool `json:"needImplementationAcknowledgement,omitempty"` + NeedImplementationAcknowledgement *bool // REQUIRED; The value indicating whether a loop is needed for valid messages. - NeedLoopForValidMessages *bool `json:"needLoopForValidMessages,omitempty"` + NeedLoopForValidMessages *bool // REQUIRED; The value indicating whether technical acknowledgement is needed. - NeedTechnicalAcknowledgement *bool `json:"needTechnicalAcknowledgement,omitempty"` + NeedTechnicalAcknowledgement *bool // REQUIRED; The value indicating whether to rollover acknowledgement control number. - RolloverAcknowledgementControlNumber *bool `json:"rolloverAcknowledgementControlNumber,omitempty"` + RolloverAcknowledgementControlNumber *bool // REQUIRED; The value indicating whether to send synchronous acknowledgement. - SendSynchronousAcknowledgement *bool `json:"sendSynchronousAcknowledgement,omitempty"` + SendSynchronousAcknowledgement *bool // The acknowledgement control number prefix. - AcknowledgementControlNumberPrefix *string `json:"acknowledgementControlNumberPrefix,omitempty"` + AcknowledgementControlNumberPrefix *string // The acknowledgement control number suffix. - AcknowledgementControlNumberSuffix *string `json:"acknowledgementControlNumberSuffix,omitempty"` + AcknowledgementControlNumberSuffix *string // The functional acknowledgement version. - FunctionalAcknowledgementVersion *string `json:"functionalAcknowledgementVersion,omitempty"` + FunctionalAcknowledgementVersion *string // The implementation acknowledgement version. - ImplementationAcknowledgementVersion *string `json:"implementationAcknowledgementVersion,omitempty"` + ImplementationAcknowledgementVersion *string } // X12AgreementContent - The X12 agreement content. type X12AgreementContent struct { // REQUIRED; The X12 one-way receive agreement. - ReceiveAgreement *X12OneWayAgreement `json:"receiveAgreement,omitempty"` + ReceiveAgreement *X12OneWayAgreement // REQUIRED; The X12 one-way send agreement. - SendAgreement *X12OneWayAgreement `json:"sendAgreement,omitempty"` + SendAgreement *X12OneWayAgreement } // X12DelimiterOverrides - The X12 delimiter override settings. type X12DelimiterOverrides struct { // REQUIRED; The component separator. - ComponentSeparator *int32 `json:"componentSeparator,omitempty"` + ComponentSeparator *int32 // REQUIRED; The data element separator. - DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"` + DataElementSeparator *int32 // REQUIRED; The replacement character. - ReplaceCharacter *int32 `json:"replaceCharacter,omitempty"` + ReplaceCharacter *int32 // REQUIRED; The value indicating whether to replace separators in payload. - ReplaceSeparatorsInPayload *bool `json:"replaceSeparatorsInPayload,omitempty"` + ReplaceSeparatorsInPayload *bool // REQUIRED; The segment terminator. - SegmentTerminator *int32 `json:"segmentTerminator,omitempty"` + SegmentTerminator *int32 // REQUIRED; The segment terminator suffix. - SegmentTerminatorSuffix *SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"` + SegmentTerminatorSuffix *SegmentTerminatorSuffix // The message id. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // The protocol version. - ProtocolVersion *string `json:"protocolVersion,omitempty"` + ProtocolVersion *string // The target namespace on which this delimiter settings has to be applied. - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string } // X12EnvelopeOverride - The X12 envelope override settings. type X12EnvelopeOverride struct { // REQUIRED; The date format. - DateFormat *X12DateFormat `json:"dateFormat,omitempty"` + DateFormat *X12DateFormat // REQUIRED; The header version. - HeaderVersion *string `json:"headerVersion,omitempty"` + HeaderVersion *string // REQUIRED; The message id on which this envelope settings has to be applied. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // REQUIRED; The protocol version on which this envelope settings has to be applied. - ProtocolVersion *string `json:"protocolVersion,omitempty"` + ProtocolVersion *string // REQUIRED; The receiver application id. - ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"` + ReceiverApplicationID *string // REQUIRED; The responsible agency code. - ResponsibleAgencyCode *string `json:"responsibleAgencyCode,omitempty"` + ResponsibleAgencyCode *string // REQUIRED; The sender application id. - SenderApplicationID *string `json:"senderApplicationId,omitempty"` + SenderApplicationID *string // REQUIRED; The target namespace on which this envelope settings has to be applied. - TargetNamespace *string `json:"targetNamespace,omitempty"` + TargetNamespace *string // REQUIRED; The time format. - TimeFormat *X12TimeFormat `json:"timeFormat,omitempty"` + TimeFormat *X12TimeFormat // The functional identifier code. - FunctionalIdentifierCode *string `json:"functionalIdentifierCode,omitempty"` + FunctionalIdentifierCode *string } // X12EnvelopeSettings - The X12 agreement envelope settings. type X12EnvelopeSettings struct { // REQUIRED; The controls standards id. - ControlStandardsID *int32 `json:"controlStandardsId,omitempty"` + ControlStandardsID *int32 // REQUIRED; The control version number. - ControlVersionNumber *string `json:"controlVersionNumber,omitempty"` + ControlVersionNumber *string // REQUIRED; The value indicating whether to enable default group headers. - EnableDefaultGroupHeaders *bool `json:"enableDefaultGroupHeaders,omitempty"` + EnableDefaultGroupHeaders *bool // REQUIRED; The group control number lower bound. - GroupControlNumberLowerBound *int32 `json:"groupControlNumberLowerBound,omitempty"` + GroupControlNumberLowerBound *int32 // REQUIRED; The group control number upper bound. - GroupControlNumberUpperBound *int32 `json:"groupControlNumberUpperBound,omitempty"` + GroupControlNumberUpperBound *int32 // REQUIRED; The group header agency code. - GroupHeaderAgencyCode *string `json:"groupHeaderAgencyCode,omitempty"` + GroupHeaderAgencyCode *string // REQUIRED; The group header date format. - GroupHeaderDateFormat *X12DateFormat `json:"groupHeaderDateFormat,omitempty"` + GroupHeaderDateFormat *X12DateFormat // REQUIRED; The group header time format. - GroupHeaderTimeFormat *X12TimeFormat `json:"groupHeaderTimeFormat,omitempty"` + GroupHeaderTimeFormat *X12TimeFormat // REQUIRED; The group header version. - GroupHeaderVersion *string `json:"groupHeaderVersion,omitempty"` + GroupHeaderVersion *string // REQUIRED; The interchange control number lower bound. - InterchangeControlNumberLowerBound *int32 `json:"interchangeControlNumberLowerBound,omitempty"` + InterchangeControlNumberLowerBound *int32 // REQUIRED; The interchange control number upper bound. - InterchangeControlNumberUpperBound *int32 `json:"interchangeControlNumberUpperBound,omitempty"` + InterchangeControlNumberUpperBound *int32 // REQUIRED; The value indicating whether to overwrite existing transaction set control number. - OverwriteExistingTransactionSetControlNumber *bool `json:"overwriteExistingTransactionSetControlNumber,omitempty"` + OverwriteExistingTransactionSetControlNumber *bool // REQUIRED; The receiver application id. - ReceiverApplicationID *string `json:"receiverApplicationId,omitempty"` + ReceiverApplicationID *string // REQUIRED; The value indicating whether to rollover group control number. - RolloverGroupControlNumber *bool `json:"rolloverGroupControlNumber,omitempty"` + RolloverGroupControlNumber *bool // REQUIRED; The value indicating whether to rollover interchange control number. - RolloverInterchangeControlNumber *bool `json:"rolloverInterchangeControlNumber,omitempty"` + RolloverInterchangeControlNumber *bool // REQUIRED; The value indicating whether to rollover transaction set control number. - RolloverTransactionSetControlNumber *bool `json:"rolloverTransactionSetControlNumber,omitempty"` + RolloverTransactionSetControlNumber *bool // REQUIRED; The sender application id. - SenderApplicationID *string `json:"senderApplicationId,omitempty"` + SenderApplicationID *string // REQUIRED; The transaction set control number lower bound. - TransactionSetControlNumberLowerBound *int32 `json:"transactionSetControlNumberLowerBound,omitempty"` + TransactionSetControlNumberLowerBound *int32 // REQUIRED; The transaction set control number upper bound. - TransactionSetControlNumberUpperBound *int32 `json:"transactionSetControlNumberUpperBound,omitempty"` + TransactionSetControlNumberUpperBound *int32 // REQUIRED; The usage indicator. - UsageIndicator *UsageIndicator `json:"usageIndicator,omitempty"` + UsageIndicator *UsageIndicator // REQUIRED; The value indicating whether to use control standards id as repetition character. - UseControlStandardsIDAsRepetitionCharacter *bool `json:"useControlStandardsIdAsRepetitionCharacter,omitempty"` + UseControlStandardsIDAsRepetitionCharacter *bool // The functional group id. - FunctionalGroupID *string `json:"functionalGroupId,omitempty"` + FunctionalGroupID *string // The transaction set control number prefix. - TransactionSetControlNumberPrefix *string `json:"transactionSetControlNumberPrefix,omitempty"` + TransactionSetControlNumberPrefix *string // The transaction set control number suffix. - TransactionSetControlNumberSuffix *string `json:"transactionSetControlNumberSuffix,omitempty"` + TransactionSetControlNumberSuffix *string } // X12FramingSettings - The X12 agreement framing settings. type X12FramingSettings struct { // REQUIRED; The X12 character set. - CharacterSet *X12CharacterSet `json:"characterSet,omitempty"` + CharacterSet *X12CharacterSet // REQUIRED; The component separator. - ComponentSeparator *int32 `json:"componentSeparator,omitempty"` + ComponentSeparator *int32 // REQUIRED; The data element separator. - DataElementSeparator *int32 `json:"dataElementSeparator,omitempty"` + DataElementSeparator *int32 // REQUIRED; The replacement character. - ReplaceCharacter *int32 `json:"replaceCharacter,omitempty"` + ReplaceCharacter *int32 // REQUIRED; The value indicating whether to replace separators in payload. - ReplaceSeparatorsInPayload *bool `json:"replaceSeparatorsInPayload,omitempty"` + ReplaceSeparatorsInPayload *bool // REQUIRED; The segment terminator. - SegmentTerminator *int32 `json:"segmentTerminator,omitempty"` + SegmentTerminator *int32 // REQUIRED; The segment terminator suffix. - SegmentTerminatorSuffix *SegmentTerminatorSuffix `json:"segmentTerminatorSuffix,omitempty"` + SegmentTerminatorSuffix *SegmentTerminatorSuffix } // X12MessageFilter - The X12 message filter for odata query. type X12MessageFilter struct { // REQUIRED; The message filter type. - MessageFilterType *MessageFilterType `json:"messageFilterType,omitempty"` + MessageFilterType *MessageFilterType } // X12MessageIdentifier - The X12 message identifier. type X12MessageIdentifier struct { // REQUIRED; The message id. - MessageID *string `json:"messageId,omitempty"` + MessageID *string } // X12OneWayAgreement - The X12 one-way agreement. type X12OneWayAgreement struct { // REQUIRED; The X12 protocol settings. - ProtocolSettings *X12ProtocolSettings `json:"protocolSettings,omitempty"` + ProtocolSettings *X12ProtocolSettings // REQUIRED; The receiver business identity - ReceiverBusinessIdentity *BusinessIdentity `json:"receiverBusinessIdentity,omitempty"` + ReceiverBusinessIdentity *BusinessIdentity // REQUIRED; The sender business identity - SenderBusinessIdentity *BusinessIdentity `json:"senderBusinessIdentity,omitempty"` + SenderBusinessIdentity *BusinessIdentity } // X12ProcessingSettings - The X12 processing settings. type X12ProcessingSettings struct { // REQUIRED; The value indicating whether to convert numerical type to implied decimal. - ConvertImpliedDecimal *bool `json:"convertImpliedDecimal,omitempty"` + ConvertImpliedDecimal *bool // REQUIRED; The value indicating whether to create empty xml tags for trailing separators. - CreateEmptyXMLTagsForTrailingSeparators *bool `json:"createEmptyXmlTagsForTrailingSeparators,omitempty"` + CreateEmptyXMLTagsForTrailingSeparators *bool // REQUIRED; The value indicating whether to mask security information. - MaskSecurityInfo *bool `json:"maskSecurityInfo,omitempty"` + MaskSecurityInfo *bool // REQUIRED; The value indicating whether to preserve interchange. - PreserveInterchange *bool `json:"preserveInterchange,omitempty"` + PreserveInterchange *bool // REQUIRED; The value indicating whether to suspend interchange on error. - SuspendInterchangeOnError *bool `json:"suspendInterchangeOnError,omitempty"` + SuspendInterchangeOnError *bool // REQUIRED; The value indicating whether to use dot as decimal separator. - UseDotAsDecimalSeparator *bool `json:"useDotAsDecimalSeparator,omitempty"` + UseDotAsDecimalSeparator *bool } // X12ProtocolSettings - The X12 agreement protocol settings. type X12ProtocolSettings struct { // REQUIRED; The X12 acknowledgment settings. - AcknowledgementSettings *X12AcknowledgementSettings `json:"acknowledgementSettings,omitempty"` + AcknowledgementSettings *X12AcknowledgementSettings // REQUIRED; The X12 envelope settings. - EnvelopeSettings *X12EnvelopeSettings `json:"envelopeSettings,omitempty"` + EnvelopeSettings *X12EnvelopeSettings // REQUIRED; The X12 framing settings. - FramingSettings *X12FramingSettings `json:"framingSettings,omitempty"` + FramingSettings *X12FramingSettings // REQUIRED; The X12 message filter. - MessageFilter *X12MessageFilter `json:"messageFilter,omitempty"` + MessageFilter *X12MessageFilter // REQUIRED; The X12 processing settings. - ProcessingSettings *X12ProcessingSettings `json:"processingSettings,omitempty"` + ProcessingSettings *X12ProcessingSettings // REQUIRED; The X12 schema references. - SchemaReferences []*X12SchemaReference `json:"schemaReferences,omitempty"` + SchemaReferences []*X12SchemaReference // REQUIRED; The X12 security settings. - SecuritySettings *X12SecuritySettings `json:"securitySettings,omitempty"` + SecuritySettings *X12SecuritySettings // REQUIRED; The X12 validation settings. - ValidationSettings *X12ValidationSettings `json:"validationSettings,omitempty"` + ValidationSettings *X12ValidationSettings // The X12 envelope override settings. - EnvelopeOverrides []*X12EnvelopeOverride `json:"envelopeOverrides,omitempty"` + EnvelopeOverrides []*X12EnvelopeOverride // The X12 message filter list. - MessageFilterList []*X12MessageIdentifier `json:"messageFilterList,omitempty"` + MessageFilterList []*X12MessageIdentifier // The X12 validation override settings. - ValidationOverrides []*X12ValidationOverride `json:"validationOverrides,omitempty"` + ValidationOverrides []*X12ValidationOverride // The X12 delimiter override settings. - X12DelimiterOverrides []*X12DelimiterOverrides `json:"x12DelimiterOverrides,omitempty"` + X12DelimiterOverrides []*X12DelimiterOverrides } // X12SchemaReference - The X12 schema reference. type X12SchemaReference struct { // REQUIRED; The message id. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // REQUIRED; The schema name. - SchemaName *string `json:"schemaName,omitempty"` + SchemaName *string // REQUIRED; The schema version. - SchemaVersion *string `json:"schemaVersion,omitempty"` + SchemaVersion *string // The sender application id. - SenderApplicationID *string `json:"senderApplicationId,omitempty"` + SenderApplicationID *string } // X12SecuritySettings - The X12 agreement security settings. type X12SecuritySettings struct { // REQUIRED; The authorization qualifier. - AuthorizationQualifier *string `json:"authorizationQualifier,omitempty"` + AuthorizationQualifier *string // REQUIRED; The security qualifier. - SecurityQualifier *string `json:"securityQualifier,omitempty"` + SecurityQualifier *string // The authorization value. - AuthorizationValue *string `json:"authorizationValue,omitempty"` + AuthorizationValue *string // The password value. - PasswordValue *string `json:"passwordValue,omitempty"` + PasswordValue *string } // X12ValidationOverride - The X12 validation override settings. type X12ValidationOverride struct { // REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes. - AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"` + AllowLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The message id on which the validation settings has to be applied. - MessageID *string `json:"messageId,omitempty"` + MessageID *string // REQUIRED; The trailing separator policy. - TrailingSeparatorPolicy *TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"` + TrailingSeparatorPolicy *TrailingSeparatorPolicy // REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes. - TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"` + TrimLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to validate character Set. - ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"` + ValidateCharacterSet *bool // REQUIRED; The value indicating whether to validate EDI types. - ValidateEDITypes *bool `json:"validateEDITypes,omitempty"` + ValidateEDITypes *bool // REQUIRED; The value indicating whether to validate XSD types. - ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"` + ValidateXSDTypes *bool } // X12ValidationSettings - The X12 agreement validation settings. type X12ValidationSettings struct { // REQUIRED; The value indicating whether to allow leading and trailing spaces and zeroes. - AllowLeadingAndTrailingSpacesAndZeroes *bool `json:"allowLeadingAndTrailingSpacesAndZeroes,omitempty"` + AllowLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to check for duplicate group control number. - CheckDuplicateGroupControlNumber *bool `json:"checkDuplicateGroupControlNumber,omitempty"` + CheckDuplicateGroupControlNumber *bool // REQUIRED; The value indicating whether to check for duplicate interchange control number. - CheckDuplicateInterchangeControlNumber *bool `json:"checkDuplicateInterchangeControlNumber,omitempty"` + CheckDuplicateInterchangeControlNumber *bool // REQUIRED; The value indicating whether to check for duplicate transaction set control number. - CheckDuplicateTransactionSetControlNumber *bool `json:"checkDuplicateTransactionSetControlNumber,omitempty"` + CheckDuplicateTransactionSetControlNumber *bool // REQUIRED; The validity period of interchange control number. - InterchangeControlNumberValidityDays *int32 `json:"interchangeControlNumberValidityDays,omitempty"` + InterchangeControlNumberValidityDays *int32 // REQUIRED; The trailing separator policy. - TrailingSeparatorPolicy *TrailingSeparatorPolicy `json:"trailingSeparatorPolicy,omitempty"` + TrailingSeparatorPolicy *TrailingSeparatorPolicy // REQUIRED; The value indicating whether to trim leading and trailing spaces and zeroes. - TrimLeadingAndTrailingSpacesAndZeroes *bool `json:"trimLeadingAndTrailingSpacesAndZeroes,omitempty"` + TrimLeadingAndTrailingSpacesAndZeroes *bool // REQUIRED; The value indicating whether to validate character set in the message. - ValidateCharacterSet *bool `json:"validateCharacterSet,omitempty"` + ValidateCharacterSet *bool // REQUIRED; The value indicating whether to Whether to validate EDI types. - ValidateEDITypes *bool `json:"validateEDITypes,omitempty"` + ValidateEDITypes *bool // REQUIRED; The value indicating whether to Whether to validate XSD types. - ValidateXSDTypes *bool `json:"validateXSDTypes,omitempty"` + ValidateXSDTypes *bool } diff --git a/sdk/resourcemanager/logic/armlogic/models_serde.go b/sdk/resourcemanager/logic/armlogic/models_serde.go index c006d1bea78b..b459c0380fd7 100644 --- a/sdk/resourcemanager/logic/armlogic/models_serde.go +++ b/sdk/resourcemanager/logic/armlogic/models_serde.go @@ -285,7 +285,7 @@ func (a APIReference) MarshalJSON() ([]byte, error) { populate(objectMap, "iconUri", a.IconURI) populate(objectMap, "integrationServiceEnvironment", a.IntegrationServiceEnvironment) populate(objectMap, "name", a.Name) - populate(objectMap, "swagger", &a.Swagger) + populateAny(objectMap, "swagger", a.Swagger) populate(objectMap, "type", a.Type) return json.Marshal(objectMap) } @@ -1104,11 +1104,11 @@ func (a *AgreementContent) UnmarshalJSON(data []byte) error { func (a ArtifactContentPropertiesDefinition) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populateTimeRFC3339(objectMap, "changedTime", a.ChangedTime) - populate(objectMap, "content", &a.Content) + populateAny(objectMap, "content", a.Content) populate(objectMap, "contentLink", a.ContentLink) populate(objectMap, "contentType", a.ContentType) populateTimeRFC3339(objectMap, "createdTime", a.CreatedTime) - populate(objectMap, "metadata", &a.Metadata) + populateAny(objectMap, "metadata", a.Metadata) return json.Marshal(objectMap) } @@ -1152,7 +1152,7 @@ func (a ArtifactProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populateTimeRFC3339(objectMap, "changedTime", a.ChangedTime) populateTimeRFC3339(objectMap, "createdTime", a.CreatedTime) - populate(objectMap, "metadata", &a.Metadata) + populateAny(objectMap, "metadata", a.Metadata) return json.Marshal(objectMap) } @@ -1264,11 +1264,11 @@ func (a AssemblyProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "assemblyPublicKeyToken", a.AssemblyPublicKeyToken) populate(objectMap, "assemblyVersion", a.AssemblyVersion) populateTimeRFC3339(objectMap, "changedTime", a.ChangedTime) - populate(objectMap, "content", &a.Content) + populateAny(objectMap, "content", a.Content) populate(objectMap, "contentLink", a.ContentLink) populate(objectMap, "contentType", a.ContentType) populateTimeRFC3339(objectMap, "createdTime", a.CreatedTime) - populate(objectMap, "metadata", &a.Metadata) + populateAny(objectMap, "metadata", a.Metadata) return json.Marshal(objectMap) } @@ -1461,7 +1461,7 @@ func (b BatchConfigurationProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "batchGroupName", b.BatchGroupName) populateTimeRFC3339(objectMap, "changedTime", b.ChangedTime) populateTimeRFC3339(objectMap, "createdTime", b.CreatedTime) - populate(objectMap, "metadata", &b.Metadata) + populateAny(objectMap, "metadata", b.Metadata) populate(objectMap, "releaseCriteria", b.ReleaseCriteria) return json.Marshal(objectMap) } @@ -1628,7 +1628,7 @@ func (c ContentLink) MarshalJSON() ([]byte, error) { populate(objectMap, "contentHash", c.ContentHash) populate(objectMap, "contentSize", c.ContentSize) populate(objectMap, "contentVersion", c.ContentVersion) - populate(objectMap, "metadata", &c.Metadata) + populateAny(objectMap, "metadata", c.Metadata) populate(objectMap, "uri", c.URI) return json.Marshal(objectMap) } @@ -2653,7 +2653,7 @@ func (e Expression) MarshalJSON() ([]byte, error) { populate(objectMap, "error", e.Error) populate(objectMap, "subexpressions", e.Subexpressions) populate(objectMap, "text", e.Text) - populate(objectMap, "value", &e.Value) + populateAny(objectMap, "value", e.Value) return json.Marshal(objectMap) } @@ -2693,7 +2693,7 @@ func (e ExpressionRoot) MarshalJSON() ([]byte, error) { populate(objectMap, "path", e.Path) populate(objectMap, "subexpressions", e.Subexpressions) populate(objectMap, "text", e.Text) - populate(objectMap, "value", &e.Value) + populateAny(objectMap, "value", e.Value) return json.Marshal(objectMap) } @@ -2761,7 +2761,7 @@ func (e ExtendedErrorInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "code", e.Code) populate(objectMap, "details", e.Details) - populate(objectMap, "innerError", &e.InnerError) + populateAny(objectMap, "innerError", e.InnerError) populate(objectMap, "message", e.Message) return json.Marshal(objectMap) } @@ -3206,7 +3206,7 @@ func (i IntegrationAccountAgreementProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "guestPartner", i.GuestPartner) populate(objectMap, "hostIdentity", i.HostIdentity) populate(objectMap, "hostPartner", i.HostPartner) - populate(objectMap, "metadata", &i.Metadata) + populateAny(objectMap, "metadata", i.Metadata) return json.Marshal(objectMap) } @@ -3338,7 +3338,7 @@ func (i IntegrationAccountCertificateProperties) MarshalJSON() ([]byte, error) { populateTimeRFC3339(objectMap, "changedTime", i.ChangedTime) populateTimeRFC3339(objectMap, "createdTime", i.CreatedTime) populate(objectMap, "key", i.Key) - populate(objectMap, "metadata", &i.Metadata) + populateAny(objectMap, "metadata", i.Metadata) populate(objectMap, "publicCertificate", i.PublicCertificate) return json.Marshal(objectMap) } @@ -3520,7 +3520,7 @@ func (i IntegrationAccountMapProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "contentType", i.ContentType) populateTimeRFC3339(objectMap, "createdTime", i.CreatedTime) populate(objectMap, "mapType", i.MapType) - populate(objectMap, "metadata", &i.Metadata) + populateAny(objectMap, "metadata", i.Metadata) populate(objectMap, "parametersSchema", i.ParametersSchema) return json.Marshal(objectMap) } @@ -3704,7 +3704,7 @@ func (i IntegrationAccountPartnerProperties) MarshalJSON() ([]byte, error) { populateTimeRFC3339(objectMap, "changedTime", i.ChangedTime) populate(objectMap, "content", i.Content) populateTimeRFC3339(objectMap, "createdTime", i.CreatedTime) - populate(objectMap, "metadata", &i.Metadata) + populateAny(objectMap, "metadata", i.Metadata) populate(objectMap, "partnerType", i.PartnerType) return json.Marshal(objectMap) } @@ -3914,7 +3914,7 @@ func (i IntegrationAccountSchemaProperties) MarshalJSON() ([]byte, error) { populateTimeRFC3339(objectMap, "createdTime", i.CreatedTime) populate(objectMap, "documentName", i.DocumentName) populate(objectMap, "fileName", i.FileName) - populate(objectMap, "metadata", &i.Metadata) + populateAny(objectMap, "metadata", i.Metadata) populate(objectMap, "schemaType", i.SchemaType) populate(objectMap, "targetNamespace", i.TargetNamespace) return json.Marshal(objectMap) @@ -4076,7 +4076,7 @@ func (i *IntegrationAccountSessionListResult) UnmarshalJSON(data []byte) error { func (i IntegrationAccountSessionProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populateTimeRFC3339(objectMap, "changedTime", i.ChangedTime) - populate(objectMap, "content", &i.Content) + populateAny(objectMap, "content", i.Content) populateTimeRFC3339(objectMap, "createdTime", i.CreatedTime) return json.Marshal(objectMap) } @@ -5327,7 +5327,7 @@ func (o Operation) MarshalJSON() ([]byte, error) { populate(objectMap, "display", o.Display) populate(objectMap, "name", o.Name) populate(objectMap, "origin", o.Origin) - populate(objectMap, "properties", &o.Properties) + populateAny(objectMap, "properties", o.Properties) return json.Marshal(objectMap) } @@ -5436,16 +5436,16 @@ func (o OperationResult) MarshalJSON() ([]byte, error) { populate(objectMap, "code", o.Code) populate(objectMap, "correlation", o.Correlation) populateTimeRFC3339(objectMap, "endTime", o.EndTime) - populate(objectMap, "error", &o.Error) - populate(objectMap, "inputs", &o.Inputs) + populateAny(objectMap, "error", o.Error) + populateAny(objectMap, "inputs", o.Inputs) populate(objectMap, "inputsLink", o.InputsLink) populate(objectMap, "iterationCount", o.IterationCount) - populate(objectMap, "outputs", &o.Outputs) + populateAny(objectMap, "outputs", o.Outputs) populate(objectMap, "outputsLink", o.OutputsLink) populate(objectMap, "retryHistory", o.RetryHistory) populateTimeRFC3339(objectMap, "startTime", o.StartTime) populate(objectMap, "status", o.Status) - populate(objectMap, "trackedProperties", &o.TrackedProperties) + populateAny(objectMap, "trackedProperties", o.TrackedProperties) populate(objectMap, "trackingId", o.TrackingID) return json.Marshal(objectMap) } @@ -5515,7 +5515,7 @@ func (o OperationResultProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "code", o.Code) populate(objectMap, "correlation", o.Correlation) populateTimeRFC3339(objectMap, "endTime", o.EndTime) - populate(objectMap, "error", &o.Error) + populateAny(objectMap, "error", o.Error) populateTimeRFC3339(objectMap, "startTime", o.StartTime) populate(objectMap, "status", o.Status) return json.Marshal(objectMap) @@ -5718,7 +5718,7 @@ func (r *RepetitionIndex) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type Request. func (r Request) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "headers", &r.Headers) + populateAny(objectMap, "headers", r.Headers) populate(objectMap, "method", r.Method) populate(objectMap, "uri", r.URI) return json.Marshal(objectMap) @@ -5949,7 +5949,7 @@ func (r *ResourceReference) UnmarshalJSON(data []byte) error { func (r Response) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "bodyLink", r.BodyLink) - populate(objectMap, "headers", &r.Headers) + populateAny(objectMap, "headers", r.Headers) populate(objectMap, "statusCode", r.StatusCode) return json.Marshal(objectMap) } @@ -6391,7 +6391,7 @@ func (s SwaggerCustomDynamicTreeParameter) MarshalJSON() ([]byte, error) { populate(objectMap, "parameterReference", s.ParameterReference) populate(objectMap, "required", s.Required) populate(objectMap, "selectedItemValuePath", s.SelectedItemValuePath) - populate(objectMap, "value", &s.Value) + populateAny(objectMap, "value", s.Value) return json.Marshal(objectMap) } @@ -6493,14 +6493,14 @@ func (s *SwaggerExternalDocumentation) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type SwaggerSchema. func (s SwaggerSchema) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "additionalProperties", &s.AdditionalProperties) + populateAny(objectMap, "additionalProperties", s.AdditionalProperties) populate(objectMap, "allOf", s.AllOf) populate(objectMap, "discriminator", s.Discriminator) populate(objectMap, "dynamicListNew", s.DynamicListNew) populate(objectMap, "dynamicSchemaNew", s.DynamicSchemaNew) populate(objectMap, "dynamicSchemaOld", s.DynamicSchemaOld) populate(objectMap, "dynamicTree", s.DynamicTree) - populate(objectMap, "example", &s.Example) + populateAny(objectMap, "example", s.Example) populate(objectMap, "externalDocs", s.ExternalDocs) populate(objectMap, "items", s.Items) populate(objectMap, "maxProperties", s.MaxProperties) @@ -6646,7 +6646,7 @@ func (t TrackingEvent) MarshalJSON() ([]byte, error) { populate(objectMap, "error", t.Error) populate(objectMap, "eventLevel", t.EventLevel) populateTimeRFC3339(objectMap, "eventTime", t.EventTime) - populate(objectMap, "record", &t.Record) + populateAny(objectMap, "record", t.Record) populate(objectMap, "recordType", t.RecordType) return json.Marshal(objectMap) } @@ -6893,10 +6893,10 @@ func (w *WorkflowListResult) UnmarshalJSON(data []byte) error { func (w WorkflowOutputParameter) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "description", w.Description) - populate(objectMap, "error", &w.Error) - populate(objectMap, "metadata", &w.Metadata) + populateAny(objectMap, "error", w.Error) + populateAny(objectMap, "metadata", w.Metadata) populate(objectMap, "type", w.Type) - populate(objectMap, "value", &w.Value) + populateAny(objectMap, "value", w.Value) return json.Marshal(objectMap) } @@ -6936,9 +6936,9 @@ func (w *WorkflowOutputParameter) UnmarshalJSON(data []byte) error { func (w WorkflowParameter) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "description", w.Description) - populate(objectMap, "metadata", &w.Metadata) + populateAny(objectMap, "metadata", w.Metadata) populate(objectMap, "type", w.Type) - populate(objectMap, "value", &w.Value) + populateAny(objectMap, "value", w.Value) return json.Marshal(objectMap) } @@ -6978,7 +6978,7 @@ func (w WorkflowProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "accessEndpoint", w.AccessEndpoint) populateTimeRFC3339(objectMap, "changedTime", w.ChangedTime) populateTimeRFC3339(objectMap, "createdTime", w.CreatedTime) - populate(objectMap, "definition", &w.Definition) + populateAny(objectMap, "definition", w.Definition) populate(objectMap, "endpointsConfiguration", w.EndpointsConfiguration) populate(objectMap, "integrationAccount", w.IntegrationAccount) populate(objectMap, "integrationServiceEnvironment", w.IntegrationServiceEnvironment) @@ -7223,13 +7223,13 @@ func (w WorkflowRunActionProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "code", w.Code) populate(objectMap, "correlation", w.Correlation) populateTimeRFC3339(objectMap, "endTime", w.EndTime) - populate(objectMap, "error", &w.Error) + populateAny(objectMap, "error", w.Error) populate(objectMap, "inputsLink", w.InputsLink) populate(objectMap, "outputsLink", w.OutputsLink) populate(objectMap, "retryHistory", w.RetryHistory) populateTimeRFC3339(objectMap, "startTime", w.StartTime) populate(objectMap, "status", w.Status) - populate(objectMap, "trackedProperties", &w.TrackedProperties) + populateAny(objectMap, "trackedProperties", w.TrackedProperties) populate(objectMap, "trackingId", w.TrackingID) return json.Marshal(objectMap) } @@ -7368,17 +7368,17 @@ func (w WorkflowRunActionRepetitionProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "code", w.Code) populate(objectMap, "correlation", w.Correlation) populateTimeRFC3339(objectMap, "endTime", w.EndTime) - populate(objectMap, "error", &w.Error) - populate(objectMap, "inputs", &w.Inputs) + populateAny(objectMap, "error", w.Error) + populateAny(objectMap, "inputs", w.Inputs) populate(objectMap, "inputsLink", w.InputsLink) populate(objectMap, "iterationCount", w.IterationCount) - populate(objectMap, "outputs", &w.Outputs) + populateAny(objectMap, "outputs", w.Outputs) populate(objectMap, "outputsLink", w.OutputsLink) populate(objectMap, "repetitionIndexes", w.RepetitionIndexes) populate(objectMap, "retryHistory", w.RetryHistory) populateTimeRFC3339(objectMap, "startTime", w.StartTime) populate(objectMap, "status", w.Status) - populate(objectMap, "trackedProperties", &w.TrackedProperties) + populateAny(objectMap, "trackedProperties", w.TrackedProperties) populate(objectMap, "trackingId", w.TrackingID) return json.Marshal(objectMap) } @@ -7510,7 +7510,7 @@ func (w WorkflowRunProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "correlation", w.Correlation) populate(objectMap, "correlationId", w.CorrelationID) populateTimeRFC3339(objectMap, "endTime", w.EndTime) - populate(objectMap, "error", &w.Error) + populateAny(objectMap, "error", w.Error) populate(objectMap, "outputs", w.Outputs) populate(objectMap, "response", w.Response) populateTimeRFC3339(objectMap, "startTime", w.StartTime) @@ -7580,16 +7580,16 @@ func (w WorkflowRunTrigger) MarshalJSON() ([]byte, error) { populate(objectMap, "code", w.Code) populate(objectMap, "correlation", w.Correlation) populateTimeRFC3339(objectMap, "endTime", w.EndTime) - populate(objectMap, "error", &w.Error) - populate(objectMap, "inputs", &w.Inputs) + populateAny(objectMap, "error", w.Error) + populateAny(objectMap, "inputs", w.Inputs) populate(objectMap, "inputsLink", w.InputsLink) populate(objectMap, "name", w.Name) - populate(objectMap, "outputs", &w.Outputs) + populateAny(objectMap, "outputs", w.Outputs) populate(objectMap, "outputsLink", w.OutputsLink) populateTimeRFC3339(objectMap, "scheduledTime", w.ScheduledTime) populateTimeRFC3339(objectMap, "startTime", w.StartTime) populate(objectMap, "status", w.Status) - populate(objectMap, "trackedProperties", &w.TrackedProperties) + populateAny(objectMap, "trackedProperties", w.TrackedProperties) populate(objectMap, "trackingId", w.TrackingID) return json.Marshal(objectMap) } @@ -7869,7 +7869,7 @@ func (w WorkflowTriggerHistoryProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "code", w.Code) populate(objectMap, "correlation", w.Correlation) populateTimeRFC3339(objectMap, "endTime", w.EndTime) - populate(objectMap, "error", &w.Error) + populateAny(objectMap, "error", w.Error) populate(objectMap, "fired", w.Fired) populate(objectMap, "inputsLink", w.InputsLink) populate(objectMap, "outputsLink", w.OutputsLink) @@ -8242,7 +8242,7 @@ func (w WorkflowVersionProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "accessEndpoint", w.AccessEndpoint) populateTimeRFC3339(objectMap, "changedTime", w.ChangedTime) populateTimeRFC3339(objectMap, "createdTime", w.CreatedTime) - populate(objectMap, "definition", &w.Definition) + populateAny(objectMap, "definition", w.Definition) populate(objectMap, "endpointsConfiguration", w.EndpointsConfiguration) populate(objectMap, "integrationAccount", w.IntegrationAccount) populate(objectMap, "parameters", w.Parameters) @@ -9152,6 +9152,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil diff --git a/sdk/resourcemanager/logz/armlogz/CHANGELOG.md b/sdk/resourcemanager/logz/armlogz/CHANGELOG.md index 3e3cd5dac14a..e0a60027f043 100644 --- a/sdk/resourcemanager/logz/armlogz/CHANGELOG.md +++ b/sdk/resourcemanager/logz/armlogz/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 1.1.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/logz/armlogz/autorest.md b/sdk/resourcemanager/logz/armlogz/autorest.md index 3535e257af0a..ee051bbaedcf 100644 --- a/sdk/resourcemanager/logz/armlogz/autorest.md +++ b/sdk/resourcemanager/logz/armlogz/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logz/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/logz/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/logz/armlogz/constants.go b/sdk/resourcemanager/logz/armlogz/constants.go index b789fff4fa73..85a075a524a6 100644 --- a/sdk/resourcemanager/logz/armlogz/constants.go +++ b/sdk/resourcemanager/logz/armlogz/constants.go @@ -11,7 +11,7 @@ package armlogz const ( moduleName = "armlogz" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // CreatedByType - The type of identity that created the resource. diff --git a/sdk/resourcemanager/logz/armlogz/models.go b/sdk/resourcemanager/logz/armlogz/models.go index c6d62cb3f91b..cd869e99a7f1 100644 --- a/sdk/resourcemanager/logz/armlogz/models.go +++ b/sdk/resourcemanager/logz/armlogz/models.go @@ -14,58 +14,58 @@ import "time" // ErrorAdditionalInfo - The resource management error additional info. type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The additional info type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ErrorDetail - The error detail. type ErrorDetail struct { // READ-ONLY; The error additional info. - AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error details. - Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` + Details []*ErrorDetail // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The error target. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. // (This also follows the OData error response format.). type ErrorResponse struct { // The error object. - Error *ErrorDetail `json:"error,omitempty"` + Error *ErrorDetail } // FilteringTag - The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them // from being monitored. type FilteringTag struct { // Valid actions for a filtering tag. Exclusion takes priority over inclusion. - Action *TagAction `json:"action,omitempty"` + Action *TagAction // The name (also known as the key) of the tag. - Name *string `json:"name,omitempty"` + Name *string // The value of the tag. - Value *string `json:"value,omitempty"` + Value *string } type IdentityProperties struct { - Type *ManagedIdentityTypes `json:"type,omitempty"` + Type *ManagedIdentityTypes // READ-ONLY; The identity ID. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The tenant ID of resource. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // LogRules - Set of rules for sending logs for the Monitor resource. @@ -74,16 +74,16 @@ type LogRules struct { // all resources will be captured. If only Exclude action is specified, the // rules will apply to the list of all available resources. If Include actions are specified, the rules will only include // resources with the associated tags. - FilteringTags []*FilteringTag `json:"filteringTags,omitempty"` + FilteringTags []*FilteringTag // Flag specifying if AAD logs should be sent for the Monitor resource. - SendAADLogs *bool `json:"sendAadLogs,omitempty"` + SendAADLogs *bool // Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. - SendActivityLogs *bool `json:"sendActivityLogs,omitempty"` + SendActivityLogs *bool // Flag specifying if subscription logs should be sent for the Monitor resource. - SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty"` + SendSubscriptionLogs *bool } // MonitorClientListVMHostUpdateOptions contains the optional parameters for the MonitorClient.NewListVMHostUpdatePager method. @@ -104,142 +104,142 @@ type MonitorClientVMHostPayloadOptions struct { // MonitorProperties - Properties specific to the monitor resource. type MonitorProperties struct { - LogzOrganizationProperties *OrganizationProperties `json:"logzOrganizationProperties,omitempty"` + LogzOrganizationProperties *OrganizationProperties // Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will // go in Suspended state. - MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"` + MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus // Flag specifying if the resource monitoring is enabled or disabled. - MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` - PlanData *PlanData `json:"planData,omitempty"` - UserInfo *UserInfo `json:"userInfo,omitempty"` + MonitoringStatus *MonitoringStatus + PlanData *PlanData + UserInfo *UserInfo // READ-ONLY - LiftrResourceCategory *LiftrResourceCategories `json:"liftrResourceCategory,omitempty" azure:"ro"` + LiftrResourceCategory *LiftrResourceCategories // READ-ONLY; The priority of the resource. - LiftrResourcePreference *int32 `json:"liftrResourcePreference,omitempty" azure:"ro"` + LiftrResourcePreference *int32 // READ-ONLY; Flag specifying if the resource provisioning state as tracked by ARM. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } type MonitorResource struct { // REQUIRED - Location *string `json:"location,omitempty"` - Identity *IdentityProperties `json:"identity,omitempty"` + Location *string + Identity *IdentityProperties // Properties specific to the monitor resource. - Properties *MonitorProperties `json:"properties,omitempty"` + Properties *MonitorProperties // Dictionary of - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; ARM id of the monitor resource. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the monitor resource. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata relating to this resource - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the monitor resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // MonitorResourceListResponse - Response of a list operation. type MonitorResourceListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Results of a list operation. - Value []*MonitorResource `json:"value,omitempty"` + Value []*MonitorResource } // MonitorResourceUpdateParameters - The parameters for a PATCH request to a monitor resource. type MonitorResourceUpdateParameters struct { // The set of properties that can be update in a PATCH request to a monitor resource. - Properties *MonitorUpdateProperties `json:"properties,omitempty"` + Properties *MonitorUpdateProperties // The new tags of the monitor resource. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // MonitorUpdateProperties - The set of properties that can be update in a PATCH request to a monitor resource. type MonitorUpdateProperties struct { // Flag specifying if the resource monitoring is enabled or disabled. - MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` + MonitoringStatus *MonitoringStatus } // MonitoredResource - The properties of a resource currently being monitored by the Logz monitor resource. type MonitoredResource struct { // The ARM id of the resource. - ID *string `json:"id,omitempty"` + ID *string // Reason for why the resource is sending logs (or why it is not sending). - ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` + ReasonForLogsStatus *string // Reason for why the resource is sending metrics (or why it is not sending). - ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"` + ReasonForMetricsStatus *string // Flag indicating if resource is sending logs to Logz. - SendingLogs *bool `json:"sendingLogs,omitempty"` + SendingLogs *bool // Flag indicating if resource is sending metrics to Logz. - SendingMetrics *bool `json:"sendingMetrics,omitempty"` + SendingMetrics *bool // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData } // MonitoredResourceListResponse - Response of a list operation. type MonitoredResourceListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Results of a list operation. - Value []*MonitoredResource `json:"value,omitempty"` + Value []*MonitoredResource } // MonitoringTagRules - Capture logs and metrics of Azure resources based on ARM tags. type MonitoringTagRules struct { // Definition of the properties for a TagRules resource. - Properties *MonitoringTagRulesProperties `json:"properties,omitempty"` + Properties *MonitoringTagRulesProperties // READ-ONLY; The id of the rule set. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the rule set. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata relating to this resource - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the rule set. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // MonitoringTagRulesListResponse - Response of a list operation. type MonitoringTagRulesListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Results of a list operation. - Value []*MonitoringTagRules `json:"value,omitempty"` + Value []*MonitoringTagRules } // MonitoringTagRulesProperties - Definition of the properties for a TagRules resource. type MonitoringTagRulesProperties struct { // Set of rules for sending logs for the Monitor resource. - LogRules *LogRules `json:"logRules,omitempty"` + LogRules *LogRules // READ-ONLY; Flag specifying if the resource provisioning state as tracked by ARM. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData } // MonitorsClientBeginCreateOptions contains the optional parameters for the MonitorsClient.BeginCreate method. @@ -291,40 +291,40 @@ type MonitorsClientUpdateOptions struct { // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // Description of the operation, e.g., 'Write monitors'. - Description *string `json:"description,omitempty"` + Description *string // Operation type, e.g., read, write, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider, i.e., Microsoft.Logz. - Provider *string `json:"provider,omitempty"` + Provider *string // Type on which the operation is performed, e.g., 'monitors'. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of GET request to list the Microsoft.Logz operations. type OperationListResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of operations supported by the Microsoft.Logz provider. - Value []*OperationResult `json:"value,omitempty"` + Value []*OperationResult } // OperationResult - A Microsoft.Logz REST API operation. type OperationResult struct { // The object that represents the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Indicates whether the operation is a data action - IsDataAction *bool `json:"isDataAction,omitempty"` + IsDataAction *bool // Operation name, i.e., {provider}/{resource}/{operation}. - Name *string `json:"name,omitempty"` + Name *string // Origin of the operation - Origin *string `json:"origin,omitempty"` + Origin *string } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -334,30 +334,30 @@ type OperationsClientListOptions struct { type OrganizationProperties struct { // Name of the Logz organization. - CompanyName *string `json:"companyName,omitempty"` + CompanyName *string // The Id of the Enterprise App used for Single sign on. - EnterpriseAppID *string `json:"enterpriseAppId,omitempty"` + EnterpriseAppID *string // The login URL specific to this Logz Organization. - SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` + SingleSignOnURL *string // READ-ONLY; Id of the Logz organization. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } type PlanData struct { // different billing cycles like MONTHLY/WEEKLY. this could be enum - BillingCycle *string `json:"billingCycle,omitempty"` + BillingCycle *string // date when plan was applied - EffectiveDate *time.Time `json:"effectiveDate,omitempty"` + EffectiveDate *time.Time // plan id as published by Logz - PlanDetails *string `json:"planDetails,omitempty"` + PlanDetails *string // different usage type like PAYG/COMMITTED. this could be enum - UsageType *string `json:"usageType,omitempty"` + UsageType *string } // SingleSignOnClientBeginCreateOrUpdateOptions contains the optional parameters for the SingleSignOnClient.BeginCreateOrUpdate @@ -380,41 +380,41 @@ type SingleSignOnClientListOptions struct { type SingleSignOnProperties struct { // The Id of the Enterprise App used for Single sign-on. - EnterpriseAppID *string `json:"enterpriseAppId,omitempty"` + EnterpriseAppID *string // Various states of the SSO resource - SingleSignOnState *SingleSignOnStates `json:"singleSignOnState,omitempty"` + SingleSignOnState *SingleSignOnStates // The login URL specific to this Logz Organization. - SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"` + SingleSignOnURL *string // READ-ONLY; Flag specifying if the resource provisioning state as tracked by ARM. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } type SingleSignOnResource struct { - Properties *SingleSignOnProperties `json:"properties,omitempty"` + Properties *SingleSignOnProperties // READ-ONLY; ARM id of the resource. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the configuration. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Metadata pertaining to creation and last modification of the resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; The type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SingleSignOnResourceListResponse - Response of a list operation. type SingleSignOnResourceListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Results of a list operation. - Value []*SingleSignOnResource `json:"value,omitempty"` + Value []*SingleSignOnResource } // SubAccountClientBeginCreateOptions contains the optional parameters for the SubAccountClient.BeginCreate method. @@ -492,22 +492,22 @@ type SubAccountTagRulesClientListOptions struct { // SystemData - Metadata pertaining to creation and last modification of the resource. type SystemData struct { // The timestamp of resource creation (UTC). - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // The identity that created the resource. - CreatedBy *string `json:"createdBy,omitempty"` + CreatedBy *string // The type of identity that created the resource. - CreatedByType *CreatedByType `json:"createdByType,omitempty"` + CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) - LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` + LastModifiedAt *time.Time // The identity that last modified the resource. - LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + LastModifiedBy *string // The type of identity that last modified the resource. - LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` + LastModifiedByType *CreatedByType } // TagRulesClientCreateOrUpdateOptions contains the optional parameters for the TagRulesClient.CreateOrUpdate method. @@ -532,71 +532,71 @@ type TagRulesClientListOptions struct { type UserInfo struct { // Email of the user used by Logz for contacting them if needed - EmailAddress *string `json:"emailAddress,omitempty"` + EmailAddress *string // First Name of the user - FirstName *string `json:"firstName,omitempty"` + FirstName *string // Last Name of the user - LastName *string `json:"lastName,omitempty"` + LastName *string // Phone number of the user used by Logz for contacting them if needed - PhoneNumber *string `json:"phoneNumber,omitempty"` + PhoneNumber *string } // UserRoleListResponse - Response for list of user's role for Logz.io account. type UserRoleListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of user roles for Logz.io account. - Value []*UserRoleResponse `json:"value,omitempty"` + Value []*UserRoleResponse } // UserRoleRequest - Request for checking user's role for Logz.io account. type UserRoleRequest struct { // Email of the user used by Logz for contacting them if needed - EmailAddress *string `json:"emailAddress,omitempty"` + EmailAddress *string } // UserRoleResponse - Response for checking user's role for Logz.io account. type UserRoleResponse struct { // User roles on configured in Logz.io account. - Role *UserRole `json:"role,omitempty"` + Role *UserRole } // VMExtensionPayload - Response of payload to be passed while installing VM agent. type VMExtensionPayload struct { // API Key corresponding to the resource. - APIKey *string `json:"apiKey,omitempty"` + APIKey *string // Logz.io region where the resource has been created. - Region *string `json:"region,omitempty"` + Region *string } // VMHostUpdateRequest - Request of a list VM Host Update Operation. type VMHostUpdateRequest struct { // Specifies the state of the operation - install/ delete. - State *VMHostUpdateStates `json:"state,omitempty"` + State *VMHostUpdateStates // Request of a list vm host update operation. - VMResourceIDs []*VMResources `json:"vmResourceIds,omitempty"` + VMResourceIDs []*VMResources } // VMResources - VM Resource Ids type VMResources struct { // Version of the Logz agent installed on the VM. - AgentVersion *string `json:"agentVersion,omitempty"` + AgentVersion *string // Request of a list vm host update operation. - ID *string `json:"id,omitempty"` + ID *string } // VMResourcesListResponse - Response of a list VM Host Update Operation. type VMResourcesListResponse struct { // Link to the next set of results, if any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Response of a list vm host update operation. - Value []*VMResources `json:"value,omitempty"` + Value []*VMResources } diff --git a/sdk/resourcemanager/logz/armlogz/models_serde.go b/sdk/resourcemanager/logz/armlogz/models_serde.go index 1cf721ba67d8..403dd6de12d8 100644 --- a/sdk/resourcemanager/logz/armlogz/models_serde.go +++ b/sdk/resourcemanager/logz/armlogz/models_serde.go @@ -19,7 +19,7 @@ import ( // MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo. func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &e.Info) + populateAny(objectMap, "info", e.Info) populate(objectMap, "type", e.Type) return json.Marshal(objectMap) } @@ -1217,6 +1217,16 @@ func populate(m map[string]any, k string, v any) { } } +func populateAny(m map[string]any, k string, v any) { + if v == nil { + return + } else if azcore.IsNullValue(v) { + m[k] = nil + } else { + m[k] = v + } +} + func unpopulate(data json.RawMessage, fn string, v any) error { if data == nil { return nil