diff --git a/sdk/resourcemanager/mysql/armmysql/CHANGELOG.md b/sdk/resourcemanager/mysql/armmysql/CHANGELOG.md index 23be4cc88872..c766954e9165 100644 --- a/sdk/resourcemanager/mysql/armmysql/CHANGELOG.md +++ b/sdk/resourcemanager/mysql/armmysql/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/mysql/armmysql/autorest.md b/sdk/resourcemanager/mysql/armmysql/autorest.md index 38af7efc2a14..558cfd99f9d5 100644 --- a/sdk/resourcemanager/mysql/armmysql/autorest.md +++ b/sdk/resourcemanager/mysql/armmysql/autorest.md @@ -8,7 +8,7 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/mysql/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/mysql/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 package-singleservers: true directive: - from: Servers.json diff --git a/sdk/resourcemanager/mysql/armmysql/constants.go b/sdk/resourcemanager/mysql/armmysql/constants.go index 16fafc3a368f..f8b5b8ca9253 100644 --- a/sdk/resourcemanager/mysql/armmysql/constants.go +++ b/sdk/resourcemanager/mysql/armmysql/constants.go @@ -11,7 +11,7 @@ package armmysql const ( moduleName = "armmysql" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // CreateMode - The mode to create a new server. diff --git a/sdk/resourcemanager/mysql/armmysql/models.go b/sdk/resourcemanager/mysql/armmysql/models.go index aa75b8bfdecf..2c82a22ad6e4 100644 --- a/sdk/resourcemanager/mysql/armmysql/models.go +++ b/sdk/resourcemanager/mysql/armmysql/models.go @@ -14,16 +14,16 @@ import "time" // Advisor - Represents a recommendation action advisor. type Advisor struct { // The properties of a recommendation action advisor. - 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; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AdvisorsClientGetOptions contains the optional parameters for the AdvisorsClient.Get method. @@ -39,10 +39,10 @@ type AdvisorsClientListByServerOptions struct { // AdvisorsResultList - A list of query statistics. type AdvisorsResultList struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The list of recommendation action advisors. - Value []*Advisor `json:"value,omitempty" azure:"ro"` + Value []*Advisor } // CheckNameAvailabilityClientExecuteOptions contains the optional parameters for the CheckNameAvailabilityClient.Execute @@ -54,43 +54,43 @@ type CheckNameAvailabilityClientExecuteOptions struct { // Configuration - Represents a Configuration. type Configuration struct { // The properties of a configuration. - Properties *ConfigurationProperties `json:"properties,omitempty"` + Properties *ConfigurationProperties // 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 } // ConfigurationListResult - A list of server configurations. type ConfigurationListResult struct { // The list of server configurations. - Value []*Configuration `json:"value,omitempty"` + Value []*Configuration } // ConfigurationProperties - The properties of a configuration. type ConfigurationProperties struct { // Source of the configuration. - Source *string `json:"source,omitempty"` + Source *string // Value of the configuration. - Value *string `json:"value,omitempty"` + Value *string // READ-ONLY; Allowed values of the configuration. - AllowedValues *string `json:"allowedValues,omitempty" azure:"ro"` + AllowedValues *string // READ-ONLY; Data type of the configuration. - DataType *string `json:"dataType,omitempty" azure:"ro"` + DataType *string // READ-ONLY; Default value of the configuration. - DefaultValue *string `json:"defaultValue,omitempty" azure:"ro"` + DefaultValue *string // READ-ONLY; Description of the configuration. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string } // ConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationsClient.BeginCreateOrUpdate @@ -114,31 +114,31 @@ type ConfigurationsClientListByServerOptions struct { // Database - Represents a Database. type Database struct { // The properties of a database. - Properties *DatabaseProperties `json:"properties,omitempty"` + Properties *DatabaseProperties // 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 } // DatabaseListResult - A List of databases. type DatabaseListResult struct { // The list of databases housed in a server - Value []*Database `json:"value,omitempty"` + Value []*Database } // DatabaseProperties - The properties of a database. type DatabaseProperties struct { // The charset of the database. - Charset *string `json:"charset,omitempty"` + Charset *string // The collation of the database. - Collation *string `json:"collation,omitempty"` + Collation *string } // DatabasesClientBeginCreateOrUpdateOptions contains the optional parameters for the DatabasesClient.BeginCreateOrUpdate @@ -167,59 +167,59 @@ type DatabasesClientListByServerOptions 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 } // 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 { // 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 []*ErrorResponse `json:"details,omitempty" azure:"ro"` + Details []*ErrorResponse // 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 } // FirewallRule - Represents a server firewall rule. type FirewallRule struct { // REQUIRED; The properties of a firewall rule. - Properties *FirewallRuleProperties `json:"properties,omitempty"` + Properties *FirewallRuleProperties // 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 } // FirewallRuleListResult - A list of firewall rules. type FirewallRuleListResult struct { // The list of firewall rules in a server. - Value []*FirewallRule `json:"value,omitempty"` + Value []*FirewallRule } // FirewallRuleProperties - The properties of a server firewall rule. type FirewallRuleProperties struct { // REQUIRED; The end IP address of the server firewall rule. Must be IPv4 format. - EndIPAddress *string `json:"endIpAddress,omitempty"` + EndIPAddress *string // REQUIRED; The start IP address of the server firewall rule. Must be IPv4 format. - StartIPAddress *string `json:"startIpAddress,omitempty"` + StartIPAddress *string } // FirewallRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallRulesClient.BeginCreateOrUpdate @@ -267,40 +267,40 @@ type LocationBasedRecommendedActionSessionsResultClientListOptions struct { // LogFile - Represents a log file. type LogFile struct { // The properties of the log file. - Properties *LogFileProperties `json:"properties,omitempty"` + Properties *LogFileProperties // 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 } // LogFileListResult - A list of log files. type LogFileListResult struct { // The list of log files. - Value []*LogFile `json:"value,omitempty"` + Value []*LogFile } // LogFileProperties - The properties of a log file. type LogFileProperties struct { // Size of the log file. - SizeInKB *int64 `json:"sizeInKB,omitempty"` + SizeInKB *int64 // Type of the log file. - Type *string `json:"type,omitempty"` + Type *string // The url to download the log file from. - URL *string `json:"url,omitempty"` + URL *string // READ-ONLY; Creation timestamp of the log file. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time // READ-ONLY; Last modified timestamp of the log file. - LastModifiedTime *time.Time `json:"lastModifiedTime,omitempty" azure:"ro"` + LastModifiedTime *time.Time } // LogFilesClientListByServerOptions contains the optional parameters for the LogFilesClient.NewListByServerPager method. @@ -324,58 +324,58 @@ type ManagementClientResetQueryPerformanceInsightDataOptions struct { // NameAvailability - Represents a resource name availability. type NameAvailability struct { // Error Message. - Message *string `json:"message,omitempty"` + Message *string // Indicates whether the resource name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // Reason for name being unavailable. - Reason *string `json:"reason,omitempty"` + Reason *string } // NameAvailabilityRequest - Request from client to check resource name availability. type NameAvailabilityRequest struct { // REQUIRED; Resource name to verify. - Name *string `json:"name,omitempty"` + Name *string // Resource type used for verification. - Type *string `json:"type,omitempty"` + Type *string } // Operation - REST API operation definition. type Operation struct { // READ-ONLY; The localized display information for this particular operation or action. - Display *OperationDisplay `json:"display,omitempty" azure:"ro"` + Display *OperationDisplay // READ-ONLY; The name of the operation being performed on this particular object. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The intended executor of the operation. - Origin *OperationOrigin `json:"origin,omitempty" azure:"ro"` + Origin *OperationOrigin // READ-ONLY; Additional descriptions for the operation. - Properties map[string]any `json:"properties,omitempty" azure:"ro"` + Properties map[string]any } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // READ-ONLY; Operation description. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Localized friendly name for the operation. - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Operation resource provider name. - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource on which the operation is performed. - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationListResult - A list of resource provider operations. type OperationListResult struct { // The list of resource provider operations. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. @@ -386,97 +386,97 @@ type OperationsClientListOptions struct { // PerformanceTierListResult - A list of performance tiers. type PerformanceTierListResult struct { // The list of performance tiers - Value []*PerformanceTierProperties `json:"value,omitempty"` + Value []*PerformanceTierProperties } // PerformanceTierProperties - Performance tier properties type PerformanceTierProperties struct { // ID of the performance tier. - ID *string `json:"id,omitempty"` + ID *string // Maximum Backup retention in days for the performance tier edition - MaxBackupRetentionDays *int32 `json:"maxBackupRetentionDays,omitempty"` + MaxBackupRetentionDays *int32 // Max storage allowed for a server. - MaxLargeStorageMB *int32 `json:"maxLargeStorageMB,omitempty"` + MaxLargeStorageMB *int32 // Max storage allowed for a server. - MaxStorageMB *int32 `json:"maxStorageMB,omitempty"` + MaxStorageMB *int32 // Minimum Backup retention in days for the performance tier edition - MinBackupRetentionDays *int32 `json:"minBackupRetentionDays,omitempty"` + MinBackupRetentionDays *int32 // Max storage allowed for a server. - MinLargeStorageMB *int32 `json:"minLargeStorageMB,omitempty"` + MinLargeStorageMB *int32 // Max storage allowed for a server. - MinStorageMB *int32 `json:"minStorageMB,omitempty"` + MinStorageMB *int32 // Service level objectives associated with the performance tier - ServiceLevelObjectives []*PerformanceTierServiceLevelObjectives `json:"serviceLevelObjectives,omitempty"` + ServiceLevelObjectives []*PerformanceTierServiceLevelObjectives } // PerformanceTierServiceLevelObjectives - Service level objectives for performance tier. type PerformanceTierServiceLevelObjectives struct { // Edition of the performance tier. - Edition *string `json:"edition,omitempty"` + Edition *string // Hardware generation associated with the service level objective - HardwareGeneration *string `json:"hardwareGeneration,omitempty"` + HardwareGeneration *string // ID for the service level objective. - ID *string `json:"id,omitempty"` + ID *string // Maximum Backup retention in days for the performance tier edition - MaxBackupRetentionDays *int32 `json:"maxBackupRetentionDays,omitempty"` + MaxBackupRetentionDays *int32 // Max storage allowed for a server. - MaxStorageMB *int32 `json:"maxStorageMB,omitempty"` + MaxStorageMB *int32 // Minimum Backup retention in days for the performance tier edition - MinBackupRetentionDays *int32 `json:"minBackupRetentionDays,omitempty"` + MinBackupRetentionDays *int32 // Max storage allowed for a server. - MinStorageMB *int32 `json:"minStorageMB,omitempty"` + MinStorageMB *int32 // vCore associated with the service level objective - VCore *int32 `json:"vCore,omitempty"` + VCore *int32 } // 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; 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 { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*PrivateEndpointConnection `json:"value,omitempty" azure:"ro"` + Value []*PrivateEndpointConnection } // PrivateEndpointConnectionProperties - Properties of a private endpoint connection. type PrivateEndpointConnectionProperties struct { // Private endpoint which the connection belongs to. - PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` + PrivateEndpoint *PrivateEndpointProperty // Connection state of the private endpoint connection. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty // READ-ONLY; State of the private endpoint connection. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginCreateOrUpdate @@ -514,40 +514,40 @@ type PrivateEndpointConnectionsClientListByServerOptions struct { type PrivateEndpointProperty struct { // Resource id of the private endpoint. - ID *string `json:"id,omitempty"` + ID *string } // PrivateLinkResource - A private link resource type PrivateLinkResource 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 private link resource group id. - Properties *PrivateLinkResourceProperties `json:"properties,omitempty" azure:"ro"` + Properties *PrivateLinkResourceProperties // 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 { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*PrivateLinkResource `json:"value,omitempty" azure:"ro"` + 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 } // PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method. @@ -563,107 +563,107 @@ type PrivateLinkResourcesClientListByServerOptions struct { type PrivateLinkServiceConnectionStateProperty struct { // REQUIRED; The private link service connection description. - Description *string `json:"description,omitempty"` + Description *string // REQUIRED; The private link service connection status. - Status *string `json:"status,omitempty"` + Status *string // READ-ONLY; The actions required for private link service connection. - ActionsRequired *string `json:"actionsRequired,omitempty" azure:"ro"` + ActionsRequired *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 } // QueryPerformanceInsightResetDataResult - Result of Query Performance Insight data reset. type QueryPerformanceInsightResetDataResult struct { // operation message. - Message *string `json:"message,omitempty"` + Message *string // Indicates result of the operation. - Status *QueryPerformanceInsightResetDataResultState `json:"status,omitempty"` + Status *QueryPerformanceInsightResetDataResultState } // QueryStatistic - Represents a Query Statistic. type QueryStatistic struct { // The properties of a query statistic. - Properties *QueryStatisticProperties `json:"properties,omitempty"` + Properties *QueryStatisticProperties // 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 } // QueryStatisticProperties - The properties of a query statistic. type QueryStatisticProperties struct { // Aggregation function name. - AggregationFunction *string `json:"aggregationFunction,omitempty"` + AggregationFunction *string // The list of database names. - DatabaseNames []*string `json:"databaseNames,omitempty"` + DatabaseNames []*string // Observation end time. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Metric display name. - MetricDisplayName *string `json:"metricDisplayName,omitempty"` + MetricDisplayName *string // Metric name. - MetricName *string `json:"metricName,omitempty"` + MetricName *string // Metric value. - MetricValue *float64 `json:"metricValue,omitempty"` + MetricValue *float64 // Metric value unit. - MetricValueUnit *string `json:"metricValueUnit,omitempty"` + MetricValueUnit *string // Number of query executions in this time interval. - QueryExecutionCount *int64 `json:"queryExecutionCount,omitempty"` + QueryExecutionCount *int64 // Database query identifier. - QueryID *string `json:"queryId,omitempty"` + QueryID *string // Observation start time. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time } // QueryText - Represents a Query Text. type QueryText struct { // The properties of a query text. - Properties *QueryTextProperties `json:"properties,omitempty"` + Properties *QueryTextProperties // 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 } // QueryTextProperties - The properties of a query text. type QueryTextProperties struct { // Query identifier unique to the server. - QueryID *string `json:"queryId,omitempty"` + QueryID *string // Query text. - QueryText *string `json:"queryText,omitempty"` + QueryText *string } // QueryTextsClientGetOptions contains the optional parameters for the QueryTextsClient.Get method. @@ -679,73 +679,73 @@ type QueryTextsClientListByServerOptions struct { // QueryTextsResultList - A list of query texts. type QueryTextsResultList struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The list of query texts. - Value []*QueryText `json:"value,omitempty" azure:"ro"` + Value []*QueryText } // RecommendationAction - Represents a Recommendation Action. type RecommendationAction struct { // The properties of a recommendation action. - Properties *RecommendationActionProperties `json:"properties,omitempty"` + Properties *RecommendationActionProperties // 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 } // RecommendationActionProperties - The properties of a recommendation action. type RecommendationActionProperties struct { // Recommendation action identifier. - ActionID *int32 `json:"actionId,omitempty"` + ActionID *int32 // Advisor name. - AdvisorName *string `json:"advisorName,omitempty"` + AdvisorName *string // Recommendation action creation time. - CreatedTime *time.Time `json:"createdTime,omitempty"` + CreatedTime *time.Time // Recommendation action details. - Details map[string]*string `json:"details,omitempty"` + Details map[string]*string // Recommendation action expiration time. - ExpirationTime *time.Time `json:"expirationTime,omitempty"` + ExpirationTime *time.Time // Recommendation action reason. - Reason *string `json:"reason,omitempty"` + Reason *string // Recommendation action type. - RecommendationType *string `json:"recommendationType,omitempty"` + RecommendationType *string // Recommendation action session identifier. - SessionID *string `json:"sessionId,omitempty"` + SessionID *string } // RecommendationActionsResultList - A list of recommendation actions. type RecommendationActionsResultList struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The list of recommendation action advisors. - Value []*RecommendationAction `json:"value,omitempty" azure:"ro"` + Value []*RecommendationAction } // RecommendedActionSessionsOperationStatus - Recommendation action session operation status. type RecommendedActionSessionsOperationStatus struct { // Operation identifier. - Name *string `json:"name,omitempty"` + Name *string // Operation start time. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // Operation status. - Status *string `json:"status,omitempty"` + Status *string } // RecommendedActionsClientGetOptions contains the optional parameters for the RecommendedActionsClient.Get method. @@ -763,37 +763,37 @@ type RecommendedActionsClientListByServerOptions struct { // RecoverableServerProperties - The recoverable server's properties. type RecoverableServerProperties struct { // READ-ONLY; Edition of the performance tier. - Edition *string `json:"edition,omitempty" azure:"ro"` + Edition *string // READ-ONLY; Hardware generation associated with the service level objective - HardwareGeneration *string `json:"hardwareGeneration,omitempty" azure:"ro"` + HardwareGeneration *string // READ-ONLY; The last available backup date time. - LastAvailableBackupDateTime *string `json:"lastAvailableBackupDateTime,omitempty" azure:"ro"` + LastAvailableBackupDateTime *string // READ-ONLY; The service level objective - ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty" azure:"ro"` + ServiceLevelObjective *string // READ-ONLY; vCore associated with the service level objective - VCore *int32 `json:"vCore,omitempty" azure:"ro"` + VCore *int32 // READ-ONLY; The MySQL version - Version *string `json:"version,omitempty" azure:"ro"` + Version *string } // RecoverableServerResource - A recoverable server resource. type RecoverableServerResource struct { // Resource properties. - Properties *RecoverableServerProperties `json:"properties,omitempty"` + Properties *RecoverableServerProperties // 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 } // RecoverableServersClientGetOptions contains the optional parameters for the RecoverableServersClient.Get method. @@ -809,133 +809,133 @@ type ReplicasClientListByServerOptions 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 } // ResourceIdentity - Azure Active Directory identity configuration for a resource. type ResourceIdentity struct { // The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal // for the resource. - Type *IdentityType `json:"type,omitempty"` + Type *IdentityType // READ-ONLY; The Azure Active Directory principal id. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The Azure Active Directory tenant id. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // SKU - Billing information related properties of a server. type SKU struct { // REQUIRED; The name of the sku, typically, tier + family + cores, e.g. BGen41, GPGen58. - Name *string `json:"name,omitempty"` + Name *string // The scale up/out capacity, representing server's compute units. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // The family of hardware. - Family *string `json:"family,omitempty"` + Family *string // The size code, to be interpreted by resource as appropriate. - Size *string `json:"size,omitempty"` + Size *string // The tier of the particular SKU, e.g. Basic. - Tier *SKUTier `json:"tier,omitempty"` + Tier *SKUTier } // SecurityAlertPolicyProperties - Properties of a security alert policy. type SecurityAlertPolicyProperties struct { // REQUIRED; Specifies the state of the policy, whether it is enabled or disabled. - State *ServerSecurityAlertPolicyState `json:"state,omitempty"` + State *ServerSecurityAlertPolicyState // Specifies an array of alerts that are disabled. Allowed values are: SqlInjection, SqlInjectionVulnerability, AccessAnomaly - DisabledAlerts []*string `json:"disabledAlerts,omitempty"` + DisabledAlerts []*string // Specifies that the alert is sent to the account administrators. - EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"` + EmailAccountAdmins *bool // Specifies an array of e-mail addresses to which the alert is sent. - EmailAddresses []*string `json:"emailAddresses,omitempty"` + EmailAddresses []*string // Specifies the number of days to keep in the Threat Detection audit logs. - RetentionDays *int32 `json:"retentionDays,omitempty"` + RetentionDays *int32 // Specifies the identifier key of the Threat Detection audit storage account. - StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` + StorageAccountAccessKey *string // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat // Detection audit logs. - StorageEndpoint *string `json:"storageEndpoint,omitempty"` + StorageEndpoint *string } // Server - Represents a server. type Server struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // Properties of the server. - Properties *ServerProperties `json:"properties,omitempty"` + Properties *ServerProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // 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 } // ServerAdministratorProperties - The properties of an server Administrator. type ServerAdministratorProperties struct { // CONSTANT; The type of administrator. // Field has constant value "ActiveDirectory", any specified value is ignored. - AdministratorType *string `json:"administratorType,omitempty"` + AdministratorType *string // REQUIRED; The server administrator login account name. - Login *string `json:"login,omitempty"` + Login *string // REQUIRED; The server administrator Sid (Secure ID). - Sid *string `json:"sid,omitempty"` + Sid *string // REQUIRED; The server Active Directory Administrator tenant id. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string } // ServerAdministratorResource - Represents a and external administrator to be created. type ServerAdministratorResource struct { // Properties of the server AAD administrator. - Properties *ServerAdministratorProperties `json:"properties,omitempty"` + Properties *ServerAdministratorProperties // 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 } // ServerAdministratorResourceListResult - The response to a list Active Directory Administrators request. type ServerAdministratorResourceListResult struct { // The list of server Active Directory Administrators for the server. - Value []*ServerAdministratorResource `json:"value,omitempty"` + Value []*ServerAdministratorResource } // ServerAdministratorsClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerAdministratorsClient.BeginCreateOrUpdate @@ -972,58 +972,58 @@ type ServerBasedPerformanceTierClientListOptions struct { // ServerForCreate - Represents a server to be created. type ServerForCreate struct { // REQUIRED; The location the resource resides in. - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Properties of the server. - Properties ServerPropertiesForCreateClassification `json:"properties,omitempty"` + Properties ServerPropertiesForCreateClassification // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerKey - A MySQL Server key. type ServerKey struct { // Properties of the ServerKey Resource. - Properties *ServerKeyProperties `json:"properties,omitempty"` + Properties *ServerKeyProperties // 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; Kind of encryption protector used to protect the key. - Kind *string `json:"kind,omitempty" azure:"ro"` + Kind *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 } // ServerKeyListResult - A list of MySQL Server keys. type ServerKeyListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of MySQL Server keys. - Value []*ServerKey `json:"value,omitempty" azure:"ro"` + Value []*ServerKey } // ServerKeyProperties - Properties for a key execution. type ServerKeyProperties struct { // REQUIRED; The key type like 'AzureKeyVault'. - ServerKeyType *ServerKeyType `json:"serverKeyType,omitempty"` + ServerKeyType *ServerKeyType // The URI of the key. - URI *string `json:"uri,omitempty"` + URI *string // READ-ONLY; The key creation date. - CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` + CreationDate *time.Time } // ServerKeysClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerKeysClient.BeginCreateOrUpdate @@ -1052,7 +1052,7 @@ type ServerKeysClientListOptions struct { // ServerListResult - A list of servers. type ServerListResult struct { // The list of servers - Value []*Server `json:"value,omitempty"` + Value []*Server } // ServerParametersClientBeginListUpdateConfigurationsOptions contains the optional parameters for the ServerParametersClient.BeginListUpdateConfigurations @@ -1065,83 +1065,83 @@ type ServerParametersClientBeginListUpdateConfigurationsOptions struct { // ServerPrivateEndpointConnection - A private endpoint connection under a server type ServerPrivateEndpointConnection struct { // READ-ONLY; Resource Id of the private endpoint connection. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Private endpoint connection properties - Properties *ServerPrivateEndpointConnectionProperties `json:"properties,omitempty" azure:"ro"` + Properties *ServerPrivateEndpointConnectionProperties } // ServerPrivateEndpointConnectionProperties - Properties of a private endpoint connection. type ServerPrivateEndpointConnectionProperties struct { // Private endpoint which the connection belongs to. - PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` + PrivateEndpoint *PrivateEndpointProperty // Connection state of the private endpoint connection. - PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty // READ-ONLY; State of the private endpoint connection. - ProvisioningState *PrivateEndpointProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *PrivateEndpointProvisioningState } type ServerPrivateLinkServiceConnectionStateProperty struct { // REQUIRED; The private link service connection description. - Description *string `json:"description,omitempty"` + Description *string // REQUIRED; The private link service connection status. - Status *PrivateLinkServiceConnectionStateStatus `json:"status,omitempty"` + Status *PrivateLinkServiceConnectionStateStatus // READ-ONLY; The actions required for private link service connection. - ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty" azure:"ro"` + ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire } // ServerProperties - The properties of a server. type ServerProperties struct { // The administrator's login name of a server. Can only be specified when the server is being created (and is required for // creation). - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // Earliest restore point creation time (ISO8601 format) - EarliestRestoreDate *time.Time `json:"earliestRestoreDate,omitempty"` + EarliestRestoreDate *time.Time // The fully qualified domain name of a server. - FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + FullyQualifiedDomainName *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // The master server id of a replica server. - MasterServerID *string `json:"masterServerId,omitempty"` + MasterServerID *string // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // The maximum number of replicas that a master server can have. - ReplicaCapacity *int32 `json:"replicaCapacity,omitempty"` + ReplicaCapacity *int32 // The replication role of the server. - ReplicationRole *string `json:"replicationRole,omitempty"` + ReplicationRole *string // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // A state of a server that is visible to user. - UserVisibleState *ServerState `json:"userVisibleState,omitempty"` + UserVisibleState *ServerState // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion // READ-ONLY; Status showing whether the server data encryption is enabled with customer-managed keys. - ByokEnforcement *string `json:"byokEnforcement,omitempty" azure:"ro"` + ByokEnforcement *string // READ-ONLY; List of private endpoint connections on a server - PrivateEndpointConnections []*ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` + PrivateEndpointConnections []*ServerPrivateEndpointConnection } // ServerPropertiesForCreateClassification provides polymorphic access to related types. @@ -1157,26 +1157,26 @@ type ServerPropertiesForCreateClassification interface { // ServerPropertiesForCreate - The properties used to create a new server. type ServerPropertiesForCreate struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForCreate. @@ -1188,32 +1188,32 @@ func (s *ServerPropertiesForCreate) GetServerPropertiesForCreate() *ServerProper type ServerPropertiesForDefaultCreate struct { // REQUIRED; The administrator's login name of a server. Can only be specified when the server is being created (and is required // for creation). The login name is required when updating password. - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // REQUIRED; The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForDefaultCreate. @@ -1233,29 +1233,29 @@ func (s *ServerPropertiesForDefaultCreate) GetServerPropertiesForCreate() *Serve // replicated backup. type ServerPropertiesForGeoRestore struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; The source server id to restore from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForGeoRestore. @@ -1274,29 +1274,29 @@ func (s *ServerPropertiesForGeoRestore) GetServerPropertiesForCreate() *ServerPr // ServerPropertiesForReplica - The properties to create a new replica. type ServerPropertiesForReplica struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; The master server id to create replica from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForReplica. @@ -1315,32 +1315,32 @@ func (s *ServerPropertiesForReplica) GetServerPropertiesForCreate() *ServerPrope // ServerPropertiesForRestore - The properties used to create a new server by restoring from a backup. type ServerPropertiesForRestore struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; Restore point creation time (ISO8601 format), specifying the time to restore from. - RestorePointInTime *time.Time `json:"restorePointInTime,omitempty"` + RestorePointInTime *time.Time // REQUIRED; The source server id to restore from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForRestore. @@ -1378,76 +1378,76 @@ type ServerSecurityAlertPoliciesClientListByServerOptions struct { // ServerSecurityAlertPolicy - A server security alert policy. type ServerSecurityAlertPolicy struct { // Resource properties. - Properties *SecurityAlertPolicyProperties `json:"properties,omitempty"` + Properties *SecurityAlertPolicyProperties // 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 } // ServerSecurityAlertPolicyListResult - A list of the server's security alert policies. type ServerSecurityAlertPolicyListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*ServerSecurityAlertPolicy `json:"value,omitempty" azure:"ro"` + Value []*ServerSecurityAlertPolicy } // ServerUpdateParameters - Parameters allowed to update for a server. type ServerUpdateParameters struct { // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // The properties that can be updated for a server. - Properties *ServerUpdateParametersProperties `json:"properties,omitempty"` + Properties *ServerUpdateParametersProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerUpdateParametersProperties - The properties that can be updated for a server. type ServerUpdateParametersProperties struct { // The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // The replication role of the server. - ReplicationRole *string `json:"replicationRole,omitempty"` + ReplicationRole *string // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // The version of a server. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } type ServerUpgradeParameters struct { // The properties that can be updated for a server. - Properties *ServerUpgradeParametersProperties `json:"properties,omitempty"` + Properties *ServerUpgradeParametersProperties } // ServerUpgradeParametersProperties - The properties that can be updated for a server. type ServerUpgradeParametersProperties struct { // Represents an server storage profile. - TargetServerVersion *string `json:"targetServerVersion,omitempty"` + TargetServerVersion *string } // ServersClientBeginCreateOptions contains the optional parameters for the ServersClient.BeginCreate method. @@ -1511,22 +1511,22 @@ type ServersClientListOptions struct { // StorageProfile - Storage Profile properties of a server type StorageProfile struct { // Backup retention days for the server. - BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` + BackupRetentionDays *int32 // Enable Geo-redundant or not for server backup. - GeoRedundantBackup *GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` + GeoRedundantBackup *GeoRedundantBackup // Enable Storage Auto Grow. - StorageAutogrow *StorageAutogrow `json:"storageAutogrow,omitempty"` + StorageAutogrow *StorageAutogrow // Max storage allowed for a server. - StorageMB *int32 `json:"storageMB,omitempty"` + StorageMB *int32 } // TagsObject - Tags object for patch operations. type TagsObject struct { // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // TopQueryStatisticsClientGetOptions contains the optional parameters for the TopQueryStatisticsClient.Get method. @@ -1543,92 +1543,92 @@ type TopQueryStatisticsClientListByServerOptions struct { // TopQueryStatisticsInput - Input to get top query statistics type TopQueryStatisticsInput struct { // REQUIRED; The properties of a wait statistics input. - Properties *TopQueryStatisticsInputProperties `json:"properties,omitempty"` + Properties *TopQueryStatisticsInputProperties } // TopQueryStatisticsInputProperties - The properties for input to get top query statistics type TopQueryStatisticsInputProperties struct { // REQUIRED; Aggregation function name. - AggregationFunction *string `json:"aggregationFunction,omitempty"` + AggregationFunction *string // REQUIRED; Aggregation interval type in ISO 8601 format. - AggregationWindow *string `json:"aggregationWindow,omitempty"` + AggregationWindow *string // REQUIRED; Max number of top queries to return. - NumberOfTopQueries *int32 `json:"numberOfTopQueries,omitempty"` + NumberOfTopQueries *int32 // REQUIRED; Observation end time. - ObservationEndTime *time.Time `json:"observationEndTime,omitempty"` + ObservationEndTime *time.Time // REQUIRED; Observation start time. - ObservationStartTime *time.Time `json:"observationStartTime,omitempty"` + ObservationStartTime *time.Time // REQUIRED; Observed metric name. - ObservedMetric *string `json:"observedMetric,omitempty"` + ObservedMetric *string } // TopQueryStatisticsResultList - A list of query statistics. type TopQueryStatisticsResultList struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The list of top query statistics. - Value []*QueryStatistic `json:"value,omitempty" azure:"ro"` + Value []*QueryStatistic } // 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 } // VirtualNetworkRule - A virtual network rule. type VirtualNetworkRule struct { // Resource properties. - Properties *VirtualNetworkRuleProperties `json:"properties,omitempty"` + Properties *VirtualNetworkRuleProperties // 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 } // VirtualNetworkRuleListResult - A list of virtual network rules. type VirtualNetworkRuleListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*VirtualNetworkRule `json:"value,omitempty" azure:"ro"` + Value []*VirtualNetworkRule } // VirtualNetworkRuleProperties - Properties of a virtual network rule. type VirtualNetworkRuleProperties struct { // REQUIRED; The ARM resource id of the virtual network subnet. - VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"` + VirtualNetworkSubnetID *string // Create firewall rule before the virtual network has vnet service endpoint enabled. - IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` + IgnoreMissingVnetServiceEndpoint *bool // READ-ONLY; Virtual Network Rule State - State *VirtualNetworkRuleState `json:"state,omitempty" azure:"ro"` + State *VirtualNetworkRuleState } // VirtualNetworkRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkRulesClient.BeginCreateOrUpdate @@ -1659,46 +1659,46 @@ type VirtualNetworkRulesClientListByServerOptions struct { // WaitStatistic - Represents a Wait Statistic. type WaitStatistic struct { // The properties of a wait statistic. - Properties *WaitStatisticProperties `json:"properties,omitempty"` + Properties *WaitStatisticProperties // 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 } // WaitStatisticProperties - The properties of a wait statistic. type WaitStatisticProperties struct { // Wait event count observed in this time interval. - Count *int64 `json:"count,omitempty"` + Count *int64 // Database Name. - DatabaseName *string `json:"databaseName,omitempty"` + DatabaseName *string // Observation end time. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Wait event name. - EventName *string `json:"eventName,omitempty"` + EventName *string // Wait event type name. - EventTypeName *string `json:"eventTypeName,omitempty"` + EventTypeName *string // Database query identifier. - QueryID *int64 `json:"queryId,omitempty"` + QueryID *int64 // Observation start time. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // Total time of wait in milliseconds in this time interval. - TotalTimeInMs *float64 `json:"totalTimeInMs,omitempty"` + TotalTimeInMs *float64 // Database user identifier. - UserID *int64 `json:"userId,omitempty"` + UserID *int64 } // WaitStatisticsClientGetOptions contains the optional parameters for the WaitStatisticsClient.Get method. @@ -1715,26 +1715,26 @@ type WaitStatisticsClientListByServerOptions struct { // WaitStatisticsInput - Input to get wait statistics type WaitStatisticsInput struct { // REQUIRED; The properties of a wait statistics input. - Properties *WaitStatisticsInputProperties `json:"properties,omitempty"` + Properties *WaitStatisticsInputProperties } // WaitStatisticsInputProperties - The properties for input to get wait statistics type WaitStatisticsInputProperties struct { // REQUIRED; Aggregation interval type in ISO 8601 format. - AggregationWindow *string `json:"aggregationWindow,omitempty"` + AggregationWindow *string // REQUIRED; Observation end time. - ObservationEndTime *time.Time `json:"observationEndTime,omitempty"` + ObservationEndTime *time.Time // REQUIRED; Observation start time. - ObservationStartTime *time.Time `json:"observationStartTime,omitempty"` + ObservationStartTime *time.Time } // WaitStatisticsResultList - A list of wait statistics. type WaitStatisticsResultList struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The list of wait statistics. - Value []*WaitStatistic `json:"value,omitempty" azure:"ro"` + Value []*WaitStatistic } diff --git a/sdk/resourcemanager/mysql/armmysql/models_serde.go b/sdk/resourcemanager/mysql/armmysql/models_serde.go index b022ef586459..6867ea30a16c 100644 --- a/sdk/resourcemanager/mysql/armmysql/models_serde.go +++ b/sdk/resourcemanager/mysql/armmysql/models_serde.go @@ -21,7 +21,7 @@ func (a Advisor) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", a.ID) populate(objectMap, "name", a.Name) - populate(objectMap, "properties", &a.Properties) + populateAny(objectMap, "properties", a.Properties) populate(objectMap, "type", a.Type) return json.Marshal(objectMap) } @@ -299,7 +299,7 @@ func (d *DatabaseProperties) 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) } @@ -3367,6 +3367,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/mysql/armmysqlflexibleservers/CHANGELOG.md b/sdk/resourcemanager/mysql/armmysqlflexibleservers/CHANGELOG.md index f2d19faa4345..2b9163d36704 100644 --- a/sdk/resourcemanager/mysql/armmysqlflexibleservers/CHANGELOG.md +++ b/sdk/resourcemanager/mysql/armmysqlflexibleservers/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/mysql/armmysqlflexibleservers/autorest.md b/sdk/resourcemanager/mysql/armmysqlflexibleservers/autorest.md index dd03feb806ba..7888d98c079f 100644 --- a/sdk/resourcemanager/mysql/armmysqlflexibleservers/autorest.md +++ b/sdk/resourcemanager/mysql/armmysqlflexibleservers/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/mysql/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/mysql/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 package-flexibleservers: true ``` \ No newline at end of file diff --git a/sdk/resourcemanager/mysql/armmysqlflexibleservers/constants.go b/sdk/resourcemanager/mysql/armmysqlflexibleservers/constants.go index 5978eaf86e31..1fea8e92b078 100644 --- a/sdk/resourcemanager/mysql/armmysqlflexibleservers/constants.go +++ b/sdk/resourcemanager/mysql/armmysqlflexibleservers/constants.go @@ -11,7 +11,7 @@ package armmysqlflexibleservers const ( moduleName = "armmysqlflexibleservers" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // ConfigurationSource - Source of the configuration. diff --git a/sdk/resourcemanager/mysql/armmysqlflexibleservers/models.go b/sdk/resourcemanager/mysql/armmysqlflexibleservers/models.go index ee8b0ca17e9b..92828f6d2984 100644 --- a/sdk/resourcemanager/mysql/armmysqlflexibleservers/models.go +++ b/sdk/resourcemanager/mysql/armmysqlflexibleservers/models.go @@ -14,13 +14,13 @@ import "time" // Backup - Storage Profile properties of a server type Backup struct { // Backup retention days for the server. - BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` + BackupRetentionDays *int32 // Whether or not geo redundant backup is enabled. - GeoRedundantBackup *EnableStatusEnum `json:"geoRedundantBackup,omitempty"` + GeoRedundantBackup *EnableStatusEnum // READ-ONLY; Earliest restore point creation time (ISO8601 format) - EarliestRestoreDate *time.Time `json:"earliestRestoreDate,omitempty" azure:"ro"` + EarliestRestoreDate *time.Time } // BackupsClientGetOptions contains the optional parameters for the BackupsClient.Get method. @@ -36,25 +36,25 @@ type BackupsClientListByServerOptions struct { // CapabilitiesListResult - location capability type CapabilitiesListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of supported capabilities. - Value []*CapabilityProperties `json:"value,omitempty" azure:"ro"` + Value []*CapabilityProperties } // CapabilityProperties - Location capabilities. type CapabilityProperties struct { // READ-ONLY; A list of supported flexible server editions. - SupportedFlexibleServerEditions []*ServerEditionCapability `json:"supportedFlexibleServerEditions,omitempty" azure:"ro"` + SupportedFlexibleServerEditions []*ServerEditionCapability // READ-ONLY; supported geo backup regions - SupportedGeoBackupRegions []*string `json:"supportedGeoBackupRegions,omitempty" azure:"ro"` + SupportedGeoBackupRegions []*string // READ-ONLY; Supported high availability mode - SupportedHAMode []*string `json:"supportedHAMode,omitempty" azure:"ro"` + SupportedHAMode []*string // READ-ONLY; zone name - Zone *string `json:"zone,omitempty" azure:"ro"` + Zone *string } // CheckNameAvailabilityClientExecuteOptions contains the optional parameters for the CheckNameAvailabilityClient.Execute @@ -72,82 +72,82 @@ type CheckVirtualNetworkSubnetUsageClientExecuteOptions struct { // Configuration - Represents a Configuration. type Configuration struct { // The properties of a configuration. - Properties *ConfigurationProperties `json:"properties,omitempty"` + Properties *ConfigurationProperties // 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 metadata 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 } // ConfigurationForBatchUpdate - Represents a Configuration. type ConfigurationForBatchUpdate struct { // Name of the configuration. - Name *string `json:"name,omitempty"` + Name *string // The properties can be updated for a configuration. - Properties *ConfigurationForBatchUpdateProperties `json:"properties,omitempty"` + Properties *ConfigurationForBatchUpdateProperties } // ConfigurationForBatchUpdateProperties - The properties can be updated for a configuration. type ConfigurationForBatchUpdateProperties struct { // Source of the configuration. - Source *string `json:"source,omitempty"` + Source *string // Value of the configuration. - Value *string `json:"value,omitempty"` + Value *string } // ConfigurationListForBatchUpdate - A list of server configurations to update. type ConfigurationListForBatchUpdate struct { // The list of server configurations. - Value []*ConfigurationForBatchUpdate `json:"value,omitempty"` + Value []*ConfigurationForBatchUpdate } // ConfigurationListResult - A list of server configurations. type ConfigurationListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of server configurations. - Value []*Configuration `json:"value,omitempty"` + Value []*Configuration } // ConfigurationProperties - The properties of a configuration. type ConfigurationProperties struct { // Source of the configuration. - Source *ConfigurationSource `json:"source,omitempty"` + Source *ConfigurationSource // Value of the configuration. - Value *string `json:"value,omitempty"` + Value *string // READ-ONLY; Allowed values of the configuration. - AllowedValues *string `json:"allowedValues,omitempty" azure:"ro"` + AllowedValues *string // READ-ONLY; Data type of the configuration. - DataType *string `json:"dataType,omitempty" azure:"ro"` + DataType *string // READ-ONLY; Default value of the configuration. - DefaultValue *string `json:"defaultValue,omitempty" azure:"ro"` + DefaultValue *string // READ-ONLY; Description of the configuration. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; If is the configuration pending restart or not. - IsConfigPendingRestart *IsConfigPendingRestart `json:"isConfigPendingRestart,omitempty" azure:"ro"` + IsConfigPendingRestart *IsConfigPendingRestart // READ-ONLY; If is the configuration dynamic. - IsDynamicConfig *IsDynamicConfig `json:"isDynamicConfig,omitempty" azure:"ro"` + IsDynamicConfig *IsDynamicConfig // READ-ONLY; If is the configuration read only. - IsReadOnly *IsReadOnly `json:"isReadOnly,omitempty" azure:"ro"` + IsReadOnly *IsReadOnly } // ConfigurationsClientBeginBatchUpdateOptions contains the optional parameters for the ConfigurationsClient.BeginBatchUpdate @@ -177,55 +177,55 @@ type ConfigurationsClientListByServerOptions struct { // DataEncryption - The date encryption for cmk. type DataEncryption struct { // Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup - GeoBackupKeyURI *string `json:"geoBackupKeyUri,omitempty"` + GeoBackupKeyURI *string // Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup - GeoBackupUserAssignedIdentityID *string `json:"geoBackupUserAssignedIdentityId,omitempty"` + GeoBackupUserAssignedIdentityID *string // Primary key uri - PrimaryKeyURI *string `json:"primaryKeyUri,omitempty"` + PrimaryKeyURI *string // Primary user identity resource id - PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty"` + PrimaryUserAssignedIdentityID *string // The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. - Type *DataEncryptionType `json:"type,omitempty"` + Type *DataEncryptionType } // Database - Represents a Database. type Database struct { // The properties of a database. - Properties *DatabaseProperties `json:"properties,omitempty"` + Properties *DatabaseProperties // 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 metadata 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 } // DatabaseListResult - A List of databases. type DatabaseListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of databases housed in a server - Value []*Database `json:"value,omitempty"` + Value []*Database } // DatabaseProperties - The properties of a database. type DatabaseProperties struct { // The charset of the database. - Charset *string `json:"charset,omitempty"` + Charset *string // The collation of the database. - Collation *string `json:"collation,omitempty"` + Collation *string } // DatabasesClientBeginCreateOrUpdateOptions contains the optional parameters for the DatabasesClient.BeginCreateOrUpdate @@ -254,74 +254,74 @@ type DatabasesClientListByServerOptions struct { // DelegatedSubnetUsage - Delegated subnet usage data. type DelegatedSubnetUsage struct { // READ-ONLY; name of the subnet - SubnetName *string `json:"subnetName,omitempty" azure:"ro"` + SubnetName *string // READ-ONLY; Number of used delegated subnets - Usage *int64 `json:"usage,omitempty" azure:"ro"` + Usage *int64 } // 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 } // 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 { // 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 []*ErrorResponse `json:"details,omitempty" azure:"ro"` + Details []*ErrorResponse // 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 } // FirewallRule - Represents a server firewall rule. type FirewallRule struct { // REQUIRED; The properties of a firewall rule. - Properties *FirewallRuleProperties `json:"properties,omitempty"` + Properties *FirewallRuleProperties // 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 metadata 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 } // FirewallRuleListResult - A list of firewall rules. type FirewallRuleListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of firewall rules in a server. - Value []*FirewallRule `json:"value,omitempty"` + Value []*FirewallRule } // FirewallRuleProperties - The properties of a server firewall rule. type FirewallRuleProperties struct { // REQUIRED; The end IP address of the server firewall rule. Must be IPv4 format. - EndIPAddress *string `json:"endIpAddress,omitempty"` + EndIPAddress *string // REQUIRED; The start IP address of the server firewall rule. Must be IPv4 format. - StartIPAddress *string `json:"startIpAddress,omitempty"` + StartIPAddress *string } // FirewallRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallRulesClient.BeginCreateOrUpdate @@ -357,34 +357,34 @@ type GetPrivateDNSZoneSuffixClientExecuteOptions struct { // GetPrivateDNSZoneSuffixResponse - The response of get private dns zone suffix. type GetPrivateDNSZoneSuffixResponse struct { // Represents the private DNS zone suffix. - PrivateDNSZoneSuffix *string `json:"privateDnsZoneSuffix,omitempty"` + PrivateDNSZoneSuffix *string } // HighAvailability - Network related properties of a server type HighAvailability struct { // High availability mode for a server. - Mode *HighAvailabilityMode `json:"mode,omitempty"` + Mode *HighAvailabilityMode // Availability zone of the standby server. - StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"` + StandbyAvailabilityZone *string // READ-ONLY; The state of server high availability. - State *HighAvailabilityState `json:"state,omitempty" azure:"ro"` + State *HighAvailabilityState } // Identity - Properties to configure Identity for Bring your Own Keys type Identity struct { // Type of managed service identity. - Type *string `json:"type,omitempty"` + Type *string // Metadata of user assigned identity. - UserAssignedIdentities map[string]any `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]any // READ-ONLY; ObjectId from the KeyVault - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; TenantId from the KeyVault - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // LocationBasedCapabilitiesClientListOptions contains the optional parameters for the LocationBasedCapabilitiesClient.NewListPager @@ -396,88 +396,88 @@ type LocationBasedCapabilitiesClientListOptions struct { // MaintenanceWindow - Maintenance window of a server. type MaintenanceWindow struct { // indicates whether custom window is enabled or disabled - CustomWindow *string `json:"customWindow,omitempty"` + CustomWindow *string // day of week for maintenance window - DayOfWeek *int32 `json:"dayOfWeek,omitempty"` + DayOfWeek *int32 // start hour for maintenance window - StartHour *int32 `json:"startHour,omitempty"` + StartHour *int32 // start minute for maintenance window - StartMinute *int32 `json:"startMinute,omitempty"` + StartMinute *int32 } // NameAvailability - Represents a resource name availability. type NameAvailability struct { // Error Message. - Message *string `json:"message,omitempty"` + Message *string // Indicates whether the resource name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // Reason for name being unavailable. - Reason *string `json:"reason,omitempty"` + Reason *string } // NameAvailabilityRequest - Request from client to check resource name availability. type NameAvailabilityRequest struct { // REQUIRED; Resource name to verify. - Name *string `json:"name,omitempty"` + Name *string // Resource type used for verification. - Type *string `json:"type,omitempty"` + Type *string } // Network related properties of a server type Network struct { // Delegated subnet resource id used to setup vnet for a server. - DelegatedSubnetResourceID *string `json:"delegatedSubnetResourceId,omitempty"` + DelegatedSubnetResourceID *string // Private DNS zone resource id. - PrivateDNSZoneResourceID *string `json:"privateDnsZoneResourceId,omitempty"` + PrivateDNSZoneResourceID *string // READ-ONLY; Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. - PublicNetworkAccess *EnableStatusEnum `json:"publicNetworkAccess,omitempty" azure:"ro"` + PublicNetworkAccess *EnableStatusEnum } // Operation - REST API operation definition. type Operation struct { // The localized display information for this particular operation or action. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // The name of the operation being performed on this particular object. - Name *string `json:"name,omitempty"` + Name *string // The intended executor of the operation. - Origin *string `json:"origin,omitempty"` + Origin *string // Additional descriptions for the operation. - Properties map[string]any `json:"properties,omitempty"` + Properties map[string]any } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // Operation description. - Description *string `json:"description,omitempty"` + Description *string // Localized friendly name for the operation. - Operation *string `json:"operation,omitempty"` + Operation *string // Operation resource provider name. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - A list of resource provider operations. type OperationListResult struct { // URL client should use to fetch the next page (per server side paging). - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Collection of available operation details - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -489,13 +489,13 @@ type OperationsClientListOptions struct { // 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 } // ReplicasClientListByServerOptions contains the optional parameters for the ReplicasClient.NewListByServerPager method. @@ -506,239 +506,239 @@ type ReplicasClientListByServerOptions 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 } // SKU - Billing information related properties of a server. type SKU struct { // REQUIRED; The name of the sku, e.g. StandardD32sv3. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The tier of the particular SKU, e.g. GeneralPurpose. - Tier *SKUTier `json:"tier,omitempty"` + Tier *SKUTier } // SKUCapability - Sku capability type SKUCapability struct { // READ-ONLY; vCore name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; supported IOPS - SupportedIops *int64 `json:"supportedIops,omitempty" azure:"ro"` + SupportedIops *int64 // READ-ONLY; supported memory per vCore in MB - SupportedMemoryPerVCoreMB *int64 `json:"supportedMemoryPerVCoreMB,omitempty" azure:"ro"` + SupportedMemoryPerVCoreMB *int64 // READ-ONLY; supported vCores - VCores *int64 `json:"vCores,omitempty" azure:"ro"` + VCores *int64 } // Server - Represents a server. type Server struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // The cmk identity for the server. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Properties of the server. - Properties *ServerProperties `json:"properties,omitempty"` + Properties *ServerProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // 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 metadata 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 } // ServerBackup - Server backup properties type ServerBackup struct { // The properties of a server backup. - Properties *ServerBackupProperties `json:"properties,omitempty"` + Properties *ServerBackupProperties // 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 metadata 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 } // ServerBackupListResult - A list of server backups. type ServerBackupListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of backups of a server. - Value []*ServerBackup `json:"value,omitempty"` + Value []*ServerBackup } // ServerBackupProperties - The properties of a server backup. type ServerBackupProperties struct { // Backup type. - BackupType *string `json:"backupType,omitempty"` + BackupType *string // Backup completed time (ISO8601 format). - CompletedTime *time.Time `json:"completedTime,omitempty"` + CompletedTime *time.Time // Backup source - Source *string `json:"source,omitempty"` + Source *string } // ServerEditionCapability - Server edition capabilities. type ServerEditionCapability struct { // READ-ONLY; Server edition name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; A list of supported server versions. - SupportedServerVersions []*ServerVersionCapability `json:"supportedServerVersions,omitempty" azure:"ro"` + SupportedServerVersions []*ServerVersionCapability // READ-ONLY; A list of supported storage editions - SupportedStorageEditions []*StorageEditionCapability `json:"supportedStorageEditions,omitempty" azure:"ro"` + SupportedStorageEditions []*StorageEditionCapability } // ServerForUpdate - Parameters allowed to update for a server. type ServerForUpdate struct { // The cmk identity for the server. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // The properties that can be updated for a server. - Properties *ServerPropertiesForUpdate `json:"properties,omitempty"` + Properties *ServerPropertiesForUpdate // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerListResult - A list of servers. type ServerListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of servers - Value []*Server `json:"value,omitempty"` + Value []*Server } // ServerProperties - The properties of a server. type ServerProperties struct { // The administrator's login name of a server. Can only be specified when the server is being created (and is required for // creation). - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // The password of the administrator login (required for server creation). - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // availability Zone information of the server. - AvailabilityZone *string `json:"availabilityZone,omitempty"` + AvailabilityZone *string // Backup related properties of a server. - Backup *Backup `json:"backup,omitempty"` + Backup *Backup // The mode to create a new MySQL server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // The Data Encryption for CMK. - DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + DataEncryption *DataEncryption // High availability related properties of a server. - HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + HighAvailability *HighAvailability // Maintenance window of a server. - MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + MaintenanceWindow *MaintenanceWindow // Network related properties of a server. - Network *Network `json:"network,omitempty"` + Network *Network // The replication role. - ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + ReplicationRole *ReplicationRole // Restore point creation time (ISO8601 format), specifying the time to restore from. - RestorePointInTime *time.Time `json:"restorePointInTime,omitempty"` + RestorePointInTime *time.Time // The source MySQL server id. - SourceServerResourceID *string `json:"sourceServerResourceId,omitempty"` + SourceServerResourceID *string // Storage related properties of a server. - Storage *Storage `json:"storage,omitempty"` + Storage *Storage // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion // READ-ONLY; The fully qualified domain name of a server. - FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty" azure:"ro"` + FullyQualifiedDomainName *string // READ-ONLY; The maximum number of replicas that a primary server can have. - ReplicaCapacity *int32 `json:"replicaCapacity,omitempty" azure:"ro"` + ReplicaCapacity *int32 // READ-ONLY; The state of a server. - State *ServerState `json:"state,omitempty" azure:"ro"` + State *ServerState } // ServerPropertiesForUpdate - The properties that can be updated for a server. type ServerPropertiesForUpdate struct { // The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // Backup related properties of a server. - Backup *Backup `json:"backup,omitempty"` + Backup *Backup // The Data Encryption for CMK. - DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + DataEncryption *DataEncryption // High availability related properties of a server. - HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + HighAvailability *HighAvailability // Maintenance window of a server. - MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + MaintenanceWindow *MaintenanceWindow // The replication role of the server. - ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + ReplicationRole *ReplicationRole // Storage related properties of a server. - Storage *Storage `json:"storage,omitempty"` + Storage *Storage } // ServerRestartParameter - Server restart parameters. type ServerRestartParameter struct { // The maximum allowed failover time in seconds. - MaxFailoverSeconds *int32 `json:"maxFailoverSeconds,omitempty"` + MaxFailoverSeconds *int32 // Whether or not failover to standby server when restarting a server with high availability enabled. - RestartWithFailover *EnableStatusEnum `json:"restartWithFailover,omitempty"` + RestartWithFailover *EnableStatusEnum } // ServerVersionCapability - Server version capabilities. type ServerVersionCapability struct { // READ-ONLY; server version - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; A list of supported Skus - SupportedSKUs []*SKUCapability `json:"supportedSkus,omitempty" azure:"ro"` + SupportedSKUs []*SKUCapability } // ServersClientBeginCreateOptions contains the optional parameters for the ServersClient.BeginCreate method. @@ -802,93 +802,93 @@ type ServersClientListOptions struct { // Storage Profile properties of a server type Storage struct { // Enable Storage Auto Grow or not. - AutoGrow *EnableStatusEnum `json:"autoGrow,omitempty"` + AutoGrow *EnableStatusEnum // Storage IOPS for a server. - Iops *int32 `json:"iops,omitempty"` + Iops *int32 // Max storage size allowed for a server. - StorageSizeGB *int32 `json:"storageSizeGB,omitempty"` + StorageSizeGB *int32 // READ-ONLY; The sku name of the server storage. - StorageSKU *string `json:"storageSku,omitempty" azure:"ro"` + StorageSKU *string } // StorageEditionCapability - storage edition capability type StorageEditionCapability struct { // READ-ONLY; Maximum backup retention days - MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty" azure:"ro"` + MaxBackupRetentionDays *int64 // READ-ONLY; The maximum supported storage size. - MaxStorageSize *int64 `json:"maxStorageSize,omitempty" azure:"ro"` + MaxStorageSize *int64 // READ-ONLY; Minimal backup retention days - MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty" azure:"ro"` + MinBackupRetentionDays *int64 // READ-ONLY; The minimal supported storage size. - MinStorageSize *int64 `json:"minStorageSize,omitempty" azure:"ro"` + MinStorageSize *int64 // READ-ONLY; storage edition name - Name *string `json:"name,omitempty" azure:"ro"` + Name *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 } // UserAssignedIdentity - Metadata of user assigned identity. 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 } // VirtualNetworkSubnetUsageParameter - Virtual network subnet usage parameter type VirtualNetworkSubnetUsageParameter struct { // Virtual network resource id. - VirtualNetworkResourceID *string `json:"virtualNetworkResourceId,omitempty"` + VirtualNetworkResourceID *string } // VirtualNetworkSubnetUsageResult - Virtual network subnet usage data. type VirtualNetworkSubnetUsageResult struct { // READ-ONLY; A list of delegated subnet usage - DelegatedSubnetsUsage []*DelegatedSubnetUsage `json:"delegatedSubnetsUsage,omitempty" azure:"ro"` + DelegatedSubnetsUsage []*DelegatedSubnetUsage } diff --git a/sdk/resourcemanager/mysql/armmysqlflexibleservers/models_serde.go b/sdk/resourcemanager/mysql/armmysqlflexibleservers/models_serde.go index acb3a2c085e2..77975d9b499f 100644 --- a/sdk/resourcemanager/mysql/armmysqlflexibleservers/models_serde.go +++ b/sdk/resourcemanager/mysql/armmysqlflexibleservers/models_serde.go @@ -525,7 +525,7 @@ func (d *DelegatedSubnetUsage) 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) } @@ -1935,6 +1935,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/network/armnetwork/CHANGELOG.md b/sdk/resourcemanager/network/armnetwork/CHANGELOG.md index e8305d4bdb28..cf63a807bfdc 100644 --- a/sdk/resourcemanager/network/armnetwork/CHANGELOG.md +++ b/sdk/resourcemanager/network/armnetwork/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 2.2.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 2.2.0 (2023-03-24) ### Features Added diff --git a/sdk/resourcemanager/network/armnetwork/autorest.md b/sdk/resourcemanager/network/armnetwork/autorest.md index 5486c540a38f..d0e49fa0adcf 100644 --- a/sdk/resourcemanager/network/armnetwork/autorest.md +++ b/sdk/resourcemanager/network/armnetwork/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/a60468a0c5e2beb054680ae488fb9f92699f0a0d/specification/network/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/a60468a0c5e2beb054680ae488fb9f92699f0a0d/specification/network/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 2.2.0 +module-version: 2.2.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/network/armnetwork/constants.go b/sdk/resourcemanager/network/armnetwork/constants.go index cc18abb259b0..74ebc60f5c75 100644 --- a/sdk/resourcemanager/network/armnetwork/constants.go +++ b/sdk/resourcemanager/network/armnetwork/constants.go @@ -11,7 +11,7 @@ package armnetwork const ( moduleName = "armnetwork" - moduleVersion = "v2.2.0" + moduleVersion = "v2.2.1" ) // Access - Access to be allowed or denied. diff --git a/sdk/resourcemanager/network/armnetwork/models.go b/sdk/resourcemanager/network/armnetwork/models.go index 9d618ffd389a..c1bbfa98ee58 100644 --- a/sdk/resourcemanager/network/armnetwork/models.go +++ b/sdk/resourcemanager/network/armnetwork/models.go @@ -14,23 +14,23 @@ import "time" // AADAuthenticationParameters - AAD Vpn authentication type related parameters. type AADAuthenticationParameters struct { // AAD Vpn authentication parameter AAD audience. - AADAudience *string `json:"aadAudience,omitempty"` + AADAudience *string // AAD Vpn authentication parameter AAD issuer. - AADIssuer *string `json:"aadIssuer,omitempty"` + AADIssuer *string // AAD Vpn authentication parameter AAD tenant. - AADTenant *string `json:"aadTenant,omitempty"` + AADTenant *string } // Action to be taken on a route matching a RouteMap criterion. type Action struct { // List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If // type is add, parameters would have list of ASN numbers to be added - Parameters []*Parameter `json:"parameters,omitempty"` + Parameters []*Parameter // Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.' - Type *RouteMapActionType `json:"type,omitempty"` + Type *RouteMapActionType } // ActiveBaseSecurityAdminRuleClassification provides polymorphic access to related types. @@ -45,28 +45,28 @@ type ActiveBaseSecurityAdminRuleClassification interface { // ActiveBaseSecurityAdminRule - Network base admin rule. type ActiveBaseSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // Deployment time string. - CommitTime *time.Time `json:"commitTime,omitempty"` + CommitTime *time.Time // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Deployment region. - Region *string `json:"region,omitempty"` + Region *string // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetActiveBaseSecurityAdminRule implements the ActiveBaseSecurityAdminRuleClassification interface for type ActiveBaseSecurityAdminRule. @@ -77,29 +77,29 @@ func (a *ActiveBaseSecurityAdminRule) GetActiveBaseSecurityAdminRule() *ActiveBa // ActiveConfigurationParameter - Effective Virtual Networks Parameter. type ActiveConfigurationParameter struct { // List of regions. - Regions []*string `json:"regions,omitempty"` + Regions []*string // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string } // ActiveConnectivityConfiguration - Active connectivity configuration. type ActiveConnectivityConfiguration struct { // Deployment time string. - CommitTime *time.Time `json:"commitTime,omitempty"` + CommitTime *time.Time // Effective configuration groups. - ConfigurationGroups []*ConfigurationGroup `json:"configurationGroups,omitempty"` + ConfigurationGroups []*ConfigurationGroup // Connectivity configuration ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of a network manager connectivity configuration - Properties *ConnectivityConfigurationProperties `json:"properties,omitempty"` + Properties *ConnectivityConfigurationProperties // Deployment region. - Region *string `json:"region,omitempty"` + Region *string } // ActiveConnectivityConfigurationsListResult - Result of the request to list active connectivity configurations. It contains @@ -107,40 +107,40 @@ type ActiveConnectivityConfiguration struct { type ActiveConnectivityConfigurationsListResult struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // Gets a page of active connectivity configurations. - Value []*ActiveConnectivityConfiguration `json:"value,omitempty"` + Value []*ActiveConnectivityConfiguration } // ActiveDefaultSecurityAdminRule - Network default admin rule. type ActiveDefaultSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // Deployment time string. - CommitTime *time.Time `json:"commitTime,omitempty"` + CommitTime *time.Time // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Indicates the properties of the default security admin rule - Properties *DefaultAdminPropertiesFormat `json:"properties,omitempty"` + Properties *DefaultAdminPropertiesFormat // Deployment region. - Region *string `json:"region,omitempty"` + Region *string // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetActiveBaseSecurityAdminRule implements the ActiveBaseSecurityAdminRuleClassification interface for type ActiveDefaultSecurityAdminRule. @@ -160,31 +160,31 @@ func (a *ActiveDefaultSecurityAdminRule) GetActiveBaseSecurityAdminRule() *Activ // ActiveSecurityAdminRule - Network admin rule. type ActiveSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // Deployment time string. - CommitTime *time.Time `json:"commitTime,omitempty"` + CommitTime *time.Time // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Indicates the properties of the security admin rule - Properties *AdminPropertiesFormat `json:"properties,omitempty"` + Properties *AdminPropertiesFormat // Deployment region. - Region *string `json:"region,omitempty"` + Region *string // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetActiveBaseSecurityAdminRule implements the ActiveBaseSecurityAdminRuleClassification interface for type ActiveSecurityAdminRule. @@ -206,83 +206,83 @@ func (a *ActiveSecurityAdminRule) GetActiveBaseSecurityAdminRule() *ActiveBaseSe type ActiveSecurityAdminRulesListResult struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // Gets a page of active security admin rules. - Value []ActiveBaseSecurityAdminRuleClassification `json:"value,omitempty"` + Value []ActiveBaseSecurityAdminRuleClassification } // AddressPrefixItem - Address prefix item. type AddressPrefixItem struct { // Address prefix. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // Address prefix type. - AddressPrefixType *AddressPrefixType `json:"addressPrefixType,omitempty"` + AddressPrefixType *AddressPrefixType } // AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. type AddressSpace struct { // A list of address blocks reserved for this virtual network in CIDR notation. - AddressPrefixes []*string `json:"addressPrefixes,omitempty"` + AddressPrefixes []*string } // AdminPropertiesFormat - Security admin rule resource. type AdminPropertiesFormat struct { // REQUIRED; Indicates the access allowed for this particular rule - Access *SecurityConfigurationRuleAccess `json:"access,omitempty"` + Access *SecurityConfigurationRuleAccess // REQUIRED; Indicates if the traffic matched against the rule in inbound or outbound. - Direction *SecurityConfigurationRuleDirection `json:"direction,omitempty"` + Direction *SecurityConfigurationRuleDirection // REQUIRED; The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule // in the collection. The lower the priority number, the higher the priority of the rule. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // REQUIRED; Network protocol this rule applies to. - Protocol *SecurityConfigurationRuleProtocol `json:"protocol,omitempty"` + Protocol *SecurityConfigurationRuleProtocol // A description for this rule. Restricted to 140 chars. - Description *string `json:"description,omitempty"` + Description *string // The destination port ranges. - DestinationPortRanges []*string `json:"destinationPortRanges,omitempty"` + DestinationPortRanges []*string // The destination address prefixes. CIDR or destination IP ranges. - Destinations []*AddressPrefixItem `json:"destinations,omitempty"` + Destinations []*AddressPrefixItem // The source port ranges. - SourcePortRanges []*string `json:"sourcePortRanges,omitempty"` + SourcePortRanges []*string // The CIDR or source IP ranges. - Sources []*AddressPrefixItem `json:"sources,omitempty"` + Sources []*AddressPrefixItem // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AdminRule - Network admin rule. type AdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *AdminRuleKind `json:"kind,omitempty"` + Kind *AdminRuleKind // Indicates the properties of the security admin rule - Properties *AdminPropertiesFormat `json:"properties,omitempty"` + Properties *AdminPropertiesFormat // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetBaseAdminRule implements the BaseAdminRuleClassification interface for type AdminRule. @@ -300,43 +300,43 @@ func (a *AdminRule) GetBaseAdminRule() *BaseAdminRule { // AdminRuleCollection - Defines the admin rule collection. type AdminRuleCollection struct { // Indicates the properties for the network manager admin rule collection. - Properties *AdminRuleCollectionPropertiesFormat `json:"properties,omitempty"` + Properties *AdminRuleCollectionPropertiesFormat // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AdminRuleCollectionListResult - Security admin configuration rule collection list result. type AdminRuleCollectionListResult struct { // Gets the URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of network manager security admin configuration rule collections - Value []*AdminRuleCollection `json:"value,omitempty"` + Value []*AdminRuleCollection } // AdminRuleCollectionPropertiesFormat - Defines the admin rule collection properties. type AdminRuleCollectionPropertiesFormat struct { // REQUIRED; Groups for configuration - AppliesToGroups []*ManagerSecurityGroupItem `json:"appliesToGroups,omitempty"` + AppliesToGroups []*ManagerSecurityGroupItem // A description of the admin rule collection. - Description *string `json:"description,omitempty"` + Description *string // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AdminRuleCollectionsClientBeginDeleteOptions contains the optional parameters for the AdminRuleCollectionsClient.BeginDelete @@ -374,10 +374,10 @@ type AdminRuleCollectionsClientListOptions struct { // AdminRuleListResult - security configuration admin rule list result. type AdminRuleListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of admin rules - Value []BaseAdminRuleClassification `json:"value,omitempty"` + Value []BaseAdminRuleClassification } // AdminRulesClientBeginDeleteOptions contains the optional parameters for the AdminRulesClient.BeginDelete method. @@ -412,840 +412,840 @@ type AdminRulesClientListOptions struct { // ApplicationGateway - Application gateway resource. type ApplicationGateway struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The identity of the application gateway, if configured. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the application gateway. - Properties *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting where the resource needs to come from. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayAuthenticationCertificate - Authentication certificates of an application gateway. type ApplicationGatewayAuthenticationCertificate struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the authentication certificate that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway authentication certificate. - Properties *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayAuthenticationCertificatePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayAuthenticationCertificatePropertiesFormat - Authentication certificates properties of an application // gateway. type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct { // Certificate public data. - Data *string `json:"data,omitempty"` + Data *string // READ-ONLY; The provisioning state of the authentication certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayAutoscaleConfiguration - Application Gateway autoscale configuration. type ApplicationGatewayAutoscaleConfiguration struct { // REQUIRED; Lower bound on number of Application Gateway capacity. - MinCapacity *int32 `json:"minCapacity,omitempty"` + MinCapacity *int32 // Upper bound on number of Application Gateway capacity. - MaxCapacity *int32 `json:"maxCapacity,omitempty"` + MaxCapacity *int32 } // ApplicationGatewayAvailableSSLOptions - Response for ApplicationGatewayAvailableSslOptions API service call. type ApplicationGatewayAvailableSSLOptions struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the application gateway available SSL options. - Properties *ApplicationGatewayAvailableSSLOptionsPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayAvailableSSLOptionsPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayAvailableSSLOptionsPropertiesFormat - Properties of ApplicationGatewayAvailableSslOptions. type ApplicationGatewayAvailableSSLOptionsPropertiesFormat struct { // List of available Ssl cipher suites. - AvailableCipherSuites []*ApplicationGatewaySSLCipherSuite `json:"availableCipherSuites,omitempty"` + AvailableCipherSuites []*ApplicationGatewaySSLCipherSuite // List of available Ssl protocols. - AvailableProtocols []*ApplicationGatewaySSLProtocol `json:"availableProtocols,omitempty"` + AvailableProtocols []*ApplicationGatewaySSLProtocol // Name of the Ssl predefined policy applied by default to application gateway. - DefaultPolicy *ApplicationGatewaySSLPolicyName `json:"defaultPolicy,omitempty"` + DefaultPolicy *ApplicationGatewaySSLPolicyName // List of available Ssl predefined policy. - PredefinedPolicies []*SubResource `json:"predefinedPolicies,omitempty"` + PredefinedPolicies []*SubResource } // ApplicationGatewayAvailableSSLPredefinedPolicies - Response for ApplicationGatewayAvailableSslOptions API service call. type ApplicationGatewayAvailableSSLPredefinedPolicies struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of available Ssl predefined policy. - Value []*ApplicationGatewaySSLPredefinedPolicy `json:"value,omitempty"` + Value []*ApplicationGatewaySSLPredefinedPolicy } // ApplicationGatewayAvailableWafRuleSetsResult - Response for ApplicationGatewayAvailableWafRuleSets API service call. type ApplicationGatewayAvailableWafRuleSetsResult struct { // The list of application gateway rule sets. - Value []*ApplicationGatewayFirewallRuleSet `json:"value,omitempty"` + Value []*ApplicationGatewayFirewallRuleSet } // ApplicationGatewayBackendAddress - Backend address of an application gateway. type ApplicationGatewayBackendAddress struct { // Fully qualified domain name (FQDN). - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // IP address. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string } // ApplicationGatewayBackendAddressPool - Backend Address Pool of an application gateway. type ApplicationGatewayBackendAddressPool struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the backend address pool that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway backend address pool. - Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayBackendAddressPoolPropertiesFormat - Properties of Backend Address Pool of an application gateway. type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { // Backend addresses. - BackendAddresses []*ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` + BackendAddresses []*ApplicationGatewayBackendAddress // READ-ONLY; Collection of references to IPs defined in network interfaces. - BackendIPConfigurations []*InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty" azure:"ro"` + BackendIPConfigurations []*InterfaceIPConfiguration // READ-ONLY; The provisioning state of the backend address pool resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayBackendHTTPSettings - Backend address pool settings of an application gateway. type ApplicationGatewayBackendHTTPSettings struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the backend http settings that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway backend HTTP settings. - Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayBackendHTTPSettingsPropertiesFormat - Properties of Backend address pool settings of an application gateway. type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct { // Cookie name to use for the affinity cookie. - AffinityCookieName *string `json:"affinityCookieName,omitempty"` + AffinityCookieName *string // Array of references to application gateway authentication certificates. - AuthenticationCertificates []*SubResource `json:"authenticationCertificates,omitempty"` + AuthenticationCertificates []*SubResource // Connection draining of the backend http settings resource. - ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"` + ConnectionDraining *ApplicationGatewayConnectionDraining // Cookie based affinity. - CookieBasedAffinity *ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"` + CookieBasedAffinity *ApplicationGatewayCookieBasedAffinity // Host header to be sent to the backend servers. - HostName *string `json:"hostName,omitempty"` + HostName *string // Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null. - Path *string `json:"path,omitempty"` + Path *string // Whether to pick host header should be picked from the host name of the backend server. Default value is false. - PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + PickHostNameFromBackendAddress *bool // The destination port on the backend. - Port *int32 `json:"port,omitempty"` + Port *int32 // Probe resource of an application gateway. - Probe *SubResource `json:"probe,omitempty"` + Probe *SubResource // Whether the probe is enabled. Default value is false. - ProbeEnabled *bool `json:"probeEnabled,omitempty"` + ProbeEnabled *bool // The protocol used to communicate with the backend. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. // Acceptable values are from 1 second to 86400 seconds. - RequestTimeout *int32 `json:"requestTimeout,omitempty"` + RequestTimeout *int32 // Array of references to application gateway trusted root certificates. - TrustedRootCertificates []*SubResource `json:"trustedRootCertificates,omitempty"` + TrustedRootCertificates []*SubResource // READ-ONLY; The provisioning state of the backend HTTP settings resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayBackendHealth - Response for ApplicationGatewayBackendHealth API service call. type ApplicationGatewayBackendHealth struct { // A list of ApplicationGatewayBackendHealthPool resources. - BackendAddressPools []*ApplicationGatewayBackendHealthPool `json:"backendAddressPools,omitempty"` + BackendAddressPools []*ApplicationGatewayBackendHealthPool } // ApplicationGatewayBackendHealthHTTPSettings - Application gateway BackendHealthHttp settings. type ApplicationGatewayBackendHealthHTTPSettings struct { // Reference to an ApplicationGatewayBackendHttpSettings resource. - BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettings,omitempty"` + BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings // List of ApplicationGatewayBackendHealthServer resources. - Servers []*ApplicationGatewayBackendHealthServer `json:"servers,omitempty"` + Servers []*ApplicationGatewayBackendHealthServer } // ApplicationGatewayBackendHealthOnDemand - Result of on demand test probe. type ApplicationGatewayBackendHealthOnDemand struct { // Reference to an ApplicationGatewayBackendAddressPool resource. - BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` + BackendAddressPool *ApplicationGatewayBackendAddressPool // Application gateway BackendHealthHttp settings. - BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings `json:"backendHealthHttpSettings,omitempty"` + BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings } // ApplicationGatewayBackendHealthPool - Application gateway BackendHealth pool. type ApplicationGatewayBackendHealthPool struct { // Reference to an ApplicationGatewayBackendAddressPool resource. - BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"` + BackendAddressPool *ApplicationGatewayBackendAddressPool // List of ApplicationGatewayBackendHealthHttpSettings resources. - BackendHTTPSettingsCollection []*ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` + BackendHTTPSettingsCollection []*ApplicationGatewayBackendHealthHTTPSettings } // ApplicationGatewayBackendHealthServer - Application gateway backendhealth http settings. type ApplicationGatewayBackendHealthServer struct { // IP address or FQDN of backend server. - Address *string `json:"address,omitempty"` + Address *string // Health of backend server. - Health *ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"` + Health *ApplicationGatewayBackendHealthServerHealth // Health Probe Log. - HealthProbeLog *string `json:"healthProbeLog,omitempty"` + HealthProbeLog *string // Reference to IP configuration of backend server. - IPConfiguration *InterfaceIPConfiguration `json:"ipConfiguration,omitempty"` + IPConfiguration *InterfaceIPConfiguration } // ApplicationGatewayBackendSettings - Backend address pool settings of an application gateway. type ApplicationGatewayBackendSettings struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the backend settings that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway backend settings. - Properties *ApplicationGatewayBackendSettingsPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayBackendSettingsPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayBackendSettingsPropertiesFormat - Properties of Backend address pool settings of an application gateway. type ApplicationGatewayBackendSettingsPropertiesFormat struct { // Server name indication to be sent to the backend servers for Tls protocol. - HostName *string `json:"hostName,omitempty"` + HostName *string // Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. - PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"` + PickHostNameFromBackendAddress *bool // The destination port on the backend. - Port *int32 `json:"port,omitempty"` + Port *int32 // Probe resource of an application gateway. - Probe *SubResource `json:"probe,omitempty"` + Probe *SubResource // The protocol used to communicate with the backend. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. // Acceptable values are from 1 second to 86400 seconds. - Timeout *int32 `json:"timeout,omitempty"` + Timeout *int32 // Array of references to application gateway trusted root certificates. - TrustedRootCertificates []*SubResource `json:"trustedRootCertificates,omitempty"` + TrustedRootCertificates []*SubResource // READ-ONLY; The provisioning state of the backend HTTP settings resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayClientAuthConfiguration - Application gateway client authentication configuration. type ApplicationGatewayClientAuthConfiguration struct { // Verify client certificate issuer name on the application gateway. - VerifyClientCertIssuerDN *bool `json:"verifyClientCertIssuerDN,omitempty"` + VerifyClientCertIssuerDN *bool // Verify client certificate revocation status. - VerifyClientRevocation *ApplicationGatewayClientRevocationOptions `json:"verifyClientRevocation,omitempty"` + VerifyClientRevocation *ApplicationGatewayClientRevocationOptions } // ApplicationGatewayConnectionDraining - Connection draining allows open connections to a backend server to be active for // a specified time after the backend server got removed from the configuration. type ApplicationGatewayConnectionDraining struct { // REQUIRED; The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds. - DrainTimeoutInSec *int32 `json:"drainTimeoutInSec,omitempty"` + DrainTimeoutInSec *int32 // REQUIRED; Whether connection draining is enabled or not. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool } // ApplicationGatewayCustomError - Custom error of an application gateway. type ApplicationGatewayCustomError struct { // Error page URL of the application gateway custom error. - CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"` + CustomErrorPageURL *string // Status code of the application gateway custom error. - StatusCode *ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"` + StatusCode *ApplicationGatewayCustomErrorStatusCode } // ApplicationGatewayFirewallDisabledRuleGroup - Allows to disable rules within a rule group or an entire rule group. type ApplicationGatewayFirewallDisabledRuleGroup struct { // REQUIRED; The name of the rule group that will be disabled. - RuleGroupName *string `json:"ruleGroupName,omitempty"` + RuleGroupName *string // The list of rules that will be disabled. If null, all rules of the rule group will be disabled. - Rules []*int32 `json:"rules,omitempty"` + Rules []*int32 } // ApplicationGatewayFirewallExclusion - Allow to exclude some variable satisfy the condition for the WAF check. type ApplicationGatewayFirewallExclusion struct { // REQUIRED; The variable to be excluded. - MatchVariable *string `json:"matchVariable,omitempty"` + MatchVariable *string // REQUIRED; When matchVariable is a collection, operator used to specify which elements in the collection this exclusion // applies to. - Selector *string `json:"selector,omitempty"` + Selector *string // REQUIRED; When matchVariable is a collection, operate on the selector to specify which elements in the collection this // exclusion applies to. - SelectorMatchOperator *string `json:"selectorMatchOperator,omitempty"` + SelectorMatchOperator *string } // ApplicationGatewayFirewallManifestRuleSet - Properties of the web application firewall rule set. type ApplicationGatewayFirewallManifestRuleSet struct { // REQUIRED; The rule groups of the web application firewall rule set. - RuleGroups []*ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ApplicationGatewayFirewallRuleGroup // REQUIRED; The type of the web application firewall rule set. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // REQUIRED; The version of the web application firewall rule set type. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string // The rule set status - Status *ApplicationGatewayRuleSetStatusOptions `json:"status,omitempty"` + Status *ApplicationGatewayRuleSetStatusOptions // Tier of an application gateway that support the rule set. - Tiers []*ApplicationGatewayTierTypes `json:"tiers,omitempty"` + Tiers []*ApplicationGatewayTierTypes } // ApplicationGatewayFirewallRule - A web application firewall rule. type ApplicationGatewayFirewallRule struct { // REQUIRED; The identifier of the web application firewall rule. - RuleID *int32 `json:"ruleId,omitempty"` + RuleID *int32 // The string representation of the web application firewall rule action. - Action *ApplicationGatewayWafRuleActionTypes `json:"action,omitempty"` + Action *ApplicationGatewayWafRuleActionTypes // The description of the web application firewall rule. - Description *string `json:"description,omitempty"` + Description *string // The string representation of the web application firewall rule identifier. - RuleIDString *string `json:"ruleIdString,omitempty"` + RuleIDString *string // The string representation of the web application firewall rule state. - State *ApplicationGatewayWafRuleStateTypes `json:"state,omitempty"` + State *ApplicationGatewayWafRuleStateTypes } // ApplicationGatewayFirewallRuleGroup - A web application firewall rule group. type ApplicationGatewayFirewallRuleGroup struct { // REQUIRED; The name of the web application firewall rule group. - RuleGroupName *string `json:"ruleGroupName,omitempty"` + RuleGroupName *string // REQUIRED; The rules of the web application firewall rule group. - Rules []*ApplicationGatewayFirewallRule `json:"rules,omitempty"` + Rules []*ApplicationGatewayFirewallRule // The description of the web application firewall rule group. - Description *string `json:"description,omitempty"` + Description *string } // ApplicationGatewayFirewallRuleSet - A web application firewall rule set. type ApplicationGatewayFirewallRuleSet struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the application gateway firewall rule set. - Properties *ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayFirewallRuleSetPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayFirewallRuleSetPropertiesFormat - Properties of the web application firewall rule set. type ApplicationGatewayFirewallRuleSetPropertiesFormat struct { // REQUIRED; The rule groups of the web application firewall rule set. - RuleGroups []*ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ApplicationGatewayFirewallRuleGroup // REQUIRED; The type of the web application firewall rule set. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // REQUIRED; The version of the web application firewall rule set type. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string // Tier of an application gateway that support the rule set. - Tiers []*ApplicationGatewayTierTypes `json:"tiers,omitempty"` + Tiers []*ApplicationGatewayTierTypes // READ-ONLY; The provisioning state of the web application firewall rule set. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayFrontendIPConfiguration - Frontend IP configuration of an application gateway. type ApplicationGatewayFrontendIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the frontend IP configuration that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway frontend IP configuration. - Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayFrontendIPConfigurationPropertiesFormat - Properties of Frontend IP configuration of an application gateway. type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct { // PrivateIPAddress of the network interface IP Configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // Reference to the application gateway private link configuration. - PrivateLinkConfiguration *SubResource `json:"privateLinkConfiguration,omitempty"` + PrivateLinkConfiguration *SubResource // Reference to the PublicIP resource. - PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + PublicIPAddress *SubResource // Reference to the subnet resource. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // READ-ONLY; The provisioning state of the frontend IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayFrontendPort - Frontend port of an application gateway. type ApplicationGatewayFrontendPort struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the frontend port that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway frontend port. - Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayFrontendPortPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayFrontendPortPropertiesFormat - Properties of Frontend port of an application gateway. type ApplicationGatewayFrontendPortPropertiesFormat struct { // Frontend port. - Port *int32 `json:"port,omitempty"` + Port *int32 // READ-ONLY; The provisioning state of the frontend port resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayGlobalConfiguration - Application Gateway global configuration. type ApplicationGatewayGlobalConfiguration struct { // Enable request buffering. - EnableRequestBuffering *bool `json:"enableRequestBuffering,omitempty"` + EnableRequestBuffering *bool // Enable response buffering. - EnableResponseBuffering *bool `json:"enableResponseBuffering,omitempty"` + EnableResponseBuffering *bool } // ApplicationGatewayHTTPListener - Http listener of an application gateway. type ApplicationGatewayHTTPListener struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the HTTP listener that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway HTTP listener. - Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayHTTPListenerPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayHTTPListenerPropertiesFormat - Properties of HTTP listener of an application gateway. type ApplicationGatewayHTTPListenerPropertiesFormat struct { // Custom error configurations of the HTTP listener. - CustomErrorConfigurations []*ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + CustomErrorConfigurations []*ApplicationGatewayCustomError // Reference to the FirewallPolicy resource. - FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FirewallPolicy *SubResource // Frontend IP configuration resource of an application gateway. - FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendIPConfiguration *SubResource // Frontend port resource of an application gateway. - FrontendPort *SubResource `json:"frontendPort,omitempty"` + FrontendPort *SubResource // Host name of HTTP listener. - HostName *string `json:"hostName,omitempty"` + HostName *string // List of Host names for HTTP Listener that allows special wildcard characters as well. - HostNames []*string `json:"hostNames,omitempty"` + HostNames []*string // Protocol of the HTTP listener. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // Applicable only if protocol is https. Enables SNI for multi-hosting. - RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"` + RequireServerNameIndication *bool // SSL certificate resource of an application gateway. - SSLCertificate *SubResource `json:"sslCertificate,omitempty"` + SSLCertificate *SubResource // SSL profile resource of the application gateway. - SSLProfile *SubResource `json:"sslProfile,omitempty"` + SSLProfile *SubResource // READ-ONLY; The provisioning state of the HTTP listener resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayHeaderConfiguration - Header configuration of the Actions set in Application Gateway. type ApplicationGatewayHeaderConfiguration struct { // Header name of the header configuration. - HeaderName *string `json:"headerName,omitempty"` + HeaderName *string // Header value of the header configuration. - HeaderValue *string `json:"headerValue,omitempty"` + HeaderValue *string } // ApplicationGatewayIPConfiguration - IP configuration of an application gateway. Currently 1 public and 1 private IP configuration // is allowed. type ApplicationGatewayIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the IP configuration that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway IP configuration. - Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayIPConfigurationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayIPConfigurationPropertiesFormat - Properties of IP configuration of an application gateway. type ApplicationGatewayIPConfigurationPropertiesFormat struct { // Reference to the subnet resource. A subnet from where application gateway gets its private address. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // READ-ONLY; The provisioning state of the application gateway IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayListResult - Response for ListApplicationGateways API service call. type ApplicationGatewayListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of an application gateways in a resource group. - Value []*ApplicationGateway `json:"value,omitempty"` + Value []*ApplicationGateway } // ApplicationGatewayListener - Listener of an application gateway. type ApplicationGatewayListener struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the listener that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway listener. - Properties *ApplicationGatewayListenerPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayListenerPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayListenerPropertiesFormat - Properties of listener of an application gateway. type ApplicationGatewayListenerPropertiesFormat struct { // Frontend IP configuration resource of an application gateway. - FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendIPConfiguration *SubResource // Frontend port resource of an application gateway. - FrontendPort *SubResource `json:"frontendPort,omitempty"` + FrontendPort *SubResource // Protocol of the listener. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // SSL certificate resource of an application gateway. - SSLCertificate *SubResource `json:"sslCertificate,omitempty"` + SSLCertificate *SubResource // SSL profile resource of the application gateway. - SSLProfile *SubResource `json:"sslProfile,omitempty"` + SSLProfile *SubResource // READ-ONLY; The provisioning state of the listener resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayLoadDistributionPolicy - Load Distribution Policy of an application gateway. type ApplicationGatewayLoadDistributionPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the load distribution policy that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway load distribution policy. - Properties *ApplicationGatewayLoadDistributionPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayLoadDistributionPolicyPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayLoadDistributionPolicyPropertiesFormat - Properties of Load Distribution Policy of an application gateway. type ApplicationGatewayLoadDistributionPolicyPropertiesFormat struct { // Load Distribution Targets resource of an application gateway. - LoadDistributionAlgorithm *ApplicationGatewayLoadDistributionAlgorithm `json:"loadDistributionAlgorithm,omitempty"` + LoadDistributionAlgorithm *ApplicationGatewayLoadDistributionAlgorithm // Load Distribution Targets resource of an application gateway. - LoadDistributionTargets []*ApplicationGatewayLoadDistributionTarget `json:"loadDistributionTargets,omitempty"` + LoadDistributionTargets []*ApplicationGatewayLoadDistributionTarget // READ-ONLY; The provisioning state of the Load Distribution Policy resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayLoadDistributionTarget - Load Distribution Target of an application gateway. type ApplicationGatewayLoadDistributionTarget struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the load distribution policy that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway load distribution target. - Properties *ApplicationGatewayLoadDistributionTargetPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayLoadDistributionTargetPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } type ApplicationGatewayLoadDistributionTargetPropertiesFormat struct { // Backend address pool resource of the application gateway. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // Weight per server. Range between 1 and 100. - WeightPerServer *int32 `json:"weightPerServer,omitempty"` + WeightPerServer *int32 } // ApplicationGatewayOnDemandProbe - Details of on demand test probe request. type ApplicationGatewayOnDemandProbe struct { // Reference to backend pool of application gateway to which probe request will be sent. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // Reference to backend http setting of application gateway to be used for test probe. - BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + BackendHTTPSettings *SubResource // Host name to send the probe to. - Host *string `json:"host,omitempty"` + Host *string // Criterion for classifying a healthy probe response. - Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` + Match *ApplicationGatewayProbeHealthResponseMatch // Relative path of probe. Valid path starts from '/'. Probe is sent to ://:. - Path *string `json:"path,omitempty"` + Path *string // Whether the host header should be picked from the backend http settings. Default value is false. - PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` + PickHostNameFromBackendHTTPSettings *bool // The protocol used for the probe. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable // values are from 1 second to 86400 seconds. - Timeout *int32 `json:"timeout,omitempty"` + Timeout *int32 } // ApplicationGatewayPathRule - Path rule of URL path map of an application gateway. type ApplicationGatewayPathRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the path rule that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway path rule. - Properties *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayPathRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayPathRulePropertiesFormat - Properties of path rule of an application gateway. type ApplicationGatewayPathRulePropertiesFormat struct { // Backend address pool resource of URL path map path rule. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // Backend http settings resource of URL path map path rule. - BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + BackendHTTPSettings *SubResource // Reference to the FirewallPolicy resource. - FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FirewallPolicy *SubResource // Load Distribution Policy resource of URL path map path rule. - LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + LoadDistributionPolicy *SubResource // Path rules of URL path map. - Paths []*string `json:"paths,omitempty"` + Paths []*string // Redirect configuration resource of URL path map path rule. - RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RedirectConfiguration *SubResource // Rewrite rule set resource of URL path map path rule. - RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` + RewriteRuleSet *SubResource // READ-ONLY; The provisioning state of the path rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayPrivateEndpointConnection - Private Endpoint connection on an application gateway. type ApplicationGatewayPrivateEndpointConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the private endpoint connection on an application gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway private endpoint connection. - Properties *ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"` + Properties *ApplicationGatewayPrivateEndpointConnectionProperties // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayPrivateEndpointConnectionListResult - Response for ListApplicationGatewayPrivateEndpointConnection API // service call. Gets all private endpoint connections for an application gateway. type ApplicationGatewayPrivateEndpointConnectionListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of private endpoint connections on an application gateway. - Value []*ApplicationGatewayPrivateEndpointConnection `json:"value,omitempty"` + Value []*ApplicationGatewayPrivateEndpointConnection } // ApplicationGatewayPrivateEndpointConnectionProperties - Properties of Private Link Resource of an application gateway. type ApplicationGatewayPrivateEndpointConnectionProperties struct { // A collection of information about the state of the connection between service consumer and provider. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState // READ-ONLY; The consumer link id. - LinkIdentifier *string `json:"linkIdentifier,omitempty" azure:"ro"` + LinkIdentifier *string // READ-ONLY; The resource of private end point. - PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"` + PrivateEndpoint *PrivateEndpoint // READ-ONLY; The provisioning state of the application gateway private endpoint connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayPrivateEndpointConnectionsClientBeginDeleteOptions contains the optional parameters for the ApplicationGatewayPrivateEndpointConnectionsClient.BeginDelete @@ -1277,104 +1277,104 @@ type ApplicationGatewayPrivateEndpointConnectionsClientListOptions struct { // ApplicationGatewayPrivateLinkConfiguration - Private Link Configuration on an application gateway. type ApplicationGatewayPrivateLinkConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the private link configuration that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway private link configuration. - Properties *ApplicationGatewayPrivateLinkConfigurationProperties `json:"properties,omitempty"` + Properties *ApplicationGatewayPrivateLinkConfigurationProperties // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayPrivateLinkConfigurationProperties - Properties of private link configuration on an application gateway. type ApplicationGatewayPrivateLinkConfigurationProperties struct { // An array of application gateway private link ip configurations. - IPConfigurations []*ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*ApplicationGatewayPrivateLinkIPConfiguration // READ-ONLY; The provisioning state of the application gateway private link configuration. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayPrivateLinkIPConfiguration - The application gateway private link ip configuration. type ApplicationGatewayPrivateLinkIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of application gateway private link ip configuration. - Name *string `json:"name,omitempty"` + Name *string // Properties of an application gateway private link ip configuration. - Properties *ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"` + Properties *ApplicationGatewayPrivateLinkIPConfigurationProperties // 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; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayPrivateLinkIPConfigurationProperties - Properties of an application gateway private link IP configuration. type ApplicationGatewayPrivateLinkIPConfigurationProperties struct { // Whether the ip configuration is primary or not. - Primary *bool `json:"primary,omitempty"` + Primary *bool // The private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // Reference to the subnet resource. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // READ-ONLY; The provisioning state of the application gateway private link IP configuration. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayPrivateLinkResource - PrivateLink Resource of an application gateway. type ApplicationGatewayPrivateLinkResource struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the private link resource that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway private link resource. - Properties *ApplicationGatewayPrivateLinkResourceProperties `json:"properties,omitempty"` + Properties *ApplicationGatewayPrivateLinkResourceProperties // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayPrivateLinkResourceListResult - Response for ListApplicationGatewayPrivateLinkResources API service call. // Gets all private link resources for an application gateway. type ApplicationGatewayPrivateLinkResourceListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of private link resources of an application gateway. - Value []*ApplicationGatewayPrivateLinkResource `json:"value,omitempty"` + Value []*ApplicationGatewayPrivateLinkResource } // ApplicationGatewayPrivateLinkResourceProperties - Properties of a private link resource. type ApplicationGatewayPrivateLinkResourceProperties struct { // Required DNS zone names of the the private link resource. - RequiredZoneNames []*string `json:"requiredZoneNames,omitempty"` + RequiredZoneNames []*string // READ-ONLY; Group identifier of private link resource. - GroupID *string `json:"groupId,omitempty" azure:"ro"` + GroupID *string // READ-ONLY; Required member names of private link resource. - RequiredMembers []*string `json:"requiredMembers,omitempty" azure:"ro"` + RequiredMembers []*string } // ApplicationGatewayPrivateLinkResourcesClientListOptions contains the optional parameters for the ApplicationGatewayPrivateLinkResourcesClient.NewListPager @@ -1386,661 +1386,661 @@ type ApplicationGatewayPrivateLinkResourcesClientListOptions struct { // ApplicationGatewayProbe - Probe of the application gateway. type ApplicationGatewayProbe struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the probe that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway probe. - Properties *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayProbePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayProbeHealthResponseMatch - Application gateway probe health response match. type ApplicationGatewayProbeHealthResponseMatch struct { // Body that must be contained in the health response. Default value is empty. - Body *string `json:"body,omitempty"` + Body *string // Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399. - StatusCodes []*string `json:"statusCodes,omitempty"` + StatusCodes []*string } // ApplicationGatewayProbePropertiesFormat - Properties of probe of an application gateway. type ApplicationGatewayProbePropertiesFormat struct { // Host name to send the probe to. - Host *string `json:"host,omitempty"` + Host *string // The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 // second to 86400 seconds. - Interval *int32 `json:"interval,omitempty"` + Interval *int32 // Criterion for classifying a healthy probe response. - Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"` + Match *ApplicationGatewayProbeHealthResponseMatch // Minimum number of servers that are always marked healthy. Default value is 0. - MinServers *int32 `json:"minServers,omitempty"` + MinServers *int32 // Relative path of probe. Valid path starts from '/'. Probe is sent to ://:. - Path *string `json:"path,omitempty"` + Path *string // Whether the host header should be picked from the backend http settings. Default value is false. - PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"` + PickHostNameFromBackendHTTPSettings *bool // Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false. - PickHostNameFromBackendSettings *bool `json:"pickHostNameFromBackendSettings,omitempty"` + PickHostNameFromBackendSettings *bool // Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, // port from http settings will be used. This property is valid for Standardv2 and // WAFv2 only. - Port *int32 `json:"port,omitempty"` + Port *int32 // The protocol used for the probe. - Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"` + Protocol *ApplicationGatewayProtocol // The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable // values are from 1 second to 86400 seconds. - Timeout *int32 `json:"timeout,omitempty"` + Timeout *int32 // The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. // Acceptable values are from 1 second to 20. - UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"` + UnhealthyThreshold *int32 // READ-ONLY; The provisioning state of the probe resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayPropertiesFormat - Properties of the application gateway. type ApplicationGatewayPropertiesFormat struct { // Authentication certificates of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - AuthenticationCertificates []*ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"` + AuthenticationCertificates []*ApplicationGatewayAuthenticationCertificate // Autoscale Configuration. - AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"` + AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration // Backend address pool of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - BackendAddressPools []*ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"` + BackendAddressPools []*ApplicationGatewayBackendAddressPool // Backend http settings of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - BackendHTTPSettingsCollection []*ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` + BackendHTTPSettingsCollection []*ApplicationGatewayBackendHTTPSettings // Backend settings of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits] // . - BackendSettingsCollection []*ApplicationGatewayBackendSettings `json:"backendSettingsCollection,omitempty"` + BackendSettingsCollection []*ApplicationGatewayBackendSettings // Custom error configurations of the application gateway resource. - CustomErrorConfigurations []*ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` + CustomErrorConfigurations []*ApplicationGatewayCustomError // Whether FIPS is enabled on the application gateway resource. - EnableFips *bool `json:"enableFips,omitempty"` + EnableFips *bool // Whether HTTP2 is enabled on the application gateway resource. - EnableHTTP2 *bool `json:"enableHttp2,omitempty"` + EnableHTTP2 *bool // Reference to the FirewallPolicy resource. - FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FirewallPolicy *SubResource // If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. - ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,omitempty"` + ForceFirewallPolicyAssociation *bool // Frontend IP addresses of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - FrontendIPConfigurations []*ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` + FrontendIPConfigurations []*ApplicationGatewayFrontendIPConfiguration // Frontend ports of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - FrontendPorts []*ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"` + FrontendPorts []*ApplicationGatewayFrontendPort // Subnets of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - GatewayIPConfigurations []*ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"` + GatewayIPConfigurations []*ApplicationGatewayIPConfiguration // Global Configuration. - GlobalConfiguration *ApplicationGatewayGlobalConfiguration `json:"globalConfiguration,omitempty"` + GlobalConfiguration *ApplicationGatewayGlobalConfiguration // Http listeners of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - HTTPListeners []*ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"` + HTTPListeners []*ApplicationGatewayHTTPListener // Listeners of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - Listeners []*ApplicationGatewayListener `json:"listeners,omitempty"` + Listeners []*ApplicationGatewayListener // Load distribution policies of the application gateway resource. - LoadDistributionPolicies []*ApplicationGatewayLoadDistributionPolicy `json:"loadDistributionPolicies,omitempty"` + LoadDistributionPolicies []*ApplicationGatewayLoadDistributionPolicy // PrivateLink configurations on application gateway. - PrivateLinkConfigurations []*ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"` + PrivateLinkConfigurations []*ApplicationGatewayPrivateLinkConfiguration // Probes of the application gateway resource. - Probes []*ApplicationGatewayProbe `json:"probes,omitempty"` + Probes []*ApplicationGatewayProbe // Redirect configurations of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - RedirectConfigurations []*ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"` + RedirectConfigurations []*ApplicationGatewayRedirectConfiguration // Request routing rules of the application gateway resource. - RequestRoutingRules []*ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"` + RequestRoutingRules []*ApplicationGatewayRequestRoutingRule // Rewrite rules for the application gateway resource. - RewriteRuleSets []*ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"` + RewriteRuleSets []*ApplicationGatewayRewriteRuleSet // Routing rules of the application gateway resource. - RoutingRules []*ApplicationGatewayRoutingRule `json:"routingRules,omitempty"` + RoutingRules []*ApplicationGatewayRoutingRule // SKU of the application gateway resource. - SKU *ApplicationGatewaySKU `json:"sku,omitempty"` + SKU *ApplicationGatewaySKU // SSL certificates of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits] // . - SSLCertificates []*ApplicationGatewaySSLCertificate `json:"sslCertificates,omitempty"` + SSLCertificates []*ApplicationGatewaySSLCertificate // SSL policy of the application gateway resource. - SSLPolicy *ApplicationGatewaySSLPolicy `json:"sslPolicy,omitempty"` + SSLPolicy *ApplicationGatewaySSLPolicy // SSL profiles of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - SSLProfiles []*ApplicationGatewaySSLProfile `json:"sslProfiles,omitempty"` + SSLProfiles []*ApplicationGatewaySSLProfile // Trusted client certificates of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - TrustedClientCertificates []*ApplicationGatewayTrustedClientCertificate `json:"trustedClientCertificates,omitempty"` + TrustedClientCertificates []*ApplicationGatewayTrustedClientCertificate // Trusted Root certificates of the application gateway resource. For default limits, see Application Gateway limits // [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - TrustedRootCertificates []*ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"` + TrustedRootCertificates []*ApplicationGatewayTrustedRootCertificate // URL path map of the application gateway resource. For default limits, see Application Gateway limits [https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits]. - URLPathMaps []*ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"` + URLPathMaps []*ApplicationGatewayURLPathMap // Web application firewall configuration. - WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"` + WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration // READ-ONLY; Operational state of the application gateway resource. - OperationalState *ApplicationGatewayOperationalState `json:"operationalState,omitempty" azure:"ro"` + OperationalState *ApplicationGatewayOperationalState // READ-ONLY; Private Endpoint connections on application gateway. - PrivateEndpointConnections []*ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` + PrivateEndpointConnections []*ApplicationGatewayPrivateEndpointConnection // READ-ONLY; The provisioning state of the application gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the application gateway resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // ApplicationGatewayRedirectConfiguration - Redirect configuration of an application gateway. type ApplicationGatewayRedirectConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the redirect configuration that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway redirect configuration. - Properties *ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayRedirectConfigurationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayRedirectConfigurationPropertiesFormat - Properties of redirect configuration of the application gateway. type ApplicationGatewayRedirectConfigurationPropertiesFormat struct { // Include path in the redirected url. - IncludePath *bool `json:"includePath,omitempty"` + IncludePath *bool // Include query string in the redirected url. - IncludeQueryString *bool `json:"includeQueryString,omitempty"` + IncludeQueryString *bool // Path rules specifying redirect configuration. - PathRules []*SubResource `json:"pathRules,omitempty"` + PathRules []*SubResource // HTTP redirection type. - RedirectType *ApplicationGatewayRedirectType `json:"redirectType,omitempty"` + RedirectType *ApplicationGatewayRedirectType // Request routing specifying redirect configuration. - RequestRoutingRules []*SubResource `json:"requestRoutingRules,omitempty"` + RequestRoutingRules []*SubResource // Reference to a listener to redirect the request to. - TargetListener *SubResource `json:"targetListener,omitempty"` + TargetListener *SubResource // Url to redirect the request to. - TargetURL *string `json:"targetUrl,omitempty"` + TargetURL *string // Url path maps specifying default redirect configuration. - URLPathMaps []*SubResource `json:"urlPathMaps,omitempty"` + URLPathMaps []*SubResource } // ApplicationGatewayRequestRoutingRule - Request routing rule of an application gateway. type ApplicationGatewayRequestRoutingRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the request routing rule that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway request routing rule. - Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayRequestRoutingRulePropertiesFormat - Properties of request routing rule of the application gateway. type ApplicationGatewayRequestRoutingRulePropertiesFormat struct { // Backend address pool resource of the application gateway. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // Backend http settings resource of the application gateway. - BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` + BackendHTTPSettings *SubResource // Http listener resource of the application gateway. - HTTPListener *SubResource `json:"httpListener,omitempty"` + HTTPListener *SubResource // Load Distribution Policy resource of the application gateway. - LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"` + LoadDistributionPolicy *SubResource // Priority of the request routing rule. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Redirect configuration resource of the application gateway. - RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"` + RedirectConfiguration *SubResource // Rewrite Rule Set resource in Basic rule of the application gateway. - RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"` + RewriteRuleSet *SubResource // Rule type. - RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType // URL path map resource of the application gateway. - URLPathMap *SubResource `json:"urlPathMap,omitempty"` + URLPathMap *SubResource // READ-ONLY; The provisioning state of the request routing rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayRewriteRule - Rewrite rule of an application gateway. type ApplicationGatewayRewriteRule struct { // Set of actions to be done as part of the rewrite Rule. - ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"` + ActionSet *ApplicationGatewayRewriteRuleActionSet // Conditions based on which the action set execution will be evaluated. - Conditions []*ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"` + Conditions []*ApplicationGatewayRewriteRuleCondition // Name of the rewrite rule that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet. - RuleSequence *int32 `json:"ruleSequence,omitempty"` + RuleSequence *int32 } // ApplicationGatewayRewriteRuleActionSet - Set of actions in the Rewrite Rule in Application Gateway. type ApplicationGatewayRewriteRuleActionSet struct { // Request Header Actions in the Action Set. - RequestHeaderConfigurations []*ApplicationGatewayHeaderConfiguration `json:"requestHeaderConfigurations,omitempty"` + RequestHeaderConfigurations []*ApplicationGatewayHeaderConfiguration // Response Header Actions in the Action Set. - ResponseHeaderConfigurations []*ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"` + ResponseHeaderConfigurations []*ApplicationGatewayHeaderConfiguration // Url Configuration Action in the Action Set. - URLConfiguration *ApplicationGatewayURLConfiguration `json:"urlConfiguration,omitempty"` + URLConfiguration *ApplicationGatewayURLConfiguration } // ApplicationGatewayRewriteRuleCondition - Set of conditions in the Rewrite Rule in Application Gateway. type ApplicationGatewayRewriteRuleCondition struct { // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. - IgnoreCase *bool `json:"ignoreCase,omitempty"` + IgnoreCase *bool // Setting this value as truth will force to check the negation of the condition given by the user. - Negate *bool `json:"negate,omitempty"` + Negate *bool // The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. - Pattern *string `json:"pattern,omitempty"` + Pattern *string // The condition parameter of the RewriteRuleCondition. - Variable *string `json:"variable,omitempty"` + Variable *string } // ApplicationGatewayRewriteRuleSet - Rewrite rule set of an application gateway. type ApplicationGatewayRewriteRuleSet struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the rewrite rule set that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway rewrite rule set. - Properties *ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayRewriteRuleSetPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // ApplicationGatewayRewriteRuleSetPropertiesFormat - Properties of rewrite rule set of the application gateway. type ApplicationGatewayRewriteRuleSetPropertiesFormat struct { // Rewrite rules in the rewrite rule set. - RewriteRules []*ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"` + RewriteRules []*ApplicationGatewayRewriteRule // READ-ONLY; The provisioning state of the rewrite rule set resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayRoutingRule - Routing rule of an application gateway. type ApplicationGatewayRoutingRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the routing rule that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway routing rule. - Properties *ApplicationGatewayRoutingRulePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayRoutingRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayRoutingRulePropertiesFormat - Properties of routing rule of the application gateway. type ApplicationGatewayRoutingRulePropertiesFormat struct { // REQUIRED; Priority of the routing rule. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Backend address pool resource of the application gateway. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // Backend settings resource of the application gateway. - BackendSettings *SubResource `json:"backendSettings,omitempty"` + BackendSettings *SubResource // Listener resource of the application gateway. - Listener *SubResource `json:"listener,omitempty"` + Listener *SubResource // Rule type. - RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` + RuleType *ApplicationGatewayRequestRoutingRuleType // READ-ONLY; The provisioning state of the request routing rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewaySKU - SKU of an application gateway. type ApplicationGatewaySKU struct { // Capacity (instance count) of an application gateway. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // Name of an application gateway SKU. - Name *ApplicationGatewaySKUName `json:"name,omitempty"` + Name *ApplicationGatewaySKUName // Tier of an application gateway. - Tier *ApplicationGatewayTier `json:"tier,omitempty"` + Tier *ApplicationGatewayTier } // ApplicationGatewaySSLCertificate - SSL certificates of an application gateway. type ApplicationGatewaySSLCertificate struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the SSL certificate that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway SSL certificate. - Properties *ApplicationGatewaySSLCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewaySSLCertificatePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewaySSLCertificatePropertiesFormat - Properties of SSL certificates of an application gateway. type ApplicationGatewaySSLCertificatePropertiesFormat struct { // Base-64 encoded pfx certificate. Only applicable in PUT Request. - Data *string `json:"data,omitempty"` + Data *string // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. - KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` + KeyVaultSecretID *string // Password for the pfx file specified in data. Only applicable in PUT request. - Password *string `json:"password,omitempty"` + Password *string // READ-ONLY; The provisioning state of the SSL certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. - PublicCertData *string `json:"publicCertData,omitempty" azure:"ro"` + PublicCertData *string } // ApplicationGatewaySSLPolicy - Application Gateway Ssl policy. type ApplicationGatewaySSLPolicy struct { // Ssl cipher suites to be enabled in the specified order to application gateway. - CipherSuites []*ApplicationGatewaySSLCipherSuite `json:"cipherSuites,omitempty"` + CipherSuites []*ApplicationGatewaySSLCipherSuite // Ssl protocols to be disabled on application gateway. - DisabledSSLProtocols []*ApplicationGatewaySSLProtocol `json:"disabledSslProtocols,omitempty"` + DisabledSSLProtocols []*ApplicationGatewaySSLProtocol // Minimum version of Ssl protocol to be supported on application gateway. - MinProtocolVersion *ApplicationGatewaySSLProtocol `json:"minProtocolVersion,omitempty"` + MinProtocolVersion *ApplicationGatewaySSLProtocol // Name of Ssl predefined policy. - PolicyName *ApplicationGatewaySSLPolicyName `json:"policyName,omitempty"` + PolicyName *ApplicationGatewaySSLPolicyName // Type of Ssl Policy. - PolicyType *ApplicationGatewaySSLPolicyType `json:"policyType,omitempty"` + PolicyType *ApplicationGatewaySSLPolicyType } // ApplicationGatewaySSLPredefinedPolicy - An Ssl predefined policy. type ApplicationGatewaySSLPredefinedPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the Ssl predefined policy. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway SSL predefined policy. - Properties *ApplicationGatewaySSLPredefinedPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewaySSLPredefinedPolicyPropertiesFormat } // ApplicationGatewaySSLPredefinedPolicyPropertiesFormat - Properties of ApplicationGatewaySslPredefinedPolicy. type ApplicationGatewaySSLPredefinedPolicyPropertiesFormat struct { // Ssl cipher suites to be enabled in the specified order for application gateway. - CipherSuites []*ApplicationGatewaySSLCipherSuite `json:"cipherSuites,omitempty"` + CipherSuites []*ApplicationGatewaySSLCipherSuite // Minimum version of Ssl protocol to be supported on application gateway. - MinProtocolVersion *ApplicationGatewaySSLProtocol `json:"minProtocolVersion,omitempty"` + MinProtocolVersion *ApplicationGatewaySSLProtocol } // ApplicationGatewaySSLProfile - SSL profile of an application gateway. type ApplicationGatewaySSLProfile struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the SSL profile that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway SSL profile. - Properties *ApplicationGatewaySSLProfilePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewaySSLProfilePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewaySSLProfilePropertiesFormat - Properties of SSL profile of an application gateway. type ApplicationGatewaySSLProfilePropertiesFormat struct { // Client authentication configuration of the application gateway resource. - ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"` + ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration // SSL policy of the application gateway resource. - SSLPolicy *ApplicationGatewaySSLPolicy `json:"sslPolicy,omitempty"` + SSLPolicy *ApplicationGatewaySSLPolicy // Array of references to application gateway trusted client certificates. - TrustedClientCertificates []*SubResource `json:"trustedClientCertificates,omitempty"` + TrustedClientCertificates []*SubResource // READ-ONLY; The provisioning state of the HTTP listener resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayTrustedClientCertificate - Trusted client certificates of an application gateway. type ApplicationGatewayTrustedClientCertificate struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the trusted client certificate that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway trusted client certificate. - Properties *ApplicationGatewayTrustedClientCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayTrustedClientCertificatePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayTrustedClientCertificatePropertiesFormat - Trusted client certificates properties of an application gateway. type ApplicationGatewayTrustedClientCertificatePropertiesFormat struct { // Certificate public data. - Data *string `json:"data,omitempty"` + Data *string // READ-ONLY; Distinguished name of client certificate issuer. - ClientCertIssuerDN *string `json:"clientCertIssuerDN,omitempty" azure:"ro"` + ClientCertIssuerDN *string // READ-ONLY; The provisioning state of the trusted client certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Validated certificate data. - ValidatedCertData *string `json:"validatedCertData,omitempty" azure:"ro"` + ValidatedCertData *string } // ApplicationGatewayTrustedRootCertificate - Trusted Root certificates of an application gateway. type ApplicationGatewayTrustedRootCertificate struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the trusted root certificate that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway trusted root certificate. - Properties *ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayTrustedRootCertificatePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayTrustedRootCertificatePropertiesFormat - Trusted Root certificates properties of an application gateway. type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct { // Certificate public data. - Data *string `json:"data,omitempty"` + Data *string // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. - KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` + KeyVaultSecretID *string // READ-ONLY; The provisioning state of the trusted root certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayURLConfiguration - Url configuration of the Actions set in Application Gateway. type ApplicationGatewayURLConfiguration struct { // Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null. - ModifiedPath *string `json:"modifiedPath,omitempty"` + ModifiedPath *string // Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null. - ModifiedQueryString *string `json:"modifiedQueryString,omitempty"` + ModifiedQueryString *string // If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. // Default value is false. - Reroute *bool `json:"reroute,omitempty"` + Reroute *bool } // ApplicationGatewayURLPathMap - UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. type ApplicationGatewayURLPathMap struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the URL path map that is unique within an Application Gateway. - Name *string `json:"name,omitempty"` + Name *string // Properties of the application gateway URL path map. - Properties *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationGatewayURLPathMapPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayURLPathMapPropertiesFormat - Properties of UrlPathMap of the application gateway. type ApplicationGatewayURLPathMapPropertiesFormat struct { // Default backend address pool resource of URL path map. - DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"` + DefaultBackendAddressPool *SubResource // Default backend http settings resource of URL path map. - DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"` + DefaultBackendHTTPSettings *SubResource // Default Load Distribution Policy resource of URL path map. - DefaultLoadDistributionPolicy *SubResource `json:"defaultLoadDistributionPolicy,omitempty"` + DefaultLoadDistributionPolicy *SubResource // Default redirect configuration resource of URL path map. - DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"` + DefaultRedirectConfiguration *SubResource // Default Rewrite rule set resource of URL path map. - DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"` + DefaultRewriteRuleSet *SubResource // Path rule of URL path map resource. - PathRules []*ApplicationGatewayPathRule `json:"pathRules,omitempty"` + PathRules []*ApplicationGatewayPathRule // READ-ONLY; The provisioning state of the URL path map resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ApplicationGatewayWafDynamicManifestPropertiesResult - Properties of ApplicationGatewayWafDynamicManifest. type ApplicationGatewayWafDynamicManifestPropertiesResult struct { // The available rulesets. - AvailableRuleSets []*ApplicationGatewayFirewallManifestRuleSet `json:"availableRuleSets,omitempty"` + AvailableRuleSets []*ApplicationGatewayFirewallManifestRuleSet // The default ruleset. - DefaultRuleSet *DefaultRuleSetPropertyFormat `json:"defaultRuleSet,omitempty"` + DefaultRuleSet *DefaultRuleSetPropertyFormat } // ApplicationGatewayWafDynamicManifestResult - Response for ApplicationGatewayWafDynamicManifest API service call. type ApplicationGatewayWafDynamicManifestResult struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the ApplicationGatewayWafDynamicManifest . - Properties *ApplicationGatewayWafDynamicManifestPropertiesResult `json:"properties,omitempty"` + Properties *ApplicationGatewayWafDynamicManifestPropertiesResult // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationGatewayWafDynamicManifestResultList - Response for ApplicationGatewayWafDynamicManifests API service call. type ApplicationGatewayWafDynamicManifestResultList struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of application gateway waf manifest. - Value []*ApplicationGatewayWafDynamicManifestResult `json:"value,omitempty"` + Value []*ApplicationGatewayWafDynamicManifestResult } // ApplicationGatewayWafDynamicManifestsClientGetOptions contains the optional parameters for the ApplicationGatewayWafDynamicManifestsClient.NewGetPager @@ -2058,34 +2058,34 @@ type ApplicationGatewayWafDynamicManifestsDefaultClientGetOptions struct { // ApplicationGatewayWebApplicationFirewallConfiguration - Application gateway web application firewall configuration. type ApplicationGatewayWebApplicationFirewallConfiguration struct { // REQUIRED; Whether the web application firewall is enabled or not. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // REQUIRED; Web application firewall mode. - FirewallMode *ApplicationGatewayFirewallMode `json:"firewallMode,omitempty"` + FirewallMode *ApplicationGatewayFirewallMode // REQUIRED; The type of the web application firewall rule set. Possible values are: 'OWASP'. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // REQUIRED; The version of the rule set type. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string // The disabled rule groups. - DisabledRuleGroups []*ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"` + DisabledRuleGroups []*ApplicationGatewayFirewallDisabledRuleGroup // The exclusion list. - Exclusions []*ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"` + Exclusions []*ApplicationGatewayFirewallExclusion // Maximum file upload size in Mb for WAF. - FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"` + FileUploadLimitInMb *int32 // Maximum request body size for WAF. - MaxRequestBodySize *int32 `json:"maxRequestBodySize,omitempty"` + MaxRequestBodySize *int32 // Maximum request body size in Kb for WAF. - MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"` + MaxRequestBodySizeInKb *int32 // Whether allow WAF to check request Body. - RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` + RequestBodyCheck *bool } // ApplicationGatewaysClientBeginBackendHealthOnDemandOptions contains the optional parameters for the ApplicationGatewaysClient.BeginBackendHealthOnDemand @@ -2201,40 +2201,40 @@ type ApplicationGatewaysClientUpdateTagsOptions struct { // ApplicationRule - Rule of type application. type ApplicationRule struct { // REQUIRED; Rule Type. - RuleType *FirewallPolicyRuleType `json:"ruleType,omitempty"` + RuleType *FirewallPolicyRuleType // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses or Service Tags. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of FQDN Tags for this rule. - FqdnTags []*string `json:"fqdnTags,omitempty"` + FqdnTags []*string // Name of the rule. - Name *string `json:"name,omitempty"` + Name *string // Array of Application Protocols. - Protocols []*FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"` + Protocols []*FirewallPolicyRuleApplicationProtocol // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string // List of FQDNs for this rule. - TargetFqdns []*string `json:"targetFqdns,omitempty"` + TargetFqdns []*string // List of Urls for this rule condition. - TargetUrls []*string `json:"targetUrls,omitempty"` + TargetUrls []*string // Terminate TLS connections for this rule. - TerminateTLS *bool `json:"terminateTLS,omitempty"` + TerminateTLS *bool // List of destination azure web categories. - WebCategories []*string `json:"webCategories,omitempty"` + WebCategories []*string } // GetFirewallPolicyRule implements the FirewallPolicyRuleClassification interface for type ApplicationRule. @@ -2249,45 +2249,45 @@ func (a *ApplicationRule) GetFirewallPolicyRule() *FirewallPolicyRule { // ApplicationSecurityGroup - An application security group in a resource group. type ApplicationSecurityGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the application security group. - Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"` + Properties *ApplicationSecurityGroupPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ApplicationSecurityGroupListResult - A list of application security groups. type ApplicationSecurityGroupListResult struct { // A list of application security groups. - Value []*ApplicationSecurityGroup `json:"value,omitempty"` + Value []*ApplicationSecurityGroup // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ApplicationSecurityGroupPropertiesFormat - Application security group properties. type ApplicationSecurityGroupPropertiesFormat struct { // READ-ONLY; The provisioning state of the application security group resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the application security group resource. It uniquely identifies a resource, even // if the user changes its name or migrate the resource across subscriptions or resource // groups. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // ApplicationSecurityGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the ApplicationSecurityGroupsClient.BeginCreateOrUpdate @@ -2332,68 +2332,68 @@ type ApplicationSecurityGroupsClientUpdateTagsOptions struct { // an ExpressRouteCircuit. type AuthorizationListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The authorizations in an ExpressRoute Circuit. - Value []*ExpressRouteCircuitAuthorization `json:"value,omitempty"` + Value []*ExpressRouteCircuitAuthorization } // AuthorizationPropertiesFormat - Properties of ExpressRouteCircuitAuthorization. type AuthorizationPropertiesFormat struct { // The authorization key. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // The authorization use status. - AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` + AuthorizationUseStatus *AuthorizationUseStatus // READ-ONLY; The provisioning state of the authorization resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AutoApprovedPrivateLinkService - The information of an AutoApprovedPrivateLinkService. type AutoApprovedPrivateLinkService struct { // The id of the private link service resource. - PrivateLinkService *string `json:"privateLinkService,omitempty"` + PrivateLinkService *string } // AutoApprovedPrivateLinkServicesResult - An array of private link service id that can be linked to a private end point with // auto approved. type AutoApprovedPrivateLinkServicesResult struct { // An array of auto approved private link service. - Value []*AutoApprovedPrivateLinkService `json:"value,omitempty"` + Value []*AutoApprovedPrivateLinkService // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // Availability of the metric. type Availability struct { // Duration of the availability blob. - BlobDuration *string `json:"blobDuration,omitempty"` + BlobDuration *string // The retention of the availability. - Retention *string `json:"retention,omitempty"` + Retention *string // The time grain of the availability. - TimeGrain *string `json:"timeGrain,omitempty"` + TimeGrain *string } // AvailableDelegation - The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. type AvailableDelegation struct { // The actions permitted to the service upon delegation. - Actions []*string `json:"actions,omitempty"` + Actions []*string // A unique identifier of the AvailableDelegation resource. - ID *string `json:"id,omitempty"` + ID *string // The name of the AvailableDelegation resource. - Name *string `json:"name,omitempty"` + Name *string // The name of the service and resource. - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string // Resource type. - Type *string `json:"type,omitempty"` + Type *string } // AvailableDelegationsClientListOptions contains the optional parameters for the AvailableDelegationsClient.NewListPager @@ -2405,10 +2405,10 @@ type AvailableDelegationsClientListOptions struct { // AvailableDelegationsResult - An array of available delegations. type AvailableDelegationsResult struct { // An array of available delegations. - Value []*AvailableDelegation `json:"value,omitempty"` + Value []*AvailableDelegation // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // AvailableEndpointServicesClientListOptions contains the optional parameters for the AvailableEndpointServicesClient.NewListPager @@ -2420,19 +2420,19 @@ type AvailableEndpointServicesClientListOptions struct { // AvailablePrivateEndpointType - The information of an AvailablePrivateEndpointType. type AvailablePrivateEndpointType struct { // Display name of the resource. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // A unique identifier of the AvailablePrivateEndpoint Type resource. - ID *string `json:"id,omitempty"` + ID *string // The name of the service and resource. - Name *string `json:"name,omitempty"` + Name *string // The name of the service and resource. - ResourceName *string `json:"resourceName,omitempty"` + ResourceName *string // Resource type. - Type *string `json:"type,omitempty"` + Type *string } // AvailablePrivateEndpointTypesClientListByResourceGroupOptions contains the optional parameters for the AvailablePrivateEndpointTypesClient.NewListByResourceGroupPager @@ -2450,64 +2450,64 @@ type AvailablePrivateEndpointTypesClientListOptions struct { // AvailablePrivateEndpointTypesResult - An array of available PrivateEndpoint types. type AvailablePrivateEndpointTypesResult struct { // An array of available privateEndpoint type. - Value []*AvailablePrivateEndpointType `json:"value,omitempty"` + Value []*AvailablePrivateEndpointType // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // AvailableProvidersList - List of available countries with details. type AvailableProvidersList struct { // REQUIRED; List of available countries. - Countries []*AvailableProvidersListCountry `json:"countries,omitempty"` + Countries []*AvailableProvidersListCountry } // AvailableProvidersListCity - City or town details. type AvailableProvidersListCity struct { // The city or town name. - CityName *string `json:"cityName,omitempty"` + CityName *string // A list of Internet service providers. - Providers []*string `json:"providers,omitempty"` + Providers []*string } // AvailableProvidersListCountry - Country details. type AvailableProvidersListCountry struct { // The country name. - CountryName *string `json:"countryName,omitempty"` + CountryName *string // A list of Internet service providers. - Providers []*string `json:"providers,omitempty"` + Providers []*string // List of available states in the country. - States []*AvailableProvidersListState `json:"states,omitempty"` + States []*AvailableProvidersListState } // AvailableProvidersListParameters - Constraints that determine the list of available Internet service providers. type AvailableProvidersListParameters struct { // A list of Azure regions. - AzureLocations []*string `json:"azureLocations,omitempty"` + AzureLocations []*string // The city or town for available providers list. - City *string `json:"city,omitempty"` + City *string // The country for available providers list. - Country *string `json:"country,omitempty"` + Country *string // The state for available providers list. - State *string `json:"state,omitempty"` + State *string } // AvailableProvidersListState - State details. type AvailableProvidersListState struct { // List of available cities or towns in the state. - Cities []*AvailableProvidersListCity `json:"cities,omitempty"` + Cities []*AvailableProvidersListCity // A list of Internet service providers. - Providers []*string `json:"providers,omitempty"` + Providers []*string // The state name. - StateName *string `json:"stateName,omitempty"` + StateName *string } // AvailableResourceGroupDelegationsClientListOptions contains the optional parameters for the AvailableResourceGroupDelegationsClient.NewListPager @@ -2519,16 +2519,16 @@ type AvailableResourceGroupDelegationsClientListOptions struct { // AvailableServiceAlias - The available service alias. type AvailableServiceAlias struct { // The ID of the service alias. - ID *string `json:"id,omitempty"` + ID *string // The name of the service alias. - Name *string `json:"name,omitempty"` + Name *string // The resource name of the service alias. - ResourceName *string `json:"resourceName,omitempty"` + ResourceName *string // The type of the resource. - Type *string `json:"type,omitempty"` + Type *string } // AvailableServiceAliasesClientListByResourceGroupOptions contains the optional parameters for the AvailableServiceAliasesClient.NewListByResourceGroupPager @@ -2546,10 +2546,10 @@ type AvailableServiceAliasesClientListOptions struct { // AvailableServiceAliasesResult - An array of available service aliases. type AvailableServiceAliasesResult struct { // An array of available service aliases. - Value []*AvailableServiceAlias `json:"value,omitempty"` + Value []*AvailableServiceAlias // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // AzureAsyncOperationResult - The response body contains the status of the specified asynchronous operation, indicating whether @@ -2560,142 +2560,142 @@ type AvailableServiceAliasesResult struct { // regarding the failure. type AzureAsyncOperationResult struct { // Details of the error occurred during specified asynchronous operation. - Error *Error `json:"error,omitempty"` + Error *Error // Status of the Azure async operation. - Status *NetworkOperationStatus `json:"status,omitempty"` + Status *NetworkOperationStatus } // AzureFirewall - Azure Firewall resource. type AzureFirewall struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the azure firewall. - Properties *AzureFirewallPropertiesFormat `json:"properties,omitempty"` + Properties *AzureFirewallPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting where the resource needs to come from. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AzureFirewallApplicationRule - Properties of an application rule. type AzureFirewallApplicationRule struct { // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of FQDN Tags for this rule. - FqdnTags []*string `json:"fqdnTags,omitempty"` + FqdnTags []*string // Name of the application rule. - Name *string `json:"name,omitempty"` + Name *string // Array of ApplicationRuleProtocols. - Protocols []*AzureFirewallApplicationRuleProtocol `json:"protocols,omitempty"` + Protocols []*AzureFirewallApplicationRuleProtocol // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string // List of FQDNs for this rule. - TargetFqdns []*string `json:"targetFqdns,omitempty"` + TargetFqdns []*string } // AzureFirewallApplicationRuleCollection - Application rule collection resource. type AzureFirewallApplicationRuleCollection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the azure firewall application rule collection. - Properties *AzureFirewallApplicationRuleCollectionPropertiesFormat `json:"properties,omitempty"` + Properties *AzureFirewallApplicationRuleCollectionPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // AzureFirewallApplicationRuleCollectionPropertiesFormat - Properties of the application rule collection. type AzureFirewallApplicationRuleCollectionPropertiesFormat struct { // The action type of a rule collection. - Action *AzureFirewallRCAction `json:"action,omitempty"` + Action *AzureFirewallRCAction // Priority of the application rule collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Collection of rules used by a application rule collection. - Rules []*AzureFirewallApplicationRule `json:"rules,omitempty"` + Rules []*AzureFirewallApplicationRule // READ-ONLY; The provisioning state of the application rule collection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallApplicationRuleProtocol - Properties of the application rule protocol. type AzureFirewallApplicationRuleProtocol struct { // Port number for the protocol, cannot be greater than 64000. This field is optional. - Port *int32 `json:"port,omitempty"` + Port *int32 // Protocol type. - ProtocolType *AzureFirewallApplicationRuleProtocolType `json:"protocolType,omitempty"` + ProtocolType *AzureFirewallApplicationRuleProtocolType } // AzureFirewallFqdnTag - Azure Firewall FQDN Tag Resource. type AzureFirewallFqdnTag struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the azure firewall FQDN tag. - Properties *AzureFirewallFqdnTagPropertiesFormat `json:"properties,omitempty"` + Properties *AzureFirewallFqdnTagPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AzureFirewallFqdnTagListResult - Response for ListAzureFirewallFqdnTags API service call. type AzureFirewallFqdnTagListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Azure Firewall FQDN Tags in a resource group. - Value []*AzureFirewallFqdnTag `json:"value,omitempty"` + Value []*AzureFirewallFqdnTag } // AzureFirewallFqdnTagPropertiesFormat - Azure Firewall FQDN Tag Properties. type AzureFirewallFqdnTagPropertiesFormat struct { // READ-ONLY; The name of this FQDN Tag. - FqdnTagName *string `json:"fqdnTagName,omitempty" azure:"ro"` + FqdnTagName *string // READ-ONLY; The provisioning state of the Azure firewall FQDN tag resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallFqdnTagsClientListAllOptions contains the optional parameters for the AzureFirewallFqdnTagsClient.NewListAllPager @@ -2707,244 +2707,244 @@ type AzureFirewallFqdnTagsClientListAllOptions struct { // AzureFirewallIPConfiguration - IP configuration of an Azure Firewall. type AzureFirewallIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the azure firewall IP configuration. - Properties *AzureFirewallIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *AzureFirewallIPConfigurationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AzureFirewallIPConfigurationPropertiesFormat - Properties of IP configuration of an Azure Firewall. type AzureFirewallIPConfigurationPropertiesFormat struct { // Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. - PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + PublicIPAddress *SubResource // Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // READ-ONLY; The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. - PrivateIPAddress *string `json:"privateIPAddress,omitempty" azure:"ro"` + PrivateIPAddress *string // READ-ONLY; The provisioning state of the Azure firewall IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallIPGroups - IpGroups associated with azure firewall. type AzureFirewallIPGroups struct { // READ-ONLY; The iteration number. - ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"` + ChangeNumber *string // READ-ONLY; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // AzureFirewallListResult - Response for ListAzureFirewalls API service call. type AzureFirewallListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Azure Firewalls in a resource group. - Value []*AzureFirewall `json:"value,omitempty"` + Value []*AzureFirewall } // AzureFirewallNatRCAction - AzureFirewall NAT Rule Collection Action. type AzureFirewallNatRCAction struct { // The type of action. - Type *AzureFirewallNatRCActionType `json:"type,omitempty"` + Type *AzureFirewallNatRCActionType } // AzureFirewallNatRule - Properties of a NAT rule. type AzureFirewallNatRule struct { // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of destination ports. - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Name of the NAT rule. - Name *string `json:"name,omitempty"` + Name *string // Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. - Protocols []*AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"` + Protocols []*AzureFirewallNetworkRuleProtocol // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string // The translated address for this NAT rule. - TranslatedAddress *string `json:"translatedAddress,omitempty"` + TranslatedAddress *string // The translated FQDN for this NAT rule. - TranslatedFqdn *string `json:"translatedFqdn,omitempty"` + TranslatedFqdn *string // The translated port for this NAT rule. - TranslatedPort *string `json:"translatedPort,omitempty"` + TranslatedPort *string } // AzureFirewallNatRuleCollection - NAT rule collection resource. type AzureFirewallNatRuleCollection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the azure firewall NAT rule collection. - Properties *AzureFirewallNatRuleCollectionProperties `json:"properties,omitempty"` + Properties *AzureFirewallNatRuleCollectionProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // AzureFirewallNatRuleCollectionProperties - Properties of the NAT rule collection. type AzureFirewallNatRuleCollectionProperties struct { // The action type of a NAT rule collection. - Action *AzureFirewallNatRCAction `json:"action,omitempty"` + Action *AzureFirewallNatRCAction // Priority of the NAT rule collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Collection of rules used by a NAT rule collection. - Rules []*AzureFirewallNatRule `json:"rules,omitempty"` + Rules []*AzureFirewallNatRule // READ-ONLY; The provisioning state of the NAT rule collection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallNetworkRule - Properties of the network rule. type AzureFirewallNetworkRule struct { // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of destination FQDNs. - DestinationFqdns []*string `json:"destinationFqdns,omitempty"` + DestinationFqdns []*string // List of destination IpGroups for this rule. - DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"` + DestinationIPGroups []*string // List of destination ports. - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Name of the network rule. - Name *string `json:"name,omitempty"` + Name *string // Array of AzureFirewallNetworkRuleProtocols. - Protocols []*AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"` + Protocols []*AzureFirewallNetworkRuleProtocol // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string } // AzureFirewallNetworkRuleCollection - Network rule collection resource. type AzureFirewallNetworkRuleCollection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the Azure firewall. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the azure firewall network rule collection. - Properties *AzureFirewallNetworkRuleCollectionPropertiesFormat `json:"properties,omitempty"` + Properties *AzureFirewallNetworkRuleCollectionPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // AzureFirewallNetworkRuleCollectionPropertiesFormat - Properties of the network rule collection. type AzureFirewallNetworkRuleCollectionPropertiesFormat struct { // The action type of a rule collection. - Action *AzureFirewallRCAction `json:"action,omitempty"` + Action *AzureFirewallRCAction // Priority of the network rule collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Collection of rules used by a network rule collection. - Rules []*AzureFirewallNetworkRule `json:"rules,omitempty"` + Rules []*AzureFirewallNetworkRule // READ-ONLY; The provisioning state of the network rule collection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallPropertiesFormat - Properties of the Azure Firewall. type AzureFirewallPropertiesFormat struct { // The additional properties used to further config this azure firewall. - AdditionalProperties map[string]*string `json:"additionalProperties,omitempty"` + AdditionalProperties map[string]*string // Collection of application rule collections used by Azure Firewall. - ApplicationRuleCollections []*AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"` + ApplicationRuleCollections []*AzureFirewallApplicationRuleCollection // The firewallPolicy associated with this azure firewall. - FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` + FirewallPolicy *SubResource // IP addresses associated with AzureFirewall. - HubIPAddresses *HubIPAddresses `json:"hubIPAddresses,omitempty"` + HubIPAddresses *HubIPAddresses // IP configuration of the Azure Firewall resource. - IPConfigurations []*AzureFirewallIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*AzureFirewallIPConfiguration // IP configuration of the Azure Firewall used for management traffic. - ManagementIPConfiguration *AzureFirewallIPConfiguration `json:"managementIpConfiguration,omitempty"` + ManagementIPConfiguration *AzureFirewallIPConfiguration // Collection of NAT rule collections used by Azure Firewall. - NatRuleCollections []*AzureFirewallNatRuleCollection `json:"natRuleCollections,omitempty"` + NatRuleCollections []*AzureFirewallNatRuleCollection // Collection of network rule collections used by Azure Firewall. - NetworkRuleCollections []*AzureFirewallNetworkRuleCollection `json:"networkRuleCollections,omitempty"` + NetworkRuleCollections []*AzureFirewallNetworkRuleCollection // The Azure Firewall Resource SKU. - SKU *AzureFirewallSKU `json:"sku,omitempty"` + SKU *AzureFirewallSKU // The operation mode for Threat Intelligence. - ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` + ThreatIntelMode *AzureFirewallThreatIntelMode // The virtualHub to which the firewall belongs. - VirtualHub *SubResource `json:"virtualHub,omitempty"` + VirtualHub *SubResource // READ-ONLY; IpGroups associated with AzureFirewall. - IPGroups []*AzureFirewallIPGroups `json:"ipGroups,omitempty" azure:"ro"` + IPGroups []*AzureFirewallIPGroups // READ-ONLY; The provisioning state of the Azure firewall resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // AzureFirewallPublicIPAddress - Public IP Address associated with azure firewall. type AzureFirewallPublicIPAddress struct { // Public IP Address value. - Address *string `json:"address,omitempty"` + Address *string } // AzureFirewallRCAction - Properties of the AzureFirewallRCAction. type AzureFirewallRCAction struct { // The type of action. - Type *AzureFirewallRCActionType `json:"type,omitempty"` + Type *AzureFirewallRCActionType } // AzureFirewallSKU - SKU of an Azure Firewall. type AzureFirewallSKU struct { // Name of an Azure Firewall SKU. - Name *AzureFirewallSKUName `json:"name,omitempty"` + Name *AzureFirewallSKUName // Tier of an Azure Firewall. - Tier *AzureFirewallSKUTier `json:"tier,omitempty"` + Tier *AzureFirewallSKUTier } // AzureFirewallsClientBeginCreateOrUpdateOptions contains the optional parameters for the AzureFirewallsClient.BeginCreateOrUpdate @@ -2992,179 +2992,179 @@ type AzureFirewallsClientListOptions struct { // AzureReachabilityReport - Azure reachability report details. type AzureReachabilityReport struct { // REQUIRED; The aggregation level of Azure reachability report. Can be Country, State or City. - AggregationLevel *string `json:"aggregationLevel,omitempty"` + AggregationLevel *string // REQUIRED; Parameters that define a geographic location. - ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"` + ProviderLocation *AzureReachabilityReportLocation // REQUIRED; List of Azure reachability report items. - ReachabilityReport []*AzureReachabilityReportItem `json:"reachabilityReport,omitempty"` + ReachabilityReport []*AzureReachabilityReportItem } // AzureReachabilityReportItem - Azure reachability report details for a given provider location. type AzureReachabilityReportItem struct { // The Azure region. - AzureLocation *string `json:"azureLocation,omitempty"` + AzureLocation *string // List of latency details for each of the time series. - Latencies []*AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"` + Latencies []*AzureReachabilityReportLatencyInfo // The Internet service provider. - Provider *string `json:"provider,omitempty"` + Provider *string } // AzureReachabilityReportLatencyInfo - Details on latency for a time series. type AzureReachabilityReportLatencyInfo struct { // The relative latency score between 1 and 100, higher values indicating a faster connection. - Score *int32 `json:"score,omitempty"` + Score *int32 // The time stamp. - TimeStamp *time.Time `json:"timeStamp,omitempty"` + TimeStamp *time.Time } // AzureReachabilityReportLocation - Parameters that define a geographic location. type AzureReachabilityReportLocation struct { // REQUIRED; The name of the country. - Country *string `json:"country,omitempty"` + Country *string // The name of the city or town. - City *string `json:"city,omitempty"` + City *string // The name of the state. - State *string `json:"state,omitempty"` + State *string } // AzureReachabilityReportParameters - Geographic and time constraints for Azure reachability report. type AzureReachabilityReportParameters struct { // REQUIRED; The end time for the Azure reachability report. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // REQUIRED; Parameters that define a geographic location. - ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"` + ProviderLocation *AzureReachabilityReportLocation // REQUIRED; The start time for the Azure reachability report. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // Optional Azure regions to scope the query to. - AzureLocations []*string `json:"azureLocations,omitempty"` + AzureLocations []*string // List of Internet service providers. - Providers []*string `json:"providers,omitempty"` + Providers []*string } // AzureWebCategory - Azure Web Category Resource. type AzureWebCategory struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the Azure Web Category. - Properties *AzureWebCategoryPropertiesFormat `json:"properties,omitempty"` + Properties *AzureWebCategoryPropertiesFormat // 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AzureWebCategoryListResult - Response for ListAzureWebCategories API service call. type AzureWebCategoryListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Azure Web Categories for a given Subscription. - Value []*AzureWebCategory `json:"value,omitempty"` + Value []*AzureWebCategory } // AzureWebCategoryPropertiesFormat - Azure Web Category Properties. type AzureWebCategoryPropertiesFormat struct { // READ-ONLY; The name of the group that the category belongs to. - Group *string `json:"group,omitempty" azure:"ro"` + Group *string } // BGPCommunity - Contains bgp community information offered in Service Community resources. type BGPCommunity struct { // The name of the bgp community. e.g. Skype. - CommunityName *string `json:"communityName,omitempty"` + CommunityName *string // The prefixes that the bgp community contains. - CommunityPrefixes []*string `json:"communityPrefixes,omitempty"` + CommunityPrefixes []*string // The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. - CommunityValue *string `json:"communityValue,omitempty"` + CommunityValue *string // Customer is authorized to use bgp community or not. - IsAuthorizedToUse *bool `json:"isAuthorizedToUse,omitempty"` + IsAuthorizedToUse *bool // The service group of the bgp community contains. - ServiceGroup *string `json:"serviceGroup,omitempty"` + ServiceGroup *string // The region which the service support. e.g. For O365, region is Global. - ServiceSupportedRegion *string `json:"serviceSupportedRegion,omitempty"` + ServiceSupportedRegion *string } // BackendAddressInboundNatRulePortMappings - The response for a QueryInboundNatRulePortMapping API. type BackendAddressInboundNatRulePortMappings struct { // Collection of inbound NAT rule port mappings. - InboundNatRulePortMappings []*InboundNatRulePortMapping `json:"inboundNatRulePortMappings,omitempty"` + InboundNatRulePortMappings []*InboundNatRulePortMapping } // BackendAddressPool - Pool of backend IP addresses. type BackendAddressPool struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can // be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer backend address pool. - Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"` + Properties *BackendAddressPoolPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BackendAddressPoolPropertiesFormat - Properties of the backend address pool. type BackendAddressPoolPropertiesFormat struct { // Amount of seconds Load Balancer waits for before sending RESET to client and backend address. - DrainPeriodInSeconds *int32 `json:"drainPeriodInSeconds,omitempty"` + DrainPeriodInSeconds *int32 // An array of backend addresses. - LoadBalancerBackendAddresses []*LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"` + LoadBalancerBackendAddresses []*LoadBalancerBackendAddress // The location of the backend address pool. - Location *string `json:"location,omitempty"` + Location *string // An array of gateway load balancer tunnel interfaces. - TunnelInterfaces []*GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"` + TunnelInterfaces []*GatewayLoadBalancerTunnelInterface // A reference to a virtual network. - VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` + VirtualNetwork *SubResource // READ-ONLY; An array of references to IP addresses defined in network interfaces. - BackendIPConfigurations []*InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty" azure:"ro"` + BackendIPConfigurations []*InterfaceIPConfiguration // READ-ONLY; An array of references to inbound NAT rules that use this backend address pool. - InboundNatRules []*SubResource `json:"inboundNatRules,omitempty" azure:"ro"` + InboundNatRules []*SubResource // READ-ONLY; An array of references to load balancing rules that use this backend address pool. - LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"` + LoadBalancingRules []*SubResource // READ-ONLY; A reference to an outbound rule that uses this backend address pool. - OutboundRule *SubResource `json:"outboundRule,omitempty" azure:"ro"` + OutboundRule *SubResource // READ-ONLY; An array of references to outbound rules that use this backend address pool. - OutboundRules []*SubResource `json:"outboundRules,omitempty" azure:"ro"` + OutboundRules []*SubResource // READ-ONLY; The provisioning state of the backend address pool resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // BaseAdminRuleClassification provides polymorphic access to related types. @@ -3179,22 +3179,22 @@ type BaseAdminRuleClassification interface { // BaseAdminRule - Network base admin rule. type BaseAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *AdminRuleKind `json:"kind,omitempty"` + Kind *AdminRuleKind // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetBaseAdminRule implements the BaseAdminRuleClassification interface for type BaseAdminRule. @@ -3203,145 +3203,145 @@ func (b *BaseAdminRule) GetBaseAdminRule() *BaseAdminRule { return b } // BastionActiveSession - The session detail for a target. type BastionActiveSession struct { // READ-ONLY; The protocol used to connect to the target. - Protocol *BastionConnectProtocol `json:"protocol,omitempty" azure:"ro"` + Protocol *BastionConnectProtocol // READ-ONLY; The type of the resource. - ResourceType *string `json:"resourceType,omitempty" azure:"ro"` + ResourceType *string // READ-ONLY; Duration in mins the session has been active. - SessionDurationInMins *float32 `json:"sessionDurationInMins,omitempty" azure:"ro"` + SessionDurationInMins *float32 // READ-ONLY; A unique id for the session. - SessionID *string `json:"sessionId,omitempty" azure:"ro"` + SessionID *string // READ-ONLY; The time when the session started. - StartTime any `json:"startTime,omitempty" azure:"ro"` + StartTime any // READ-ONLY; The host name of the target. - TargetHostName *string `json:"targetHostName,omitempty" azure:"ro"` + TargetHostName *string // READ-ONLY; The IP Address of the target. - TargetIPAddress *string `json:"targetIpAddress,omitempty" azure:"ro"` + TargetIPAddress *string // READ-ONLY; The resource group of the target. - TargetResourceGroup *string `json:"targetResourceGroup,omitempty" azure:"ro"` + TargetResourceGroup *string // READ-ONLY; The resource id of the target. - TargetResourceID *string `json:"targetResourceId,omitempty" azure:"ro"` + TargetResourceID *string // READ-ONLY; The subscription id for the target virtual machine. - TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty" azure:"ro"` + TargetSubscriptionID *string // READ-ONLY; The user name who is active on this session. - UserName *string `json:"userName,omitempty" azure:"ro"` + UserName *string } // BastionActiveSessionListResult - Response for GetActiveSessions. type BastionActiveSessionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of active sessions on the bastion. - Value []*BastionActiveSession `json:"value,omitempty"` + Value []*BastionActiveSession } // BastionHost - Bastion Host resource. type BastionHost struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Represents the bastion host resource. - Properties *BastionHostPropertiesFormat `json:"properties,omitempty"` + Properties *BastionHostPropertiesFormat // The sku of this Bastion Host. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BastionHostIPConfiguration - IP configuration of an Bastion Host. type BastionHostIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Represents the ip configuration associated with the resource. - Properties *BastionHostIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *BastionHostIPConfigurationPropertiesFormat // 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; Ip configuration type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BastionHostIPConfigurationPropertiesFormat - Properties of IP configuration of an Bastion Host. type BastionHostIPConfigurationPropertiesFormat struct { // REQUIRED; Reference of the PublicIP resource. - PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + PublicIPAddress *SubResource // REQUIRED; Reference of the subnet resource. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // Private IP allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // READ-ONLY; The provisioning state of the bastion host IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // BastionHostListResult - Response for ListBastionHosts API service call. type BastionHostListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Bastion Hosts in a resource group. - Value []*BastionHost `json:"value,omitempty"` + Value []*BastionHost } // BastionHostPropertiesFormat - Properties of the Bastion Host. type BastionHostPropertiesFormat struct { // FQDN for the endpoint on which bastion host is accessible. - DNSName *string `json:"dnsName,omitempty"` + DNSName *string // Enable/Disable Copy/Paste feature of the Bastion Host resource. - DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"` + DisableCopyPaste *bool // Enable/Disable File Copy feature of the Bastion Host resource. - EnableFileCopy *bool `json:"enableFileCopy,omitempty"` + EnableFileCopy *bool // Enable/Disable IP Connect feature of the Bastion Host resource. - EnableIPConnect *bool `json:"enableIpConnect,omitempty"` + EnableIPConnect *bool // Enable/Disable Shareable Link of the Bastion Host resource. - EnableShareableLink *bool `json:"enableShareableLink,omitempty"` + EnableShareableLink *bool // Enable/Disable Tunneling feature of the Bastion Host resource. - EnableTunneling *bool `json:"enableTunneling,omitempty"` + EnableTunneling *bool // IP configuration of the Bastion Host resource. - IPConfigurations []*BastionHostIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*BastionHostIPConfiguration // The scale units for the Bastion Host resource. - ScaleUnits *int32 `json:"scaleUnits,omitempty"` + ScaleUnits *int32 // READ-ONLY; The provisioning state of the bastion host resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // BastionHostsClientBeginCreateOrUpdateOptions contains the optional parameters for the BastionHostsClient.BeginCreateOrUpdate @@ -3382,121 +3382,121 @@ type BastionHostsClientListOptions struct { // BastionSessionDeleteResult - Response for DisconnectActiveSessions. type BastionSessionDeleteResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of sessions with their corresponding state. - Value []*BastionSessionState `json:"value,omitempty"` + Value []*BastionSessionState } // BastionSessionState - The session state detail for a target. type BastionSessionState struct { // READ-ONLY; Used for extra information. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; A unique id for the session. - SessionID *string `json:"sessionId,omitempty" azure:"ro"` + SessionID *string // READ-ONLY; The state of the session. Disconnected/Failed/NotFound. - State *string `json:"state,omitempty" azure:"ro"` + State *string } // BastionShareableLink - Bastion Shareable Link. type BastionShareableLink struct { // REQUIRED; Reference of the virtual machine resource. - VM *VM `json:"vm,omitempty"` + VM *VM // READ-ONLY; The unique Bastion Shareable Link to the virtual machine. - Bsl *string `json:"bsl,omitempty" azure:"ro"` + Bsl *string // READ-ONLY; The time when the link was created. - CreatedAt *string `json:"createdAt,omitempty" azure:"ro"` + CreatedAt *string // READ-ONLY; Optional field indicating the warning or error message related to the vm in case of partial failure. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string } // BastionShareableLinkListRequest - Post request for all the Bastion Shareable Link endpoints. type BastionShareableLinkListRequest struct { // List of VM references. - VMs []*BastionShareableLink `json:"vms,omitempty"` + VMs []*BastionShareableLink } // BastionShareableLinkListResult - Response for all the Bastion Shareable Link endpoints. type BastionShareableLinkListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Bastion Shareable Links for the request. - Value []*BastionShareableLink `json:"value,omitempty"` + Value []*BastionShareableLink } // BgpConnection - Virtual Appliance Site resource. type BgpConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the connection. - Name *string `json:"name,omitempty"` + Name *string // The properties of the Bgp connections. - Properties *BgpConnectionProperties `json:"properties,omitempty"` + Properties *BgpConnectionProperties // 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; Connection type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BgpConnectionProperties - Properties of the bgp connection. type BgpConnectionProperties struct { // The reference to the HubVirtualNetworkConnection resource. - HubVirtualNetworkConnection *SubResource `json:"hubVirtualNetworkConnection,omitempty"` + HubVirtualNetworkConnection *SubResource // Peer ASN. - PeerAsn *int64 `json:"peerAsn,omitempty"` + PeerAsn *int64 // Peer IP. - PeerIP *string `json:"peerIp,omitempty"` + PeerIP *string // READ-ONLY; The current state of the VirtualHub to Peer. - ConnectionState *HubBgpConnectionStatus `json:"connectionState,omitempty" azure:"ro"` + ConnectionState *HubBgpConnectionStatus // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // BgpPeerStatus - BGP peer status details. type BgpPeerStatus struct { // READ-ONLY; The autonomous system number of the remote BGP peer. - Asn *int64 `json:"asn,omitempty" azure:"ro"` + Asn *int64 // READ-ONLY; For how long the peering has been up. - ConnectedDuration *string `json:"connectedDuration,omitempty" azure:"ro"` + ConnectedDuration *string // READ-ONLY; The virtual network gateway's local address. - LocalAddress *string `json:"localAddress,omitempty" azure:"ro"` + LocalAddress *string // READ-ONLY; The number of BGP messages received. - MessagesReceived *int64 `json:"messagesReceived,omitempty" azure:"ro"` + MessagesReceived *int64 // READ-ONLY; The number of BGP messages sent. - MessagesSent *int64 `json:"messagesSent,omitempty" azure:"ro"` + MessagesSent *int64 // READ-ONLY; The remote BGP peer. - Neighbor *string `json:"neighbor,omitempty" azure:"ro"` + Neighbor *string // READ-ONLY; The number of routes learned from this peer. - RoutesReceived *int64 `json:"routesReceived,omitempty" azure:"ro"` + RoutesReceived *int64 // READ-ONLY; The BGP peer state. - State *BgpPeerState `json:"state,omitempty" azure:"ro"` + State *BgpPeerState } // BgpPeerStatusListResult - Response for list BGP peer status API service call. type BgpPeerStatusListResult struct { // List of BGP peers. - Value []*BgpPeerStatus `json:"value,omitempty"` + Value []*BgpPeerStatus } // BgpServiceCommunitiesClientListOptions contains the optional parameters for the BgpServiceCommunitiesClient.NewListPager @@ -3508,151 +3508,151 @@ type BgpServiceCommunitiesClientListOptions struct { // BgpServiceCommunity - Service Community Properties. type BgpServiceCommunity struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the BGP service community. - Properties *BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"` + Properties *BgpServiceCommunityPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // BgpServiceCommunityListResult - Response for the ListServiceCommunity API service call. type BgpServiceCommunityListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of service community resources. - Value []*BgpServiceCommunity `json:"value,omitempty"` + Value []*BgpServiceCommunity } // BgpServiceCommunityPropertiesFormat - Properties of Service Community. type BgpServiceCommunityPropertiesFormat struct { // A list of bgp communities. - BgpCommunities []*BGPCommunity `json:"bgpCommunities,omitempty"` + BgpCommunities []*BGPCommunity // The name of the bgp community. e.g. Skype. - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string } // BgpSettings - BGP settings details. type BgpSettings struct { // The BGP speaker's ASN. - Asn *int64 `json:"asn,omitempty"` + Asn *int64 // The BGP peering address and BGP identifier of this BGP speaker. - BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` + BgpPeeringAddress *string // BGP peering address with IP configuration ID for virtual network gateway. - BgpPeeringAddresses []*IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"` + BgpPeeringAddresses []*IPConfigurationBgpPeeringAddress // The weight added to routes learned from this BGP speaker. - PeerWeight *int32 `json:"peerWeight,omitempty"` + PeerWeight *int32 } // BreakOutCategoryPolicies - Network Virtual Appliance Sku Properties. type BreakOutCategoryPolicies struct { // Flag to control breakout of o365 allow category. - Allow *bool `json:"allow,omitempty"` + Allow *bool // Flag to control breakout of o365 default category. - Default *bool `json:"default,omitempty"` + Default *bool // Flag to control breakout of o365 optimize category. - Optimize *bool `json:"optimize,omitempty"` + Optimize *bool } // CheckPrivateLinkServiceVisibilityRequest - Request body of the CheckPrivateLinkServiceVisibility API service call. type CheckPrivateLinkServiceVisibilityRequest struct { // The alias of the private link service. - PrivateLinkServiceAlias *string `json:"privateLinkServiceAlias,omitempty"` + PrivateLinkServiceAlias *string } // ChildResource - Proxy resource representation. type ChildResource struct { // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } type Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties 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 } // ConfigurationDiagnosticParameters - Parameters to get network configuration diagnostic. type ConfigurationDiagnosticParameters struct { // REQUIRED; List of network configuration diagnostic profiles. - Profiles []*ConfigurationDiagnosticProfile `json:"profiles,omitempty"` + Profiles []*ConfigurationDiagnosticProfile // REQUIRED; The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, // VMSS/NetworkInterface and Application Gateway. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string // Verbosity level. - VerbosityLevel *VerbosityLevel `json:"verbosityLevel,omitempty"` + VerbosityLevel *VerbosityLevel } // ConfigurationDiagnosticProfile - Parameters to compare with network configuration. type ConfigurationDiagnosticProfile struct { // REQUIRED; Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag. - Destination *string `json:"destination,omitempty"` + Destination *string // REQUIRED; Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535). - DestinationPort *string `json:"destinationPort,omitempty"` + DestinationPort *string // REQUIRED; The direction of the traffic. - Direction *Direction `json:"direction,omitempty"` + Direction *Direction // REQUIRED; Protocol to be verified on. Accepted values are '*', TCP, UDP. - Protocol *string `json:"protocol,omitempty"` + Protocol *string // REQUIRED; Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. - Source *string `json:"source,omitempty"` + Source *string } // ConfigurationDiagnosticResponse - Results of network configuration diagnostic on the target resource. type ConfigurationDiagnosticResponse struct { // READ-ONLY; List of network configuration diagnostic results. - Results []*ConfigurationDiagnosticResult `json:"results,omitempty" azure:"ro"` + Results []*ConfigurationDiagnosticResult } // ConfigurationDiagnosticResult - Network configuration diagnostic result corresponded to provided traffic query. type ConfigurationDiagnosticResult struct { // Network security group result. - NetworkSecurityGroupResult *SecurityGroupResult `json:"networkSecurityGroupResult,omitempty"` + NetworkSecurityGroupResult *SecurityGroupResult // Network configuration diagnostic profile. - Profile *ConfigurationDiagnosticProfile `json:"profile,omitempty"` + Profile *ConfigurationDiagnosticProfile } // ConfigurationGroup - The network configuration group resource type ConfigurationGroup struct { // Network group ID. - ID *string `json:"id,omitempty"` + ID *string // The network configuration group properties - Properties *GroupProperties `json:"properties,omitempty"` + Properties *GroupProperties } // ConfigurationPolicyGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationPolicyGroupsClient.BeginCreateOrUpdate @@ -3684,311 +3684,311 @@ type ConfigurationPolicyGroupsClientListByVPNServerConfigurationOptions struct { // ConnectionMonitor - Parameters that define the operation to create a connection monitor. type ConnectionMonitor struct { // REQUIRED; Properties of the connection monitor. - Properties *ConnectionMonitorParameters `json:"properties,omitempty"` + Properties *ConnectionMonitorParameters // Connection monitor location. - Location *string `json:"location,omitempty"` + Location *string // Connection monitor tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ConnectionMonitorDestination - Describes the destination of connection monitor. type ConnectionMonitorDestination struct { // Address of the connection monitor destination (IP or domain name). - Address *string `json:"address,omitempty"` + Address *string // The destination port used by connection monitor. - Port *int32 `json:"port,omitempty"` + Port *int32 // The ID of the resource used as the destination by connection monitor. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string } // ConnectionMonitorEndpoint - Describes the connection monitor endpoint. type ConnectionMonitorEndpoint struct { // REQUIRED; The name of the connection monitor endpoint. - Name *string `json:"name,omitempty"` + Name *string // Address of the connection monitor endpoint (IP or domain name). - Address *string `json:"address,omitempty"` + Address *string // Test coverage for the endpoint. - CoverageLevel *CoverageLevel `json:"coverageLevel,omitempty"` + CoverageLevel *CoverageLevel // Filter for sub-items within the endpoint. - Filter *ConnectionMonitorEndpointFilter `json:"filter,omitempty"` + Filter *ConnectionMonitorEndpointFilter // Resource ID of the connection monitor endpoint. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Endpoint scope. - Scope *ConnectionMonitorEndpointScope `json:"scope,omitempty"` + Scope *ConnectionMonitorEndpointScope // The endpoint type. - Type *EndpointType `json:"type,omitempty"` + Type *EndpointType } // ConnectionMonitorEndpointFilter - Describes the connection monitor endpoint filter. type ConnectionMonitorEndpointFilter struct { // List of items in the filter. - Items []*ConnectionMonitorEndpointFilterItem `json:"items,omitempty"` + Items []*ConnectionMonitorEndpointFilterItem // The behavior of the endpoint filter. Currently only 'Include' is supported. - Type *ConnectionMonitorEndpointFilterType `json:"type,omitempty"` + Type *ConnectionMonitorEndpointFilterType } // ConnectionMonitorEndpointFilterItem - Describes the connection monitor endpoint filter item. type ConnectionMonitorEndpointFilterItem struct { // The address of the filter item. - Address *string `json:"address,omitempty"` + Address *string // The type of item included in the filter. Currently only 'AgentAddress' is supported. - Type *ConnectionMonitorEndpointFilterItemType `json:"type,omitempty"` + Type *ConnectionMonitorEndpointFilterItemType } // ConnectionMonitorEndpointScope - Describes the connection monitor endpoint scope. type ConnectionMonitorEndpointScope struct { // List of items which needs to be excluded from the endpoint scope. - Exclude []*ConnectionMonitorEndpointScopeItem `json:"exclude,omitempty"` + Exclude []*ConnectionMonitorEndpointScopeItem // List of items which needs to be included to the endpoint scope. - Include []*ConnectionMonitorEndpointScopeItem `json:"include,omitempty"` + Include []*ConnectionMonitorEndpointScopeItem } // ConnectionMonitorEndpointScopeItem - Describes the connection monitor endpoint scope item. type ConnectionMonitorEndpointScopeItem struct { // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address. - Address *string `json:"address,omitempty"` + Address *string } // ConnectionMonitorHTTPConfiguration - Describes the HTTP configuration. type ConnectionMonitorHTTPConfiguration struct { // The HTTP method to use. - Method *HTTPConfigurationMethod `json:"method,omitempty"` + Method *HTTPConfigurationMethod // The path component of the URI. For instance, "/dir1/dir2". - Path *string `json:"path,omitempty"` + Path *string // The port to connect to. - Port *int32 `json:"port,omitempty"` + Port *int32 // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. - PreferHTTPS *bool `json:"preferHTTPS,omitempty"` + PreferHTTPS *bool // The HTTP headers to transmit with the request. - RequestHeaders []*HTTPHeader `json:"requestHeaders,omitempty"` + RequestHeaders []*HTTPHeader // HTTP status codes to consider successful. For instance, "2xx,301-304,418". - ValidStatusCodeRanges []*string `json:"validStatusCodeRanges,omitempty"` + ValidStatusCodeRanges []*string } // ConnectionMonitorIcmpConfiguration - Describes the ICMP configuration. type ConnectionMonitorIcmpConfiguration struct { // Value indicating whether path evaluation with trace route should be disabled. - DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"` + DisableTraceRoute *bool } // ConnectionMonitorListResult - List of connection monitors. type ConnectionMonitorListResult struct { // Information about connection monitors. - Value []*ConnectionMonitorResult `json:"value,omitempty"` + Value []*ConnectionMonitorResult } // ConnectionMonitorOutput - Describes a connection monitor output destination. type ConnectionMonitorOutput struct { // Connection monitor output destination type. Currently, only "Workspace" is supported. - Type *OutputType `json:"type,omitempty"` + Type *OutputType // Describes the settings for producing output into a log analytics workspace. - WorkspaceSettings *ConnectionMonitorWorkspaceSettings `json:"workspaceSettings,omitempty"` + WorkspaceSettings *ConnectionMonitorWorkspaceSettings } // ConnectionMonitorParameters - Parameters that define the operation to create a connection monitor. type ConnectionMonitorParameters struct { // Determines if the connection monitor will start automatically once created. - AutoStart *bool `json:"autoStart,omitempty"` + AutoStart *bool // Describes the destination of connection monitor. - Destination *ConnectionMonitorDestination `json:"destination,omitempty"` + Destination *ConnectionMonitorDestination // List of connection monitor endpoints. - Endpoints []*ConnectionMonitorEndpoint `json:"endpoints,omitempty"` + Endpoints []*ConnectionMonitorEndpoint // Monitoring interval in seconds. - MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"` + MonitoringIntervalInSeconds *int32 // Optional notes to be associated with the connection monitor. - Notes *string `json:"notes,omitempty"` + Notes *string // List of connection monitor outputs. - Outputs []*ConnectionMonitorOutput `json:"outputs,omitempty"` + Outputs []*ConnectionMonitorOutput // Describes the source of connection monitor. - Source *ConnectionMonitorSource `json:"source,omitempty"` + Source *ConnectionMonitorSource // List of connection monitor test configurations. - TestConfigurations []*ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"` + TestConfigurations []*ConnectionMonitorTestConfiguration // List of connection monitor test groups. - TestGroups []*ConnectionMonitorTestGroup `json:"testGroups,omitempty"` + TestGroups []*ConnectionMonitorTestGroup } // ConnectionMonitorQueryResult - List of connection states snapshots. type ConnectionMonitorQueryResult struct { // Status of connection monitor source. - SourceStatus *ConnectionMonitorSourceStatus `json:"sourceStatus,omitempty"` + SourceStatus *ConnectionMonitorSourceStatus // Information about connection states. - States []*ConnectionStateSnapshot `json:"states,omitempty"` + States []*ConnectionStateSnapshot } // ConnectionMonitorResult - Information about the connection monitor. type ConnectionMonitorResult struct { // Connection monitor location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the connection monitor result. - Properties *ConnectionMonitorResultProperties `json:"properties,omitempty"` + Properties *ConnectionMonitorResultProperties // Connection monitor tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; ID of the connection monitor. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the connection monitor. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Connection monitor type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ConnectionMonitorResultProperties - Describes the properties of a connection monitor. type ConnectionMonitorResultProperties struct { // Determines if the connection monitor will start automatically once created. - AutoStart *bool `json:"autoStart,omitempty"` + AutoStart *bool // Describes the destination of connection monitor. - Destination *ConnectionMonitorDestination `json:"destination,omitempty"` + Destination *ConnectionMonitorDestination // List of connection monitor endpoints. - Endpoints []*ConnectionMonitorEndpoint `json:"endpoints,omitempty"` + Endpoints []*ConnectionMonitorEndpoint // Monitoring interval in seconds. - MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"` + MonitoringIntervalInSeconds *int32 // Optional notes to be associated with the connection monitor. - Notes *string `json:"notes,omitempty"` + Notes *string // List of connection monitor outputs. - Outputs []*ConnectionMonitorOutput `json:"outputs,omitempty"` + Outputs []*ConnectionMonitorOutput // Describes the source of connection monitor. - Source *ConnectionMonitorSource `json:"source,omitempty"` + Source *ConnectionMonitorSource // List of connection monitor test configurations. - TestConfigurations []*ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"` + TestConfigurations []*ConnectionMonitorTestConfiguration // List of connection monitor test groups. - TestGroups []*ConnectionMonitorTestGroup `json:"testGroups,omitempty"` + TestGroups []*ConnectionMonitorTestGroup // READ-ONLY; Type of connection monitor. - ConnectionMonitorType *ConnectionMonitorType `json:"connectionMonitorType,omitempty" azure:"ro"` + ConnectionMonitorType *ConnectionMonitorType // READ-ONLY; The monitoring status of the connection monitor. - MonitoringStatus *string `json:"monitoringStatus,omitempty" azure:"ro"` + MonitoringStatus *string // READ-ONLY; The provisioning state of the connection monitor. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The date and time when the connection monitor was started. - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time } // ConnectionMonitorSource - Describes the source of connection monitor. type ConnectionMonitorSource struct { // REQUIRED; The ID of the resource used as the source by connection monitor. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // The source port used by connection monitor. - Port *int32 `json:"port,omitempty"` + Port *int32 } // ConnectionMonitorSuccessThreshold - Describes the threshold for declaring a test successful. type ConnectionMonitorSuccessThreshold struct { // The maximum percentage of failed checks permitted for a test to evaluate as successful. - ChecksFailedPercent *int32 `json:"checksFailedPercent,omitempty"` + ChecksFailedPercent *int32 // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful. - RoundTripTimeMs *float32 `json:"roundTripTimeMs,omitempty"` + RoundTripTimeMs *float32 } // ConnectionMonitorTCPConfiguration - Describes the TCP configuration. type ConnectionMonitorTCPConfiguration struct { // Destination port behavior. - DestinationPortBehavior *DestinationPortBehavior `json:"destinationPortBehavior,omitempty"` + DestinationPortBehavior *DestinationPortBehavior // Value indicating whether path evaluation with trace route should be disabled. - DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"` + DisableTraceRoute *bool // The port to connect to. - Port *int32 `json:"port,omitempty"` + Port *int32 } // ConnectionMonitorTestConfiguration - Describes a connection monitor test configuration. type ConnectionMonitorTestConfiguration struct { // REQUIRED; The name of the connection monitor test configuration. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The protocol to use in test evaluation. - Protocol *ConnectionMonitorTestConfigurationProtocol `json:"protocol,omitempty"` + Protocol *ConnectionMonitorTestConfigurationProtocol // The parameters used to perform test evaluation over HTTP. - HTTPConfiguration *ConnectionMonitorHTTPConfiguration `json:"httpConfiguration,omitempty"` + HTTPConfiguration *ConnectionMonitorHTTPConfiguration // The parameters used to perform test evaluation over ICMP. - IcmpConfiguration *ConnectionMonitorIcmpConfiguration `json:"icmpConfiguration,omitempty"` + IcmpConfiguration *ConnectionMonitorIcmpConfiguration // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending // on other parameters. - PreferredIPVersion *PreferredIPVersion `json:"preferredIPVersion,omitempty"` + PreferredIPVersion *PreferredIPVersion // The threshold for declaring a test successful. - SuccessThreshold *ConnectionMonitorSuccessThreshold `json:"successThreshold,omitempty"` + SuccessThreshold *ConnectionMonitorSuccessThreshold // The parameters used to perform test evaluation over TCP. - TCPConfiguration *ConnectionMonitorTCPConfiguration `json:"tcpConfiguration,omitempty"` + TCPConfiguration *ConnectionMonitorTCPConfiguration // The frequency of test evaluation, in seconds. - TestFrequencySec *int32 `json:"testFrequencySec,omitempty"` + TestFrequencySec *int32 } // ConnectionMonitorTestGroup - Describes the connection monitor test group. type ConnectionMonitorTestGroup struct { // REQUIRED; List of destination endpoint names. - Destinations []*string `json:"destinations,omitempty"` + Destinations []*string // REQUIRED; The name of the connection monitor test group. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; List of source endpoint names. - Sources []*string `json:"sources,omitempty"` + Sources []*string // REQUIRED; List of test configuration names. - TestConfigurations []*string `json:"testConfigurations,omitempty"` + TestConfigurations []*string // Value indicating whether test group is disabled. - Disable *bool `json:"disable,omitempty"` + Disable *bool } // ConnectionMonitorWorkspaceSettings - Describes the settings for producing output into a log analytics workspace. type ConnectionMonitorWorkspaceSettings struct { // Log analytics workspace resource ID. - WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` + WorkspaceResourceID *string } // ConnectionMonitorsClientBeginCreateOrUpdateOptions contains the optional parameters for the ConnectionMonitorsClient.BeginCreateOrUpdate @@ -4046,104 +4046,104 @@ type ConnectionMonitorsClientUpdateTagsOptions struct { // ConnectionResetSharedKey - The virtual network connection reset shared key. type ConnectionResetSharedKey struct { // REQUIRED; The virtual network connection reset shared key length, should between 1 and 128. - KeyLength *int32 `json:"keyLength,omitempty"` + KeyLength *int32 } // ConnectionSharedKey - Response for GetConnectionSharedKey API service call. type ConnectionSharedKey struct { // REQUIRED; The virtual network connection shared key value. - Value *string `json:"value,omitempty"` + Value *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // ConnectionStateSnapshot - Connection state snapshot. type ConnectionStateSnapshot struct { // Average latency in ms. - AvgLatencyInMs *int64 `json:"avgLatencyInMs,omitempty"` + AvgLatencyInMs *int64 // The connection state. - ConnectionState *ConnectionState `json:"connectionState,omitempty"` + ConnectionState *ConnectionState // The end time of the connection snapshot. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Connectivity analysis evaluation state. - EvaluationState *EvaluationState `json:"evaluationState,omitempty"` + EvaluationState *EvaluationState // Maximum latency in ms. - MaxLatencyInMs *int64 `json:"maxLatencyInMs,omitempty"` + MaxLatencyInMs *int64 // Minimum latency in ms. - MinLatencyInMs *int64 `json:"minLatencyInMs,omitempty"` + MinLatencyInMs *int64 // The number of failed probes. - ProbesFailed *int64 `json:"probesFailed,omitempty"` + ProbesFailed *int64 // The number of sent probes. - ProbesSent *int64 `json:"probesSent,omitempty"` + ProbesSent *int64 // The start time of the connection snapshot. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // READ-ONLY; List of hops between the source and the destination. - Hops []*ConnectivityHop `json:"hops,omitempty" azure:"ro"` + Hops []*ConnectivityHop } // ConnectivityConfiguration - The network manager connectivity configuration resource type ConnectivityConfiguration struct { // Properties of a network manager connectivity configuration - Properties *ConnectivityConfigurationProperties `json:"properties,omitempty"` + Properties *ConnectivityConfigurationProperties // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ConnectivityConfigurationListResult - Result of the request to list network manager connectivity configurations. It contains // a list of configurations and a link to get the next set of results. type ConnectivityConfigurationListResult struct { // Gets the URL to get the next page of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Gets a page of Connectivity Configurations - Value []*ConnectivityConfiguration `json:"value,omitempty"` + Value []*ConnectivityConfiguration } // ConnectivityConfigurationProperties - Properties of network manager connectivity configuration type ConnectivityConfigurationProperties struct { // REQUIRED; Groups for configuration - AppliesToGroups []*ConnectivityGroupItem `json:"appliesToGroups,omitempty"` + AppliesToGroups []*ConnectivityGroupItem // REQUIRED; Connectivity topology type. - ConnectivityTopology *ConnectivityTopology `json:"connectivityTopology,omitempty"` + ConnectivityTopology *ConnectivityTopology // Flag if need to remove current existing peerings. - DeleteExistingPeering *DeleteExistingPeering `json:"deleteExistingPeering,omitempty"` + DeleteExistingPeering *DeleteExistingPeering // A description of the connectivity configuration. - Description *string `json:"description,omitempty"` + Description *string // List of hubItems - Hubs []*Hub `json:"hubs,omitempty"` + Hubs []*Hub // Flag if global mesh is supported. - IsGlobal *IsGlobal `json:"isGlobal,omitempty"` + IsGlobal *IsGlobal // READ-ONLY; The provisioning state of the connectivity configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ConnectivityConfigurationsClientBeginDeleteOptions contains the optional parameters for the ConnectivityConfigurationsClient.BeginDelete @@ -4182,337 +4182,337 @@ type ConnectivityConfigurationsClientListOptions struct { // ConnectivityDestination - Parameters that define destination of connection. type ConnectivityDestination struct { // The IP address or URI the resource to which a connection attempt will be made. - Address *string `json:"address,omitempty"` + Address *string // Port on which check connectivity will be performed. - Port *int32 `json:"port,omitempty"` + Port *int32 // The ID of the resource to which a connection attempt will be made. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string } // ConnectivityGroupItem - Connectivity group item. type ConnectivityGroupItem struct { // REQUIRED; Group connectivity type. - GroupConnectivity *GroupConnectivity `json:"groupConnectivity,omitempty"` + GroupConnectivity *GroupConnectivity // REQUIRED; Network group Id. - NetworkGroupID *string `json:"networkGroupId,omitempty"` + NetworkGroupID *string // Flag if global is supported. - IsGlobal *IsGlobal `json:"isGlobal,omitempty"` + IsGlobal *IsGlobal // Flag if need to use hub gateway. - UseHubGateway *UseHubGateway `json:"useHubGateway,omitempty"` + UseHubGateway *UseHubGateway } // ConnectivityHop - Information about a hop between the source and the destination. type ConnectivityHop struct { // READ-ONLY; The IP address of the hop. - Address *string `json:"address,omitempty" azure:"ro"` + Address *string // READ-ONLY; The ID of the hop. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; List of issues. - Issues []*ConnectivityIssue `json:"issues,omitempty" azure:"ro"` + Issues []*ConnectivityIssue // READ-ONLY; List of hop links. - Links []*HopLink `json:"links,omitempty" azure:"ro"` + Links []*HopLink // READ-ONLY; List of next hop identifiers. - NextHopIDs []*string `json:"nextHopIds,omitempty" azure:"ro"` + NextHopIDs []*string // READ-ONLY; List of previous hop identifiers. - PreviousHopIDs []*string `json:"previousHopIds,omitempty" azure:"ro"` + PreviousHopIDs []*string // READ-ONLY; List of previous hop links. - PreviousLinks []*HopLink `json:"previousLinks,omitempty" azure:"ro"` + PreviousLinks []*HopLink // READ-ONLY; The ID of the resource corresponding to this hop. - ResourceID *string `json:"resourceId,omitempty" azure:"ro"` + ResourceID *string // READ-ONLY; The type of the hop. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ConnectivityInformation - Information on the connectivity status. type ConnectivityInformation struct { // READ-ONLY; Average latency in milliseconds. - AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty" azure:"ro"` + AvgLatencyInMs *int32 // READ-ONLY; The connection status. - ConnectionStatus *ConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *ConnectionStatus // READ-ONLY; List of hops between the source and the destination. - Hops []*ConnectivityHop `json:"hops,omitempty" azure:"ro"` + Hops []*ConnectivityHop // READ-ONLY; Maximum latency in milliseconds. - MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty" azure:"ro"` + MaxLatencyInMs *int32 // READ-ONLY; Minimum latency in milliseconds. - MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty" azure:"ro"` + MinLatencyInMs *int32 // READ-ONLY; Number of failed probes. - ProbesFailed *int32 `json:"probesFailed,omitempty" azure:"ro"` + ProbesFailed *int32 // READ-ONLY; Total number of probes sent. - ProbesSent *int32 `json:"probesSent,omitempty" azure:"ro"` + ProbesSent *int32 } // ConnectivityIssue - Information about an issue encountered in the process of checking for connectivity. type ConnectivityIssue struct { // READ-ONLY; Provides additional context on the issue. - Context []map[string]*string `json:"context,omitempty" azure:"ro"` + Context []map[string]*string // READ-ONLY; The origin of the issue. - Origin *Origin `json:"origin,omitempty" azure:"ro"` + Origin *Origin // READ-ONLY; The severity of the issue. - Severity *Severity `json:"severity,omitempty" azure:"ro"` + Severity *Severity // READ-ONLY; The type of issue. - Type *IssueType `json:"type,omitempty" azure:"ro"` + Type *IssueType } // ConnectivityParameters - Parameters that determine how the connectivity check will be performed. type ConnectivityParameters struct { // REQUIRED; The destination of connection. - Destination *ConnectivityDestination `json:"destination,omitempty"` + Destination *ConnectivityDestination // REQUIRED; The source of the connection. - Source *ConnectivitySource `json:"source,omitempty"` + Source *ConnectivitySource // Preferred IP version of the connection. - PreferredIPVersion *IPVersion `json:"preferredIPVersion,omitempty"` + PreferredIPVersion *IPVersion // Network protocol. - Protocol *Protocol `json:"protocol,omitempty"` + Protocol *Protocol // Configuration of the protocol. - ProtocolConfiguration *ProtocolConfiguration `json:"protocolConfiguration,omitempty"` + ProtocolConfiguration *ProtocolConfiguration } // ConnectivitySource - Parameters that define the source of the connection. type ConnectivitySource struct { // REQUIRED; The ID of the resource from which a connectivity check will be initiated. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // The source port from which a connectivity check will be performed. - Port *int32 `json:"port,omitempty"` + Port *int32 } // Container - Reference to container resource in remote resource provider. type Container struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // ContainerNetworkInterface - Container network interface child resource. type ContainerNetworkInterface struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Container network interface properties. - Properties *ContainerNetworkInterfacePropertiesFormat `json:"properties,omitempty"` + Properties *ContainerNetworkInterfacePropertiesFormat // 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; Sub Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ContainerNetworkInterfaceConfiguration - Container network interface configuration child resource. type ContainerNetworkInterfaceConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Container network interface configuration properties. - Properties *ContainerNetworkInterfaceConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *ContainerNetworkInterfaceConfigurationPropertiesFormat // 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; Sub Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ContainerNetworkInterfaceConfigurationPropertiesFormat - Container network interface configuration properties. type ContainerNetworkInterfaceConfigurationPropertiesFormat struct { // A list of container network interfaces created from this container network interface configuration. - ContainerNetworkInterfaces []*SubResource `json:"containerNetworkInterfaces,omitempty"` + ContainerNetworkInterfaces []*SubResource // A list of ip configurations of the container network interface configuration. - IPConfigurations []*IPConfigurationProfile `json:"ipConfigurations,omitempty"` + IPConfigurations []*IPConfigurationProfile // READ-ONLY; The provisioning state of the container network interface configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ContainerNetworkInterfaceIPConfiguration - The ip configuration for a container network interface. type ContainerNetworkInterfaceIPConfiguration struct { // The name of the resource. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the container network interface IP configuration. - Properties *ContainerNetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *ContainerNetworkInterfaceIPConfigurationPropertiesFormat // 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; Sub Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ContainerNetworkInterfaceIPConfigurationPropertiesFormat - Properties of the container network interface IP configuration. type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct { // READ-ONLY; The provisioning state of the container network interface IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ContainerNetworkInterfacePropertiesFormat - Properties of container network interface. type ContainerNetworkInterfacePropertiesFormat struct { // Reference to the container to which this container network interface is attached. - Container *Container `json:"container,omitempty"` + Container *Container // READ-ONLY; Container network interface configuration from which this container network interface is created. - ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfiguration,omitempty" azure:"ro"` + ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration // READ-ONLY; Reference to the ip configuration on this container nic. - IPConfigurations []*ContainerNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"` + IPConfigurations []*ContainerNetworkInterfaceIPConfiguration // READ-ONLY; The provisioning state of the container network interface resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // Criterion - A matching criteria which matches routes based on route prefix, community, and AS path. type Criterion struct { // List of AS paths which this criteria matches. - AsPath []*string `json:"asPath,omitempty"` + AsPath []*string // List of BGP communities which this criteria matches. - Community []*string `json:"community,omitempty"` + Community []*string // Match condition to apply RouteMap rules. - MatchCondition *RouteMapMatchCondition `json:"matchCondition,omitempty"` + MatchCondition *RouteMapMatchCondition // List of route prefixes which this criteria matches. - RoutePrefix []*string `json:"routePrefix,omitempty"` + RoutePrefix []*string } // CrossTenantScopes - Cross tenant scopes. type CrossTenantScopes struct { // READ-ONLY; List of management groups. - ManagementGroups []*string `json:"managementGroups,omitempty" azure:"ro"` + ManagementGroups []*string // READ-ONLY; List of subscriptions. - Subscriptions []*string `json:"subscriptions,omitempty" azure:"ro"` + Subscriptions []*string // READ-ONLY; Tenant ID. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // CustomDNSConfigPropertiesFormat - Contains custom Dns resolution configuration from customer. type CustomDNSConfigPropertiesFormat struct { // Fqdn that resolves to private endpoint ip address. - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // A list of private ip addresses of the private endpoint. - IPAddresses []*string `json:"ipAddresses,omitempty"` + IPAddresses []*string } // CustomIPPrefix - Custom IP prefix resource. type CustomIPPrefix struct { // The extended location of the custom IP prefix. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Custom IP prefix properties. - Properties *CustomIPPrefixPropertiesFormat `json:"properties,omitempty"` + Properties *CustomIPPrefixPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting the IP allocated for the resource needs to come from. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // CustomIPPrefixListResult - Response for ListCustomIpPrefixes API service call. type CustomIPPrefixListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of Custom IP prefixes that exists in a resource group. - Value []*CustomIPPrefix `json:"value,omitempty"` + Value []*CustomIPPrefix } // CustomIPPrefixPropertiesFormat - Custom IP prefix properties. type CustomIPPrefixPropertiesFormat struct { // The ASN for CIDR advertising. Should be an integer as string. - Asn *string `json:"asn,omitempty"` + Asn *string // Authorization message for WAN validation. - AuthorizationMessage *string `json:"authorizationMessage,omitempty"` + AuthorizationMessage *string // The prefix range in CIDR notation. Should include the start address and the prefix length. - Cidr *string `json:"cidr,omitempty"` + Cidr *string // The commissioned state of the Custom IP Prefix. - CommissionedState *CommissionedState `json:"commissionedState,omitempty"` + CommissionedState *CommissionedState // The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. - CustomIPPrefixParent *SubResource `json:"customIpPrefixParent,omitempty"` + CustomIPPrefixParent *SubResource // Whether to do express route advertise. - ExpressRouteAdvertise *bool `json:"expressRouteAdvertise,omitempty"` + ExpressRouteAdvertise *bool // The Geo for CIDR advertising. Should be an Geo code. - Geo *Geo `json:"geo,omitempty"` + Geo *Geo // Whether to Advertise the range to Internet. - NoInternetAdvertise *bool `json:"noInternetAdvertise,omitempty"` + NoInternetAdvertise *bool // Type of custom IP prefix. Should be Singular, Parent, or Child. - PrefixType *CustomIPPrefixType `json:"prefixType,omitempty"` + PrefixType *CustomIPPrefixType // Signed message for WAN validation. - SignedMessage *string `json:"signedMessage,omitempty"` + SignedMessage *string // READ-ONLY; The list of all Children for IPv6 /48 CustomIpPrefix. - ChildCustomIPPrefixes []*SubResource `json:"childCustomIpPrefixes,omitempty" azure:"ro"` + ChildCustomIPPrefixes []*SubResource // READ-ONLY; The reason why resource is in failed state. - FailedReason *string `json:"failedReason,omitempty" azure:"ro"` + FailedReason *string // READ-ONLY; The provisioning state of the custom IP prefix resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The list of all referenced PublicIpPrefixes. - PublicIPPrefixes []*SubResource `json:"publicIpPrefixes,omitempty" azure:"ro"` + PublicIPPrefixes []*SubResource // READ-ONLY; The resource GUID property of the custom IP prefix resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // CustomIPPrefixesClientBeginCreateOrUpdateOptions contains the optional parameters for the CustomIPPrefixesClient.BeginCreateOrUpdate @@ -4552,19 +4552,19 @@ type CustomIPPrefixesClientUpdateTagsOptions struct { // DNSNameAvailabilityResult - Response for the CheckDnsNameAvailability API service call. type DNSNameAvailabilityResult struct { // Domain availability (True/False). - Available *bool `json:"available,omitempty"` + Available *bool } // DNSSettings - DNS Proxy Settings in Firewall Policy. type DNSSettings struct { // Enable DNS Proxy on Firewalls attached to the Firewall Policy. - EnableProxy *bool `json:"enableProxy,omitempty"` + EnableProxy *bool // FQDNs in Network Rules are supported when set to true. - RequireProxyForNetworkRules *bool `json:"requireProxyForNetworkRules,omitempty"` + RequireProxyForNetworkRules *bool // List of Custom DNS Servers. - Servers []*string `json:"servers,omitempty"` + Servers []*string } // DdosCustomPoliciesClientBeginCreateOrUpdateOptions contains the optional parameters for the DdosCustomPoliciesClient.BeginCreateOrUpdate @@ -4595,84 +4595,84 @@ type DdosCustomPoliciesClientUpdateTagsOptions struct { // DdosCustomPolicy - A DDoS custom policy in a resource group. type DdosCustomPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the DDoS custom policy. - Properties *DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *DdosCustomPolicyPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DdosCustomPolicyPropertiesFormat - DDoS custom policy properties. type DdosCustomPolicyPropertiesFormat struct { // READ-ONLY; The provisioning state of the DDoS custom policy resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if // the user changes its name or migrate the resource across subscriptions or resource groups. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // DdosProtectionPlan - A DDoS protection plan in a resource group. type DdosProtectionPlan struct { // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the DDoS protection plan. - Properties *DdosProtectionPlanPropertiesFormat `json:"properties,omitempty"` + Properties *DdosProtectionPlanPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DdosProtectionPlanListResult - A list of DDoS protection plans. type DdosProtectionPlanListResult struct { // A list of DDoS protection plans. - Value []*DdosProtectionPlan `json:"value,omitempty"` + Value []*DdosProtectionPlan // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // DdosProtectionPlanPropertiesFormat - DDoS protection plan properties. type DdosProtectionPlanPropertiesFormat struct { // READ-ONLY; The provisioning state of the DDoS protection plan resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The list of public IPs associated with the DDoS protection plan resource. This list is read-only. - PublicIPAddresses []*SubResource `json:"publicIPAddresses,omitempty" azure:"ro"` + PublicIPAddresses []*SubResource // READ-ONLY; The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if // the user changes its name or migrate the resource across subscriptions or resource groups. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. - VirtualNetworks []*SubResource `json:"virtualNetworks,omitempty" azure:"ro"` + VirtualNetworks []*SubResource } // DdosProtectionPlansClientBeginCreateOrUpdateOptions contains the optional parameters for the DdosProtectionPlansClient.BeginCreateOrUpdate @@ -4714,71 +4714,71 @@ type DdosProtectionPlansClientUpdateTagsOptions struct { // DdosSettings - Contains the DDoS protection settings of the public IP. type DdosSettings struct { // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled - DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + DdosProtectionPlan *SubResource // The DDoS protection mode of the public IP - ProtectionMode *DdosSettingsProtectionMode `json:"protectionMode,omitempty"` + ProtectionMode *DdosSettingsProtectionMode } // DefaultAdminPropertiesFormat - Security default admin rule resource. type DefaultAdminPropertiesFormat struct { // Default rule flag. - Flag *string `json:"flag,omitempty"` + Flag *string // READ-ONLY; Indicates the access allowed for this particular rule - Access *SecurityConfigurationRuleAccess `json:"access,omitempty" azure:"ro"` + Access *SecurityConfigurationRuleAccess // READ-ONLY; A description for this rule. Restricted to 140 chars. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; The destination port ranges. - DestinationPortRanges []*string `json:"destinationPortRanges,omitempty" azure:"ro"` + DestinationPortRanges []*string // READ-ONLY; The destination address prefixes. CIDR or destination IP ranges. - Destinations []*AddressPrefixItem `json:"destinations,omitempty" azure:"ro"` + Destinations []*AddressPrefixItem // READ-ONLY; Indicates if the traffic matched against the rule in inbound or outbound. - Direction *SecurityConfigurationRuleDirection `json:"direction,omitempty" azure:"ro"` + Direction *SecurityConfigurationRuleDirection // READ-ONLY; The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule // in the collection. The lower the priority number, the higher the priority of the rule. - Priority *int32 `json:"priority,omitempty" azure:"ro"` + Priority *int32 // READ-ONLY; Network protocol this rule applies to. - Protocol *SecurityConfigurationRuleProtocol `json:"protocol,omitempty" azure:"ro"` + Protocol *SecurityConfigurationRuleProtocol // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The source port ranges. - SourcePortRanges []*string `json:"sourcePortRanges,omitempty" azure:"ro"` + SourcePortRanges []*string // READ-ONLY; The CIDR or source IP ranges. - Sources []*AddressPrefixItem `json:"sources,omitempty" azure:"ro"` + Sources []*AddressPrefixItem } // DefaultAdminRule - Network default admin rule. type DefaultAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *AdminRuleKind `json:"kind,omitempty"` + Kind *AdminRuleKind // Indicates the properties of the security admin rule - Properties *DefaultAdminPropertiesFormat `json:"properties,omitempty"` + Properties *DefaultAdminPropertiesFormat // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GetBaseAdminRule implements the BaseAdminRuleClassification interface for type DefaultAdminRule. @@ -4796,10 +4796,10 @@ func (d *DefaultAdminRule) GetBaseAdminRule() *BaseAdminRule { // DefaultRuleSetPropertyFormat - the default web application firewall rule set. type DefaultRuleSetPropertyFormat struct { // The type of the web application firewall rule set. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // The version of the web application firewall rule set type. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string } // DefaultSecurityRulesClientGetOptions contains the optional parameters for the DefaultSecurityRulesClient.Get method. @@ -4816,83 +4816,83 @@ type DefaultSecurityRulesClientListOptions struct { // Delegation - Details the service to which the subnet is delegated. type Delegation struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a subnet. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the subnet. - Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"` + Properties *ServiceDelegationPropertiesFormat // Resource type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // DelegationProperties - Properties of the delegation. type DelegationProperties struct { // The service name to which the NVA is delegated. - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string // READ-ONLY; The current provisioning state. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // DeviceProperties - List of properties of the device. type DeviceProperties struct { // Model of the device. - DeviceModel *string `json:"deviceModel,omitempty"` + DeviceModel *string // Name of the device Vendor. - DeviceVendor *string `json:"deviceVendor,omitempty"` + DeviceVendor *string // Link speed. - LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"` + LinkSpeedInMbps *int32 } // DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for // a subnet overrides VNET DHCP options. type DhcpOptions struct { // The list of DNS servers IP addresses. - DNSServers []*string `json:"dnsServers,omitempty"` + DNSServers []*string } // Dimension of the metric. type Dimension struct { // The display name of the dimension. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The internal name of the dimension. - InternalName *string `json:"internalName,omitempty"` + InternalName *string // The name of the dimension. - Name *string `json:"name,omitempty"` + Name *string } // DscpConfiguration - Differentiated Services Code Point configuration for any given network interface type DscpConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the network interface. - Properties *DscpConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *DscpConfigurationPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // DscpConfigurationClientBeginCreateOrUpdateOptions contains the optional parameters for the DscpConfigurationClient.BeginCreateOrUpdate @@ -4928,46 +4928,46 @@ type DscpConfigurationClientListOptions struct { // DscpConfigurationListResult - Response for the DscpConfigurationList API service call. type DscpConfigurationListResult struct { // A list of dscp configurations in a resource group. - Value []*DscpConfiguration `json:"value,omitempty"` + Value []*DscpConfiguration // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // DscpConfigurationPropertiesFormat - Differentiated Services Code Point configuration properties. type DscpConfigurationPropertiesFormat struct { // Destination IP ranges. - DestinationIPRanges []*QosIPRange `json:"destinationIpRanges,omitempty"` + DestinationIPRanges []*QosIPRange // Destination port ranges. - DestinationPortRanges []*QosPortRange `json:"destinationPortRanges,omitempty"` + DestinationPortRanges []*QosPortRange // List of markings to be used in the configuration. - Markings []*int32 `json:"markings,omitempty"` + Markings []*int32 // RNM supported protocol types. - Protocol *ProtocolType `json:"protocol,omitempty"` + Protocol *ProtocolType // QoS object definitions - QosDefinitionCollection []*QosDefinition `json:"qosDefinitionCollection,omitempty"` + QosDefinitionCollection []*QosDefinition // Source IP ranges. - SourceIPRanges []*QosIPRange `json:"sourceIpRanges,omitempty"` + SourceIPRanges []*QosIPRange // Sources port ranges. - SourcePortRanges []*QosPortRange `json:"sourcePortRanges,omitempty"` + SourcePortRanges []*QosPortRange // READ-ONLY; Associated Network Interfaces to the DSCP Configuration. - AssociatedNetworkInterfaces []*Interface `json:"associatedNetworkInterfaces,omitempty" azure:"ro"` + AssociatedNetworkInterfaces []*Interface // READ-ONLY; The provisioning state of the DSCP Configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Qos Collection ID generated by RNM. - QosCollectionID *string `json:"qosCollectionId,omitempty" azure:"ro"` + QosCollectionID *string // READ-ONLY; The resource GUID property of the DSCP Configuration resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // EffectiveBaseSecurityAdminRuleClassification provides polymorphic access to related types. @@ -4982,22 +4982,22 @@ type EffectiveBaseSecurityAdminRuleClassification interface { // EffectiveBaseSecurityAdminRule - Network base admin rule. type EffectiveBaseSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetEffectiveBaseSecurityAdminRule implements the EffectiveBaseSecurityAdminRuleClassification interface for type EffectiveBaseSecurityAdminRule. @@ -5008,37 +5008,37 @@ func (e *EffectiveBaseSecurityAdminRule) GetEffectiveBaseSecurityAdminRule() *Ef // EffectiveConnectivityConfiguration - The network manager effective connectivity configuration type EffectiveConnectivityConfiguration struct { // Effective configuration groups. - ConfigurationGroups []*ConfigurationGroup `json:"configurationGroups,omitempty"` + ConfigurationGroups []*ConfigurationGroup // Connectivity configuration ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of a network manager connectivity configuration - Properties *ConnectivityConfigurationProperties `json:"properties,omitempty"` + Properties *ConnectivityConfigurationProperties } // EffectiveDefaultSecurityAdminRule - Network default admin rule. type EffectiveDefaultSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Indicates the properties of the default security admin rule - Properties *DefaultAdminPropertiesFormat `json:"properties,omitempty"` + Properties *DefaultAdminPropertiesFormat // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetEffectiveBaseSecurityAdminRule implements the EffectiveBaseSecurityAdminRuleClassification interface for type EffectiveDefaultSecurityAdminRule. @@ -5056,168 +5056,168 @@ func (e *EffectiveDefaultSecurityAdminRule) GetEffectiveBaseSecurityAdminRule() // EffectiveNetworkSecurityGroup - Effective network security group. type EffectiveNetworkSecurityGroup struct { // Associated resources. - Association *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"` + Association *EffectiveNetworkSecurityGroupAssociation // A collection of effective security rules. - EffectiveSecurityRules []*EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"` + EffectiveSecurityRules []*EffectiveNetworkSecurityRule // The ID of network security group that is applied. - NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` + NetworkSecurityGroup *SubResource // Mapping of tags to list of IP Addresses included within the tag. - TagMap *string `json:"tagMap,omitempty"` + TagMap *string } // EffectiveNetworkSecurityGroupAssociation - The effective network security group association. type EffectiveNetworkSecurityGroupAssociation struct { // The ID of the network interface if assigned. - NetworkInterface *SubResource `json:"networkInterface,omitempty"` + NetworkInterface *SubResource // The ID of the Azure network manager if assigned. - NetworkManager *SubResource `json:"networkManager,omitempty"` + NetworkManager *SubResource // The ID of the subnet if assigned. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource } // EffectiveNetworkSecurityGroupListResult - Response for list effective network security groups API service call. type EffectiveNetworkSecurityGroupListResult struct { // A list of effective network security groups. - Value []*EffectiveNetworkSecurityGroup `json:"value,omitempty"` + Value []*EffectiveNetworkSecurityGroup // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // EffectiveNetworkSecurityRule - Effective network security rules. type EffectiveNetworkSecurityRule struct { // Whether network traffic is allowed or denied. - Access *SecurityRuleAccess `json:"access,omitempty"` + Access *SecurityRuleAccess // The destination address prefix. - DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefix *string // The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, // Internet), System Tags, and the asterisk (*). - DestinationAddressPrefixes []*string `json:"destinationAddressPrefixes,omitempty"` + DestinationAddressPrefixes []*string // The destination port or range. - DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRange *string // The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator // (e.g. 100-400), or an asterisk (*). - DestinationPortRanges []*string `json:"destinationPortRanges,omitempty"` + DestinationPortRanges []*string // The direction of the rule. - Direction *SecurityRuleDirection `json:"direction,omitempty"` + Direction *SecurityRuleDirection // Expanded destination address prefix. - ExpandedDestinationAddressPrefix []*string `json:"expandedDestinationAddressPrefix,omitempty"` + ExpandedDestinationAddressPrefix []*string // The expanded source address prefix. - ExpandedSourceAddressPrefix []*string `json:"expandedSourceAddressPrefix,omitempty"` + ExpandedSourceAddressPrefix []*string // The name of the security rule specified by the user (if created by the user). - Name *string `json:"name,omitempty"` + Name *string // The priority of the rule. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // The network protocol this rule applies to. - Protocol *EffectiveSecurityRuleProtocol `json:"protocol,omitempty"` + Protocol *EffectiveSecurityRuleProtocol // The source address prefix. - SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefix *string // The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), // System Tags, and the asterisk (*). - SourceAddressPrefixes []*string `json:"sourceAddressPrefixes,omitempty"` + SourceAddressPrefixes []*string // The source port or range. - SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRange *string // The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. // 100-400), or an asterisk (*). - SourcePortRanges []*string `json:"sourcePortRanges,omitempty"` + SourcePortRanges []*string } // EffectiveRoute - Effective Route. type EffectiveRoute struct { // The address prefixes of the effective routes in CIDR notation. - AddressPrefix []*string `json:"addressPrefix,omitempty"` + AddressPrefix []*string // If true, on-premises routes are not propagated to the network interfaces in the subnet. - DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + DisableBgpRoutePropagation *bool // The name of the user defined route. This is optional. - Name *string `json:"name,omitempty"` + Name *string // The IP address of the next hop of the effective route. - NextHopIPAddress []*string `json:"nextHopIpAddress,omitempty"` + NextHopIPAddress []*string // The type of Azure hop the packet should be sent to. - NextHopType *RouteNextHopType `json:"nextHopType,omitempty"` + NextHopType *RouteNextHopType // Who created the route. - Source *EffectiveRouteSource `json:"source,omitempty"` + Source *EffectiveRouteSource // The value of effective route. - State *EffectiveRouteState `json:"state,omitempty"` + State *EffectiveRouteState } // EffectiveRouteListResult - Response for list effective route API service call. type EffectiveRouteListResult struct { // A list of effective routes. - Value []*EffectiveRoute `json:"value,omitempty"` + Value []*EffectiveRoute // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // EffectiveRouteMapRoute - The effective RouteMap route configured on the connection resource. type EffectiveRouteMapRoute struct { // The ASPath of this route. - AsPath *string `json:"asPath,omitempty"` + AsPath *string // BGP communities of the route. - BgpCommunities *string `json:"bgpCommunities,omitempty"` + BgpCommunities *string // The address prefix of the route. - Prefix []*string `json:"prefix,omitempty"` + Prefix []*string } // EffectiveRoutesParameters - The parameters specifying the resource whose effective routes are being requested. type EffectiveRoutesParameters struct { // The resource whose effective routes are being requested. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection // and P2SConnection. - VirtualWanResourceType *string `json:"virtualWanResourceType,omitempty"` + VirtualWanResourceType *string } // EffectiveSecurityAdminRule - Network admin rule. type EffectiveSecurityAdminRule struct { // REQUIRED; Whether the rule is custom or default. - Kind *EffectiveAdminRuleKind `json:"kind,omitempty"` + Kind *EffectiveAdminRuleKind // A description of the security admin configuration. - ConfigurationDescription *string `json:"configurationDescription,omitempty"` + ConfigurationDescription *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Indicates the properties of the security admin rule - Properties *AdminPropertiesFormat `json:"properties,omitempty"` + Properties *AdminPropertiesFormat // Groups for rule collection - RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` + RuleCollectionAppliesToGroups []*ManagerSecurityGroupItem // A description of the rule collection. - RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` + RuleCollectionDescription *string // Effective configuration groups. - RuleGroups []*ConfigurationGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ConfigurationGroup } // GetEffectiveBaseSecurityAdminRule implements the EffectiveBaseSecurityAdminRuleClassification interface for type EffectiveSecurityAdminRule. @@ -5235,181 +5235,181 @@ func (e *EffectiveSecurityAdminRule) GetEffectiveBaseSecurityAdminRule() *Effect // EndpointServiceResult - Endpoint service. type EndpointServiceResult struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // READ-ONLY; Name of the endpoint service. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Type of the endpoint service. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // EndpointServicesListResult - Response for the ListAvailableEndpointServices API service call. type EndpointServicesListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of available endpoint services in a region. - Value []*EndpointServiceResult `json:"value,omitempty"` + Value []*EndpointServiceResult } // Error - Common error representation. type Error struct { // Error code. - Code *string `json:"code,omitempty"` + Code *string // Error details. - Details []*ErrorDetails `json:"details,omitempty"` + Details []*ErrorDetails // Inner error message. - InnerError *string `json:"innerError,omitempty"` + InnerError *string // Error message. - Message *string `json:"message,omitempty"` + Message *string // Error target. - Target *string `json:"target,omitempty"` + Target *string } // ErrorDetails - Common error details representation. type ErrorDetails struct { // Error code. - Code *string `json:"code,omitempty"` + Code *string // Error message. - Message *string `json:"message,omitempty"` + Message *string // Error target. - Target *string `json:"target,omitempty"` + Target *string } // ErrorResponse - The error object. type ErrorResponse struct { // The error details object. - Error *ErrorDetails `json:"error,omitempty"` + Error *ErrorDetails } // EvaluatedNetworkSecurityGroup - Results of network security group evaluation. type EvaluatedNetworkSecurityGroup struct { // Resource ID of nic or subnet to which network security group is applied. - AppliedTo *string `json:"appliedTo,omitempty"` + AppliedTo *string // Matched network security rule. - MatchedRule *MatchedRule `json:"matchedRule,omitempty"` + MatchedRule *MatchedRule // Network security group ID. - NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty"` + NetworkSecurityGroupID *string // READ-ONLY; List of network security rules evaluation results. - RulesEvaluationResult []*SecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty" azure:"ro"` + RulesEvaluationResult []*SecurityRulesEvaluationResult } // ExclusionManagedRule - Defines a managed rule to use for exclusion. type ExclusionManagedRule struct { // REQUIRED; Identifier for the managed rule. - RuleID *string `json:"ruleId,omitempty"` + RuleID *string } // ExclusionManagedRuleGroup - Defines a managed rule group to use for exclusion. type ExclusionManagedRuleGroup struct { // REQUIRED; The managed rule group for exclusion. - RuleGroupName *string `json:"ruleGroupName,omitempty"` + RuleGroupName *string // List of rules that will be excluded. If none specified, all rules in the group will be excluded. - Rules []*ExclusionManagedRule `json:"rules,omitempty"` + Rules []*ExclusionManagedRule } // ExclusionManagedRuleSet - Defines a managed rule set for Exclusions. type ExclusionManagedRuleSet struct { // REQUIRED; Defines the rule set type to use. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // REQUIRED; Defines the version of the rule set to use. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string // Defines the rule groups to apply to the rule set. - RuleGroups []*ExclusionManagedRuleGroup `json:"ruleGroups,omitempty"` + RuleGroups []*ExclusionManagedRuleGroup } // ExplicitProxySettings - Explicit Proxy Settings in Firewall Policy. type ExplicitProxySettings struct { // When set to true, explicit proxy mode is enabled. - EnableExplicitProxy *bool `json:"enableExplicitProxy,omitempty"` + EnableExplicitProxy *bool // When set to true, pac file port and url needs to be provided. - EnablePacFile *bool `json:"enablePacFile,omitempty"` + EnablePacFile *bool // Port number for explicit proxy http protocol, cannot be greater than 64000. - HTTPPort *int32 `json:"httpPort,omitempty"` + HTTPPort *int32 // Port number for explicit proxy https protocol, cannot be greater than 64000. - HTTPSPort *int32 `json:"httpsPort,omitempty"` + HTTPSPort *int32 // SAS URL for PAC file. - PacFile *string `json:"pacFile,omitempty"` + PacFile *string // Port number for firewall to serve PAC file. - PacFilePort *int32 `json:"pacFilePort,omitempty"` + PacFilePort *int32 } // ExpressRouteCircuit resource. type ExpressRouteCircuit struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the express route circuit. - Properties *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRouteCircuitPropertiesFormat // The SKU. - SKU *ExpressRouteCircuitSKU `json:"sku,omitempty"` + SKU *ExpressRouteCircuitSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteCircuitArpTable - The ARP table associated with the ExpressRouteCircuit. type ExpressRouteCircuitArpTable struct { // Entry age in minutes. - Age *int32 `json:"age,omitempty"` + Age *int32 // The IP address. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // Interface address. - Interface *string `json:"interface,omitempty"` + Interface *string // The MAC address. - MacAddress *string `json:"macAddress,omitempty"` + MacAddress *string } // ExpressRouteCircuitAuthorization - Authorization in an ExpressRouteCircuit resource. type ExpressRouteCircuitAuthorization struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the express route circuit authorization. - Properties *AuthorizationPropertiesFormat `json:"properties,omitempty"` + Properties *AuthorizationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteCircuitAuthorizationsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitAuthorizationsClient.BeginCreateOrUpdate @@ -5441,53 +5441,53 @@ type ExpressRouteCircuitAuthorizationsClientListOptions struct { // ExpressRouteCircuitConnection - Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. type ExpressRouteCircuitConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the express route circuit connection. - Properties *ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRouteCircuitConnectionPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteCircuitConnectionListResult - Response for ListConnections API service call retrieves all global reach connections // that belongs to a Private Peering for an ExpressRouteCircuit. type ExpressRouteCircuitConnectionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The global reach connection associated with Private Peering in an ExpressRoute Circuit. - Value []*ExpressRouteCircuitConnection `json:"value,omitempty"` + Value []*ExpressRouteCircuitConnection } // ExpressRouteCircuitConnectionPropertiesFormat - Properties of the express route circuit connection. type ExpressRouteCircuitConnectionPropertiesFormat struct { // /29 IP address space to carve out Customer addresses for tunnels. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // The authorization key. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. - ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` + ExpressRouteCircuitPeering *SubResource // IPv6 Address PrefixProperties of the express route circuit connection. - IPv6CircuitConnectionConfig *IPv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"` + IPv6CircuitConnectionConfig *IPv6CircuitConnectionConfig // Reference to Express Route Circuit Private Peering Resource of the peered circuit. - PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` + PeerExpressRouteCircuitPeering *SubResource // READ-ONLY; Express Route Circuit connection state. - CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"` + CircuitConnectionStatus *CircuitConnectionStatus // READ-ONLY; The provisioning state of the express route circuit connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRouteCircuitConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitConnectionsClient.BeginCreateOrUpdate @@ -5519,128 +5519,128 @@ type ExpressRouteCircuitConnectionsClientListOptions struct { // ExpressRouteCircuitListResult - Response for ListExpressRouteCircuit API service call. type ExpressRouteCircuitListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of ExpressRouteCircuits in a resource group. - Value []*ExpressRouteCircuit `json:"value,omitempty"` + Value []*ExpressRouteCircuit } // ExpressRouteCircuitPeering - Peering in an ExpressRouteCircuit resource. type ExpressRouteCircuitPeering struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the express route circuit peering. - Properties *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRouteCircuitPeeringPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteCircuitPeeringConfig - Specifies the peering configuration. type ExpressRouteCircuitPeeringConfig struct { // The communities of bgp peering. Specified for microsoft peering. - AdvertisedCommunities []*string `json:"advertisedCommunities,omitempty"` + AdvertisedCommunities []*string // The reference to AdvertisedPublicPrefixes. - AdvertisedPublicPrefixes []*string `json:"advertisedPublicPrefixes,omitempty"` + AdvertisedPublicPrefixes []*string // The CustomerASN of the peering. - CustomerASN *int32 `json:"customerASN,omitempty"` + CustomerASN *int32 // The legacy mode of the peering. - LegacyMode *int32 `json:"legacyMode,omitempty"` + LegacyMode *int32 // The RoutingRegistryName of the configuration. - RoutingRegistryName *string `json:"routingRegistryName,omitempty"` + RoutingRegistryName *string // READ-ONLY; The advertised public prefix state of the Peering resource. - AdvertisedPublicPrefixesState *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty" azure:"ro"` + AdvertisedPublicPrefixesState *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState } // ExpressRouteCircuitPeeringID - ExpressRoute circuit peering identifier. type ExpressRouteCircuitPeeringID struct { // The ID of the ExpressRoute circuit peering. - ID *string `json:"id,omitempty"` + ID *string } // ExpressRouteCircuitPeeringListResult - Response for ListPeering API service call retrieves all peerings that belong to // an ExpressRouteCircuit. type ExpressRouteCircuitPeeringListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The peerings in an express route circuit. - Value []*ExpressRouteCircuitPeering `json:"value,omitempty"` + Value []*ExpressRouteCircuitPeering } // ExpressRouteCircuitPeeringPropertiesFormat - Properties of the express route circuit peering. type ExpressRouteCircuitPeeringPropertiesFormat struct { // The Azure ASN. - AzureASN *int32 `json:"azureASN,omitempty"` + AzureASN *int32 // The list of circuit connections associated with Azure Private Peering for this circuit. - Connections []*ExpressRouteCircuitConnection `json:"connections,omitempty"` + Connections []*ExpressRouteCircuitConnection // The ExpressRoute connection. - ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"` + ExpressRouteConnection *ExpressRouteConnectionID // The GatewayManager Etag. - GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` + GatewayManagerEtag *string // The IPv6 peering configuration. - IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"` + IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig // The Microsoft peering configuration. - MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` + MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig // The peer ASN. - PeerASN *int64 `json:"peerASN,omitempty"` + PeerASN *int64 // The peering type. - PeeringType *ExpressRoutePeeringType `json:"peeringType,omitempty"` + PeeringType *ExpressRoutePeeringType // The primary port. - PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"` + PrimaryAzurePort *string // The primary address prefix. - PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` + PrimaryPeerAddressPrefix *string // The reference to the RouteFilter resource. - RouteFilter *SubResource `json:"routeFilter,omitempty"` + RouteFilter *SubResource // The secondary port. - SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"` + SecondaryAzurePort *string // The secondary address prefix. - SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` + SecondaryPeerAddressPrefix *string // The shared key. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // The peering state. - State *ExpressRoutePeeringState `json:"state,omitempty"` + State *ExpressRoutePeeringState // The peering stats of express route circuit. - Stats *ExpressRouteCircuitStats `json:"stats,omitempty"` + Stats *ExpressRouteCircuitStats // The VLAN ID. - VlanID *int32 `json:"vlanId,omitempty"` + VlanID *int32 // READ-ONLY; Who was the last to modify the peering. - LastModifiedBy *string `json:"lastModifiedBy,omitempty" azure:"ro"` + LastModifiedBy *string // READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit. - PeeredConnections []*PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty" azure:"ro"` + PeeredConnections []*PeerExpressRouteCircuitConnection // READ-ONLY; The provisioning state of the express route circuit peering resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRouteCircuitPeeringsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitPeeringsClient.BeginCreateOrUpdate @@ -5672,143 +5672,143 @@ type ExpressRouteCircuitPeeringsClientListOptions struct { // ExpressRouteCircuitPropertiesFormat - Properties of ExpressRouteCircuit. type ExpressRouteCircuitPropertiesFormat struct { // Allow classic operations. - AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"` + AllowClassicOperations *bool // The authorizationKey. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // The list of authorizations. - Authorizations []*ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"` + Authorizations []*ExpressRouteCircuitAuthorization // The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. - BandwidthInGbps *float32 `json:"bandwidthInGbps,omitempty"` + BandwidthInGbps *float32 // The CircuitProvisioningState state of the resource. - CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"` + CircuitProvisioningState *string // The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource. - ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"` + ExpressRoutePort *SubResource // The GatewayManager Etag. - GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` + GatewayManagerEtag *string // Flag denoting global reach status. - GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"` + GlobalReachEnabled *bool // The list of peerings. - Peerings []*ExpressRouteCircuitPeering `json:"peerings,omitempty"` + Peerings []*ExpressRouteCircuitPeering // The ServiceKey. - ServiceKey *string `json:"serviceKey,omitempty"` + ServiceKey *string // The ServiceProviderNotes. - ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"` + ServiceProviderNotes *string // The ServiceProviderProperties. - ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"` + ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties // The ServiceProviderProvisioningState state of the resource. - ServiceProviderProvisioningState *ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"` + ServiceProviderProvisioningState *ServiceProviderProvisioningState // READ-ONLY; The authorization status of the Circuit. - AuthorizationStatus *string `json:"authorizationStatus,omitempty" azure:"ro"` + AuthorizationStatus *string // READ-ONLY; The provisioning state of the express route circuit resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The identifier of the circuit traffic. Outer tag for QinQ encapsulation. - Stag *int32 `json:"stag,omitempty" azure:"ro"` + Stag *int32 } // ExpressRouteCircuitReference - Reference to an express route circuit. type ExpressRouteCircuitReference struct { // Corresponding Express Route Circuit Id. - ID *string `json:"id,omitempty"` + ID *string } // ExpressRouteCircuitRoutesTable - The routes table associated with the ExpressRouteCircuit. type ExpressRouteCircuitRoutesTable struct { // Local preference value as set with the set local-preference route-map configuration command. - LocPrf *string `json:"locPrf,omitempty"` + LocPrf *string // IP address of a network entity. - Network *string `json:"network,omitempty"` + Network *string // NextHop address. - NextHop *string `json:"nextHop,omitempty"` + NextHop *string // Autonomous system paths to the destination network. - Path *string `json:"path,omitempty"` + Path *string // Route Weight. - Weight *int32 `json:"weight,omitempty"` + Weight *int32 } // ExpressRouteCircuitRoutesTableSummary - The routes table associated with the ExpressRouteCircuit. type ExpressRouteCircuitRoutesTableSummary struct { // Autonomous system number. - As *int32 `json:"as,omitempty"` + As *int32 // IP address of the neighbor. - Neighbor *string `json:"neighbor,omitempty"` + Neighbor *string // Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group. - StatePfxRcd *string `json:"statePfxRcd,omitempty"` + StatePfxRcd *string // The length of time that the BGP session has been in the Established state, or the current status if not in the Established // state. - UpDown *string `json:"upDown,omitempty"` + UpDown *string // BGP version number spoken to the neighbor. - V *int32 `json:"v,omitempty"` + V *int32 } // ExpressRouteCircuitSKU - Contains SKU in an ExpressRouteCircuit. type ExpressRouteCircuitSKU struct { // The family of the SKU. - Family *ExpressRouteCircuitSKUFamily `json:"family,omitempty"` + Family *ExpressRouteCircuitSKUFamily // The name of the SKU. - Name *string `json:"name,omitempty"` + Name *string // The tier of the SKU. - Tier *ExpressRouteCircuitSKUTier `json:"tier,omitempty"` + Tier *ExpressRouteCircuitSKUTier } // ExpressRouteCircuitServiceProviderProperties - Contains ServiceProviderProperties in an ExpressRouteCircuit. type ExpressRouteCircuitServiceProviderProperties struct { // The BandwidthInMbps. - BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"` + BandwidthInMbps *int32 // The peering location. - PeeringLocation *string `json:"peeringLocation,omitempty"` + PeeringLocation *string // The serviceProviderName. - ServiceProviderName *string `json:"serviceProviderName,omitempty"` + ServiceProviderName *string } // ExpressRouteCircuitStats - Contains stats associated with the peering. type ExpressRouteCircuitStats struct { // The Primary BytesIn of the peering. - PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"` + PrimarybytesIn *int64 // The primary BytesOut of the peering. - PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"` + PrimarybytesOut *int64 // The secondary BytesIn of the peering. - SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"` + SecondarybytesIn *int64 // The secondary BytesOut of the peering. - SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"` + SecondarybytesOut *int64 } // ExpressRouteCircuitsArpTableListResult - Response for ListArpTable associated with the Express Route Circuits API. type ExpressRouteCircuitsArpTableListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of the ARP tables. - Value []*ExpressRouteCircuitArpTable `json:"value,omitempty"` + Value []*ExpressRouteCircuitArpTable } // ExpressRouteCircuitsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitsClient.BeginCreateOrUpdate @@ -5884,72 +5884,72 @@ type ExpressRouteCircuitsClientUpdateTagsOptions struct { // ExpressRouteCircuitsRoutesTableListResult - Response for ListRoutesTable associated with the Express Route Circuits API. type ExpressRouteCircuitsRoutesTableListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of routes table. - Value []*ExpressRouteCircuitRoutesTable `json:"value,omitempty"` + Value []*ExpressRouteCircuitRoutesTable } // ExpressRouteCircuitsRoutesTableSummaryListResult - Response for ListRoutesTable associated with the Express Route Circuits // API. type ExpressRouteCircuitsRoutesTableSummaryListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of the routes table. - Value []*ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"` + Value []*ExpressRouteCircuitRoutesTableSummary } // ExpressRouteConnection resource. type ExpressRouteConnection struct { // REQUIRED; The name of the resource. - Name *string `json:"name,omitempty"` + Name *string // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the express route connection. - Properties *ExpressRouteConnectionProperties `json:"properties,omitempty"` + Properties *ExpressRouteConnectionProperties } // ExpressRouteConnectionID - The ID of the ExpressRouteConnection. type ExpressRouteConnectionID struct { // READ-ONLY; The ID of the ExpressRouteConnection. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // ExpressRouteConnectionList - ExpressRouteConnection list. type ExpressRouteConnectionList struct { // The list of ExpressRoute connections. - Value []*ExpressRouteConnection `json:"value,omitempty"` + Value []*ExpressRouteConnection } // ExpressRouteConnectionProperties - Properties of the ExpressRouteConnection subresource. type ExpressRouteConnectionProperties struct { // REQUIRED; The ExpressRoute circuit peering. - ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID `json:"expressRouteCircuitPeering,omitempty"` + ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID // Authorization key to establish the connection. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // Enable internet security. - EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnableInternetSecurity *bool // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be // enabled. - EnablePrivateLinkFastPath *bool `json:"enablePrivateLinkFastPath,omitempty"` + EnablePrivateLinkFastPath *bool // Enable FastPath to vWan Firewall hub. - ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` + ExpressRouteGatewayBypass *bool // The Routing Configuration indicating the associated and propagated route tables on this connection. - RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingConfiguration *RoutingConfiguration // The routing weight associated to the connection. - RoutingWeight *int32 `json:"routingWeight,omitempty"` + RoutingWeight *int32 // READ-ONLY; The provisioning state of the express route connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRouteConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteConnectionsClient.BeginCreateOrUpdate @@ -5979,107 +5979,107 @@ type ExpressRouteConnectionsClientListOptions struct { // ExpressRouteCrossConnection resource. type ExpressRouteCrossConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the express route cross connection. - Properties *ExpressRouteCrossConnectionProperties `json:"properties,omitempty"` + Properties *ExpressRouteCrossConnectionProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteCrossConnectionListResult - Response for ListExpressRouteCrossConnection API service call. type ExpressRouteCrossConnectionListResult struct { // A list of ExpressRouteCrossConnection resources. - Value []*ExpressRouteCrossConnection `json:"value,omitempty"` + Value []*ExpressRouteCrossConnection // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ExpressRouteCrossConnectionPeering - Peering in an ExpressRoute Cross Connection resource. type ExpressRouteCrossConnectionPeering struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the express route cross connection peering. - Properties *ExpressRouteCrossConnectionPeeringProperties `json:"properties,omitempty"` + Properties *ExpressRouteCrossConnectionPeeringProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // ExpressRouteCrossConnectionPeeringList - Response for ListPeering API service call retrieves all peerings that belong to // an ExpressRouteCrossConnection. type ExpressRouteCrossConnectionPeeringList struct { // The peerings in an express route cross connection. - Value []*ExpressRouteCrossConnectionPeering `json:"value,omitempty"` + Value []*ExpressRouteCrossConnectionPeering // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ExpressRouteCrossConnectionPeeringProperties - Properties of express route cross connection peering. type ExpressRouteCrossConnectionPeeringProperties struct { // The GatewayManager Etag. - GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"` + GatewayManagerEtag *string // The IPv6 peering configuration. - IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"` + IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig // The Microsoft peering configuration. - MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` + MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig // The peer ASN. - PeerASN *int64 `json:"peerASN,omitempty"` + PeerASN *int64 // The peering type. - PeeringType *ExpressRoutePeeringType `json:"peeringType,omitempty"` + PeeringType *ExpressRoutePeeringType // The primary address prefix. - PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` + PrimaryPeerAddressPrefix *string // The secondary address prefix. - SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` + SecondaryPeerAddressPrefix *string // The shared key. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // The peering state. - State *ExpressRoutePeeringState `json:"state,omitempty"` + State *ExpressRoutePeeringState // The VLAN ID. - VlanID *int32 `json:"vlanId,omitempty"` + VlanID *int32 // READ-ONLY; The Azure ASN. - AzureASN *int32 `json:"azureASN,omitempty" azure:"ro"` + AzureASN *int32 // READ-ONLY; Who was the last to modify the peering. - LastModifiedBy *string `json:"lastModifiedBy,omitempty" azure:"ro"` + LastModifiedBy *string // READ-ONLY; The primary port. - PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" azure:"ro"` + PrimaryAzurePort *string // READ-ONLY; The provisioning state of the express route cross connection peering resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The secondary port. - SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" azure:"ro"` + SecondaryAzurePort *string } // ExpressRouteCrossConnectionPeeringsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCrossConnectionPeeringsClient.BeginCreateOrUpdate @@ -6111,50 +6111,50 @@ type ExpressRouteCrossConnectionPeeringsClientListOptions struct { // ExpressRouteCrossConnectionProperties - Properties of ExpressRouteCrossConnection. type ExpressRouteCrossConnectionProperties struct { // The ExpressRouteCircuit. - ExpressRouteCircuit *ExpressRouteCircuitReference `json:"expressRouteCircuit,omitempty"` + ExpressRouteCircuit *ExpressRouteCircuitReference // The list of peerings. - Peerings []*ExpressRouteCrossConnectionPeering `json:"peerings,omitempty"` + Peerings []*ExpressRouteCrossConnectionPeering // Additional read only notes set by the connectivity provider. - ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"` + ServiceProviderNotes *string // The provisioning state of the circuit in the connectivity provider system. - ServiceProviderProvisioningState *ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"` + ServiceProviderProvisioningState *ServiceProviderProvisioningState // READ-ONLY; The circuit bandwidth In Mbps. - BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty" azure:"ro"` + BandwidthInMbps *int32 // READ-ONLY; The peering location of the ExpressRoute circuit. - PeeringLocation *string `json:"peeringLocation,omitempty" azure:"ro"` + PeeringLocation *string // READ-ONLY; The name of the primary port. - PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" azure:"ro"` + PrimaryAzurePort *string // READ-ONLY; The provisioning state of the express route cross connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The identifier of the circuit traffic. - STag *int32 `json:"sTag,omitempty" azure:"ro"` + STag *int32 // READ-ONLY; The name of the secondary port. - SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" azure:"ro"` + SecondaryAzurePort *string } // ExpressRouteCrossConnectionRoutesTableSummary - The routes table associated with the ExpressRouteCircuit. type ExpressRouteCrossConnectionRoutesTableSummary struct { // Autonomous system number. - Asn *int32 `json:"asn,omitempty"` + Asn *int32 // IP address of Neighbor router. - Neighbor *string `json:"neighbor,omitempty"` + Neighbor *string // Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group. - StateOrPrefixesReceived *string `json:"stateOrPrefixesReceived,omitempty"` + StateOrPrefixesReceived *string // The length of time that the BGP session has been in the Established state, or the current status if not in the Established // state. - UpDown *string `json:"upDown,omitempty"` + UpDown *string } // ExpressRouteCrossConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCrossConnectionsClient.BeginCreateOrUpdate @@ -6213,73 +6213,73 @@ type ExpressRouteCrossConnectionsClientUpdateTagsOptions struct { // Cross Connections. type ExpressRouteCrossConnectionsRoutesTableSummaryListResult struct { // A list of the routes table. - Value []*ExpressRouteCrossConnectionRoutesTableSummary `json:"value,omitempty"` + Value []*ExpressRouteCrossConnectionRoutesTableSummary // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ExpressRouteGateway - ExpressRoute gateway resource. type ExpressRouteGateway struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the express route gateway. - Properties *ExpressRouteGatewayProperties `json:"properties,omitempty"` + Properties *ExpressRouteGatewayProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteGatewayList - List of ExpressRoute gateways. type ExpressRouteGatewayList struct { // List of ExpressRoute gateways. - Value []*ExpressRouteGateway `json:"value,omitempty"` + Value []*ExpressRouteGateway } // ExpressRouteGatewayProperties - ExpressRoute gateway resource properties. type ExpressRouteGatewayProperties struct { // REQUIRED; The Virtual Hub where the ExpressRoute gateway is or will be deployed. - VirtualHub *VirtualHubID `json:"virtualHub,omitempty"` + VirtualHub *VirtualHubID // Configures this gateway to accept traffic from non Virtual WAN networks. - AllowNonVirtualWanTraffic *bool `json:"allowNonVirtualWanTraffic,omitempty"` + AllowNonVirtualWanTraffic *bool // Configuration for auto scaling. - AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"` + AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration // List of ExpressRoute connections to the ExpressRoute gateway. - ExpressRouteConnections []*ExpressRouteConnection `json:"expressRouteConnections,omitempty"` + ExpressRouteConnections []*ExpressRouteConnection // READ-ONLY; The provisioning state of the express route gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRouteGatewayPropertiesAutoScaleConfiguration - Configuration for auto scaling. type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct { // Minimum and maximum number of scale units to deploy. - Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds `json:"bounds,omitempty"` + Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds } // ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds - Minimum and maximum number of scale units to deploy. type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds struct { // Maximum number of scale units deployed for ExpressRoute gateway. - Max *int32 `json:"max,omitempty"` + Max *int32 // Minimum number of scale units deployed for ExpressRoute gateway. - Min *int32 `json:"min,omitempty"` + Min *int32 } // ExpressRouteGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteGatewaysClient.BeginCreateOrUpdate @@ -6323,70 +6323,70 @@ type ExpressRouteGatewaysClientListBySubscriptionOptions struct { // ExpressRouteLink child resource definition. type ExpressRouteLink struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of child port resource that is unique among child port resources of the parent. - Name *string `json:"name,omitempty"` + Name *string // ExpressRouteLink properties. - Properties *ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRouteLinkPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // ExpressRouteLinkListResult - Response for ListExpressRouteLinks API service call. type ExpressRouteLinkListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of ExpressRouteLink sub-resources. - Value []*ExpressRouteLink `json:"value,omitempty"` + Value []*ExpressRouteLink } // ExpressRouteLinkMacSecConfig - ExpressRouteLink Mac Security Configuration. type ExpressRouteLinkMacSecConfig struct { // Keyvault Secret Identifier URL containing Mac security CAK key. - CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"` + CakSecretIdentifier *string // Mac security cipher. - Cipher *ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"` + Cipher *ExpressRouteLinkMacSecCipher // Keyvault Secret Identifier URL containing Mac security CKN key. - CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"` + CknSecretIdentifier *string // Sci mode enabled/disabled. - SciState *ExpressRouteLinkMacSecSciState `json:"sciState,omitempty"` + SciState *ExpressRouteLinkMacSecSciState } // ExpressRouteLinkPropertiesFormat - Properties specific to ExpressRouteLink resources. type ExpressRouteLinkPropertiesFormat struct { // Administrative state of the physical port. - AdminState *ExpressRouteLinkAdminState `json:"adminState,omitempty"` + AdminState *ExpressRouteLinkAdminState // MacSec configuration. - MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"` + MacSecConfig *ExpressRouteLinkMacSecConfig // READ-ONLY; Cololocation for ExpressRoute Hybrid Direct. - ColoLocation *string `json:"coloLocation,omitempty" azure:"ro"` + ColoLocation *string // READ-ONLY; Physical fiber port type. - ConnectorType *ExpressRouteLinkConnectorType `json:"connectorType,omitempty" azure:"ro"` + ConnectorType *ExpressRouteLinkConnectorType // READ-ONLY; Name of Azure router interface. - InterfaceName *string `json:"interfaceName,omitempty" azure:"ro"` + InterfaceName *string // READ-ONLY; Mapping between physical port to patch panel port. - PatchPanelID *string `json:"patchPanelId,omitempty" azure:"ro"` + PatchPanelID *string // READ-ONLY; The provisioning state of the express route link resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Mapping of physical patch panel to rack. - RackID *string `json:"rackId,omitempty" azure:"ro"` + RackID *string // READ-ONLY; Name of Azure router associated with physical port. - RouterName *string `json:"routerName,omitempty" azure:"ro"` + RouterName *string } // ExpressRouteLinksClientGetOptions contains the optional parameters for the ExpressRouteLinksClient.Get method. @@ -6402,70 +6402,70 @@ type ExpressRouteLinksClientListOptions struct { // ExpressRoutePort resource definition. type ExpressRoutePort struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The identity of ExpressRoutePort, if configured. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // Resource location. - Location *string `json:"location,omitempty"` + Location *string // ExpressRoutePort properties. - Properties *ExpressRoutePortPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRoutePortPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRoutePortAuthorization - ExpressRoutePort Authorization resource definition. type ExpressRoutePortAuthorization struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // ExpressRoutePort properties. - Properties *ExpressRoutePortAuthorizationPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRoutePortAuthorizationPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRoutePortAuthorizationListResult - Response for ListExpressRoutePortAuthorizations API service call. type ExpressRoutePortAuthorizationListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The authorizations in an ExpressRoute Port. - Value []*ExpressRoutePortAuthorization `json:"value,omitempty"` + Value []*ExpressRoutePortAuthorization } // ExpressRoutePortAuthorizationPropertiesFormat - Properties of ExpressRoutePort Authorization. type ExpressRoutePortAuthorizationPropertiesFormat struct { // READ-ONLY; The authorization key. - AuthorizationKey *string `json:"authorizationKey,omitempty" azure:"ro"` + AuthorizationKey *string // READ-ONLY; The authorization use status. - AuthorizationUseStatus *ExpressRoutePortAuthorizationUseStatus `json:"authorizationUseStatus,omitempty" azure:"ro"` + AuthorizationUseStatus *ExpressRoutePortAuthorizationUseStatus // READ-ONLY; The reference to the ExpressRoute circuit resource using the authorization. - CircuitResourceURI *string `json:"circuitResourceUri,omitempty" azure:"ro"` + CircuitResourceURI *string // READ-ONLY; The provisioning state of the authorization resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRoutePortAuthorizationsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRoutePortAuthorizationsClient.BeginCreateOrUpdate @@ -6497,49 +6497,49 @@ type ExpressRoutePortAuthorizationsClientListOptions struct { // ExpressRoutePortListResult - Response for ListExpressRoutePorts API service call. type ExpressRoutePortListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of ExpressRoutePort resources. - Value []*ExpressRoutePort `json:"value,omitempty"` + Value []*ExpressRoutePort } // ExpressRoutePortPropertiesFormat - Properties specific to ExpressRoutePort resources. type ExpressRoutePortPropertiesFormat struct { // Bandwidth of procured ports in Gbps. - BandwidthInGbps *int32 `json:"bandwidthInGbps,omitempty"` + BandwidthInGbps *int32 // The billing type of the ExpressRoutePort resource. - BillingType *ExpressRoutePortsBillingType `json:"billingType,omitempty"` + BillingType *ExpressRoutePortsBillingType // Encapsulation method on physical ports. - Encapsulation *ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"` + Encapsulation *ExpressRoutePortsEncapsulation // The set of physical links of the ExpressRoutePort resource. - Links []*ExpressRouteLink `json:"links,omitempty"` + Links []*ExpressRouteLink // The name of the peering location that the ExpressRoutePort is mapped to physically. - PeeringLocation *string `json:"peeringLocation,omitempty"` + PeeringLocation *string // READ-ONLY; Date of the physical port allocation to be used in Letter of Authorization. - AllocationDate *string `json:"allocationDate,omitempty" azure:"ro"` + AllocationDate *string // READ-ONLY; Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. - Circuits []*SubResource `json:"circuits,omitempty" azure:"ro"` + Circuits []*SubResource // READ-ONLY; Ether type of the physical port. - EtherType *string `json:"etherType,omitempty" azure:"ro"` + EtherType *string // READ-ONLY; Maximum transmission unit of the physical port pair(s). - Mtu *string `json:"mtu,omitempty" azure:"ro"` + Mtu *string // READ-ONLY; Aggregate Gbps of associated circuit bandwidths. - ProvisionedBandwidthInGbps *float32 `json:"provisionedBandwidthInGbps,omitempty" azure:"ro"` + ProvisionedBandwidthInGbps *float32 // READ-ONLY; The provisioning state of the express route port resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the express route port resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // ExpressRoutePortsClientBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRoutePortsClient.BeginCreateOrUpdate @@ -6586,55 +6586,55 @@ type ExpressRoutePortsClientUpdateTagsOptions struct { // ExpressRoutePortsLocation - Definition of the ExpressRoutePorts peering location resource. type ExpressRoutePortsLocation struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // ExpressRoutePort peering location properties. - Properties *ExpressRoutePortsLocationPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRoutePortsLocationPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRoutePortsLocationBandwidths - Real-time inventory of available ExpressRoute port bandwidths. type ExpressRoutePortsLocationBandwidths struct { // READ-ONLY; Bandwidth descriptive name. - OfferName *string `json:"offerName,omitempty" azure:"ro"` + OfferName *string // READ-ONLY; Bandwidth value in Gbps. - ValueInGbps *int32 `json:"valueInGbps,omitempty" azure:"ro"` + ValueInGbps *int32 } // ExpressRoutePortsLocationListResult - Response for ListExpressRoutePortsLocations API service call. type ExpressRoutePortsLocationListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of all ExpressRoutePort peering locations. - Value []*ExpressRoutePortsLocation `json:"value,omitempty"` + Value []*ExpressRoutePortsLocation } // ExpressRoutePortsLocationPropertiesFormat - Properties specific to ExpressRoutePorts peering location resources. type ExpressRoutePortsLocationPropertiesFormat struct { // The inventory of available ExpressRoutePort bandwidths. - AvailableBandwidths []*ExpressRoutePortsLocationBandwidths `json:"availableBandwidths,omitempty"` + AvailableBandwidths []*ExpressRoutePortsLocationBandwidths // READ-ONLY; Address of peering location. - Address *string `json:"address,omitempty" azure:"ro"` + Address *string // READ-ONLY; Contact details of peering locations. - Contact *string `json:"contact,omitempty" azure:"ro"` + Contact *string // READ-ONLY; The provisioning state of the express route port location resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRoutePortsLocationsClientGetOptions contains the optional parameters for the ExpressRoutePortsLocationsClient.Get @@ -6652,61 +6652,61 @@ type ExpressRoutePortsLocationsClientListOptions struct { // ExpressRouteProviderPort resource. type ExpressRouteProviderPort struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the express route Service Provider Port. - Properties *ExpressRouteProviderPortProperties `json:"properties,omitempty"` + Properties *ExpressRouteProviderPortProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteProviderPortListResult - Response for ListExpressRouteProviderPort API service call. type ExpressRouteProviderPortListResult struct { // A list of ExpressRouteProviderPort resources. - Value []*ExpressRouteProviderPort `json:"value,omitempty"` + Value []*ExpressRouteProviderPort // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ExpressRouteProviderPortProperties - Properties of ExpressRouteProviderPort. type ExpressRouteProviderPortProperties struct { // Overprovisioning factor for the port pair. - OverprovisionFactor *int32 `json:"overprovisionFactor,omitempty"` + OverprovisionFactor *int32 // The peering location of the port pair. - PeeringLocation *string `json:"peeringLocation,omitempty"` + PeeringLocation *string // Bandwidth of the port in Mbps - PortBandwidthInMbps *int32 `json:"portBandwidthInMbps,omitempty"` + PortBandwidthInMbps *int32 // Remaining Bandwidth of the port in Mbps - RemainingBandwidthInMbps *int32 `json:"remainingBandwidthInMbps,omitempty"` + RemainingBandwidthInMbps *int32 // Used Bandwidth of the port in Mbps - UsedBandwidthInMbps *int32 `json:"usedBandwidthInMbps,omitempty"` + UsedBandwidthInMbps *int32 // READ-ONLY; The name of the port pair. - PortPairDescriptor *string `json:"portPairDescriptor,omitempty" azure:"ro"` + PortPairDescriptor *string // READ-ONLY; The name of the primary port. - PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" azure:"ro"` + PrimaryAzurePort *string // READ-ONLY; The name of the secondary port. - SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" azure:"ro"` + SecondaryAzurePort *string } // ExpressRouteProviderPortsLocationClientListOptions contains the optional parameters for the ExpressRouteProviderPortsLocationClient.List @@ -6719,52 +6719,52 @@ type ExpressRouteProviderPortsLocationClientListOptions struct { // ExpressRouteServiceProvider - A ExpressRouteResourceProvider object. type ExpressRouteServiceProvider struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the express route service provider. - Properties *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"` + Properties *ExpressRouteServiceProviderPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ExpressRouteServiceProviderBandwidthsOffered - Contains bandwidths offered in ExpressRouteServiceProvider resources. type ExpressRouteServiceProviderBandwidthsOffered struct { // The OfferName. - OfferName *string `json:"offerName,omitempty"` + OfferName *string // The ValueInMbps. - ValueInMbps *int32 `json:"valueInMbps,omitempty"` + ValueInMbps *int32 } // ExpressRouteServiceProviderListResult - Response for the ListExpressRouteServiceProvider API service call. type ExpressRouteServiceProviderListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of ExpressRouteResourceProvider resources. - Value []*ExpressRouteServiceProvider `json:"value,omitempty"` + Value []*ExpressRouteServiceProvider } // ExpressRouteServiceProviderPropertiesFormat - Properties of ExpressRouteServiceProvider. type ExpressRouteServiceProviderPropertiesFormat struct { // A list of bandwidths offered. - BandwidthsOffered []*ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"` + BandwidthsOffered []*ExpressRouteServiceProviderBandwidthsOffered // A list of peering locations. - PeeringLocations []*string `json:"peeringLocations,omitempty"` + PeeringLocations []*string // READ-ONLY; The provisioning state of the express route service provider resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ExpressRouteServiceProvidersClientListOptions contains the optional parameters for the ExpressRouteServiceProvidersClient.NewListPager @@ -6776,19 +6776,19 @@ type ExpressRouteServiceProvidersClientListOptions struct { // ExtendedLocation complex type. type ExtendedLocation struct { // The name of the extended location. - Name *string `json:"name,omitempty"` + Name *string // The type of the extended location. - Type *ExtendedLocationTypes `json:"type,omitempty"` + Type *ExtendedLocationTypes } // FilterItems - Will contain the filter name and values to operate on type FilterItems struct { // The name of the field we would like to filter - Field *string `json:"field,omitempty"` + Field *string // List of values to filter the current field by - Values []*string `json:"values,omitempty"` + Values []*string } // FirewallPoliciesClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallPoliciesClient.BeginCreateOrUpdate @@ -6828,55 +6828,55 @@ type FirewallPoliciesClientUpdateTagsOptions struct { // FirewallPolicy Resource. type FirewallPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The identity of the firewall policy. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the firewall policy. - Properties *FirewallPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *FirewallPolicyPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // FirewallPolicyCertificateAuthority - Trusted Root certificates properties for tls. type FirewallPolicyCertificateAuthority struct { // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. - KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"` + KeyVaultSecretID *string // Name of the CA certificate. - Name *string `json:"name,omitempty"` + Name *string } // FirewallPolicyFilterRuleCollection - Firewall Policy Filter Rule Collection. type FirewallPolicyFilterRuleCollection struct { // REQUIRED; The type of the rule collection. - RuleCollectionType *FirewallPolicyRuleCollectionType `json:"ruleCollectionType,omitempty"` + RuleCollectionType *FirewallPolicyRuleCollectionType // The action type of a Filter rule collection. - Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"` + Action *FirewallPolicyFilterRuleCollectionAction // The name of the rule collection. - Name *string `json:"name,omitempty"` + Name *string // Priority of the Firewall Policy Rule Collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // List of rules included in a rule collection. - Rules []FirewallPolicyRuleClassification `json:"rules,omitempty"` + Rules []FirewallPolicyRuleClassification } // GetFirewallPolicyRuleCollection implements the FirewallPolicyRuleCollectionClassification interface for type FirewallPolicyFilterRuleCollection. @@ -6891,7 +6891,7 @@ func (f *FirewallPolicyFilterRuleCollection) GetFirewallPolicyRuleCollection() * // FirewallPolicyFilterRuleCollectionAction - Properties of the FirewallPolicyFilterRuleCollectionAction. type FirewallPolicyFilterRuleCollectionAction struct { // The type of action. - Type *FirewallPolicyFilterRuleCollectionActionType `json:"type,omitempty"` + Type *FirewallPolicyFilterRuleCollectionActionType } // FirewallPolicyIdpsSignaturesClientListOptions contains the optional parameters for the FirewallPolicyIdpsSignaturesClient.List @@ -6933,117 +6933,117 @@ type FirewallPolicyIdpsSignaturesOverridesClientPutOptions struct { // FirewallPolicyInsights - Firewall Policy Insights. type FirewallPolicyInsights struct { // A flag to indicate if the insights are enabled on the policy. - IsEnabled *bool `json:"isEnabled,omitempty"` + IsEnabled *bool // Workspaces needed to configure the Firewall Policy Insights. - LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `json:"logAnalyticsResources,omitempty"` + LogAnalyticsResources *FirewallPolicyLogAnalyticsResources // Number of days the insights should be enabled on the policy. - RetentionDays *int32 `json:"retentionDays,omitempty"` + RetentionDays *int32 } // FirewallPolicyIntrusionDetection - Configuration for intrusion detection mode and rules. type FirewallPolicyIntrusionDetection struct { // Intrusion detection configuration properties. - Configuration *FirewallPolicyIntrusionDetectionConfiguration `json:"configuration,omitempty"` + Configuration *FirewallPolicyIntrusionDetectionConfiguration // Intrusion detection general state. - Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` + Mode *FirewallPolicyIntrusionDetectionStateType } // FirewallPolicyIntrusionDetectionBypassTrafficSpecifications - Intrusion detection bypass traffic specification. type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct { // Description of the bypass traffic rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses or ranges for this rule. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of destination IpGroups for this rule. - DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"` + DestinationIPGroups []*string // List of destination ports or ranges. - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Name of the bypass traffic rule. - Name *string `json:"name,omitempty"` + Name *string // The rule bypass protocol. - Protocol *FirewallPolicyIntrusionDetectionProtocol `json:"protocol,omitempty"` + Protocol *FirewallPolicyIntrusionDetectionProtocol // List of source IP addresses or ranges for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string } // FirewallPolicyIntrusionDetectionConfiguration - The operation for configuring intrusion detection. type FirewallPolicyIntrusionDetectionConfiguration struct { // List of rules for traffic to bypass. - BypassTrafficSettings []*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `json:"bypassTrafficSettings,omitempty"` + BypassTrafficSettings []*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only // ranges defined by IANA RFC 1918 are considered private IP addresses. To modify // default ranges, specify your Private IP address ranges with this property - PrivateRanges []*string `json:"privateRanges,omitempty"` + PrivateRanges []*string // List of specific signatures states. - SignatureOverrides []*FirewallPolicyIntrusionDetectionSignatureSpecification `json:"signatureOverrides,omitempty"` + SignatureOverrides []*FirewallPolicyIntrusionDetectionSignatureSpecification } // FirewallPolicyIntrusionDetectionSignatureSpecification - Intrusion detection signatures specification states. type FirewallPolicyIntrusionDetectionSignatureSpecification struct { // Signature id. - ID *string `json:"id,omitempty"` + ID *string // The signature state. - Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"` + Mode *FirewallPolicyIntrusionDetectionStateType } // FirewallPolicyListResult - Response for ListFirewallPolicies API service call. type FirewallPolicyListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Firewall Policies in a resource group. - Value []*FirewallPolicy `json:"value,omitempty"` + Value []*FirewallPolicy } // FirewallPolicyLogAnalyticsResources - Log Analytics Resources for Firewall Policy Insights. type FirewallPolicyLogAnalyticsResources struct { // The default workspace Id for Firewall Policy Insights. - DefaultWorkspaceID *SubResource `json:"defaultWorkspaceId,omitempty"` + DefaultWorkspaceID *SubResource // List of workspaces for Firewall Policy Insights. - Workspaces []*FirewallPolicyLogAnalyticsWorkspace `json:"workspaces,omitempty"` + Workspaces []*FirewallPolicyLogAnalyticsWorkspace } // FirewallPolicyLogAnalyticsWorkspace - Log Analytics Workspace for Firewall Policy Insights. type FirewallPolicyLogAnalyticsWorkspace struct { // Region to configure the Workspace. - Region *string `json:"region,omitempty"` + Region *string // The workspace Id for Firewall Policy Insights. - WorkspaceID *SubResource `json:"workspaceId,omitempty"` + WorkspaceID *SubResource } // FirewallPolicyNatRuleCollection - Firewall Policy NAT Rule Collection. type FirewallPolicyNatRuleCollection struct { // REQUIRED; The type of the rule collection. - RuleCollectionType *FirewallPolicyRuleCollectionType `json:"ruleCollectionType,omitempty"` + RuleCollectionType *FirewallPolicyRuleCollectionType // The action type of a Nat rule collection. - Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"` + Action *FirewallPolicyNatRuleCollectionAction // The name of the rule collection. - Name *string `json:"name,omitempty"` + Name *string // Priority of the Firewall Policy Rule Collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // List of rules included in a rule collection. - Rules []FirewallPolicyRuleClassification `json:"rules,omitempty"` + Rules []FirewallPolicyRuleClassification } // GetFirewallPolicyRuleCollection implements the FirewallPolicyRuleCollectionClassification interface for type FirewallPolicyNatRuleCollection. @@ -7058,55 +7058,55 @@ func (f *FirewallPolicyNatRuleCollection) GetFirewallPolicyRuleCollection() *Fir // FirewallPolicyNatRuleCollectionAction - Properties of the FirewallPolicyNatRuleCollectionAction. type FirewallPolicyNatRuleCollectionAction struct { // The type of action. - Type *FirewallPolicyNatRuleCollectionActionType `json:"type,omitempty"` + Type *FirewallPolicyNatRuleCollectionActionType } // FirewallPolicyPropertiesFormat - Firewall Policy definition. type FirewallPolicyPropertiesFormat struct { // The parent firewall policy from which rules are inherited. - BasePolicy *SubResource `json:"basePolicy,omitempty"` + BasePolicy *SubResource // DNS Proxy Settings definition. - DNSSettings *DNSSettings `json:"dnsSettings,omitempty"` + DNSSettings *DNSSettings // Explicit Proxy Settings definition. - ExplicitProxySettings *ExplicitProxySettings `json:"explicitProxySettings,omitempty"` + ExplicitProxySettings *ExplicitProxySettings // Insights on Firewall Policy. - Insights *FirewallPolicyInsights `json:"insights,omitempty"` + Insights *FirewallPolicyInsights // The configuration for Intrusion detection. - IntrusionDetection *FirewallPolicyIntrusionDetection `json:"intrusionDetection,omitempty"` + IntrusionDetection *FirewallPolicyIntrusionDetection // The Firewall Policy SKU. - SKU *FirewallPolicySKU `json:"sku,omitempty"` + SKU *FirewallPolicySKU // SQL Settings definition. - SQL *FirewallPolicySQL `json:"sql,omitempty"` + SQL *FirewallPolicySQL // The private IP addresses/IP ranges to which traffic will not be SNAT. - Snat *FirewallPolicySNAT `json:"snat,omitempty"` + Snat *FirewallPolicySNAT // The operation mode for Threat Intelligence. - ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"` + ThreatIntelMode *AzureFirewallThreatIntelMode // ThreatIntel Whitelist for Firewall Policy. - ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"` + ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist // TLS Configuration definition. - TransportSecurity *FirewallPolicyTransportSecurity `json:"transportSecurity,omitempty"` + TransportSecurity *FirewallPolicyTransportSecurity // READ-ONLY; List of references to Child Firewall Policies. - ChildPolicies []*SubResource `json:"childPolicies,omitempty" azure:"ro"` + ChildPolicies []*SubResource // READ-ONLY; List of references to Azure Firewalls that this Firewall Policy is associated with. - Firewalls []*SubResource `json:"firewalls,omitempty" azure:"ro"` + Firewalls []*SubResource // READ-ONLY; The provisioning state of the firewall policy resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; List of references to FirewallPolicyRuleCollectionGroups. - RuleCollectionGroups []*SubResource `json:"ruleCollectionGroups,omitempty" azure:"ro"` + RuleCollectionGroups []*SubResource } // FirewallPolicyRuleClassification provides polymorphic access to related types. @@ -7121,13 +7121,13 @@ type FirewallPolicyRuleClassification interface { // FirewallPolicyRule - Properties of a rule. type FirewallPolicyRule struct { // REQUIRED; Rule Type. - RuleType *FirewallPolicyRuleType `json:"ruleType,omitempty"` + RuleType *FirewallPolicyRuleType // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // Name of the rule. - Name *string `json:"name,omitempty"` + Name *string } // GetFirewallPolicyRule implements the FirewallPolicyRuleClassification interface for type FirewallPolicyRule. @@ -7136,10 +7136,10 @@ func (f *FirewallPolicyRule) GetFirewallPolicyRule() *FirewallPolicyRule { retur // FirewallPolicyRuleApplicationProtocol - Properties of the application rule protocol. type FirewallPolicyRuleApplicationProtocol struct { // Port number for the protocol, cannot be greater than 64000. - Port *int32 `json:"port,omitempty"` + Port *int32 // Protocol type. - ProtocolType *FirewallPolicyRuleApplicationProtocolType `json:"protocolType,omitempty"` + ProtocolType *FirewallPolicyRuleApplicationProtocolType } // FirewallPolicyRuleCollectionClassification provides polymorphic access to related types. @@ -7154,13 +7154,13 @@ type FirewallPolicyRuleCollectionClassification interface { // FirewallPolicyRuleCollection - Properties of the rule collection. type FirewallPolicyRuleCollection struct { // REQUIRED; The type of the rule collection. - RuleCollectionType *FirewallPolicyRuleCollectionType `json:"ruleCollectionType,omitempty"` + RuleCollectionType *FirewallPolicyRuleCollectionType // The name of the rule collection. - Name *string `json:"name,omitempty"` + Name *string // Priority of the Firewall Policy Rule Collection resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 } // GetFirewallPolicyRuleCollection implements the FirewallPolicyRuleCollectionClassification interface for type FirewallPolicyRuleCollection. @@ -7171,40 +7171,40 @@ func (f *FirewallPolicyRuleCollection) GetFirewallPolicyRuleCollection() *Firewa // FirewallPolicyRuleCollectionGroup - Rule Collection Group resource. type FirewallPolicyRuleCollectionGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // The properties of the firewall policy rule collection group. - Properties *FirewallPolicyRuleCollectionGroupProperties `json:"properties,omitempty"` + Properties *FirewallPolicyRuleCollectionGroupProperties // 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; Rule Group type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // FirewallPolicyRuleCollectionGroupListResult - Response for ListFirewallPolicyRuleCollectionGroups API service call. type FirewallPolicyRuleCollectionGroupListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. - Value []*FirewallPolicyRuleCollectionGroup `json:"value,omitempty"` + Value []*FirewallPolicyRuleCollectionGroup } // FirewallPolicyRuleCollectionGroupProperties - Properties of the rule collection group. type FirewallPolicyRuleCollectionGroupProperties struct { // Priority of the Firewall Policy Rule Collection Group resource. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // Group of Firewall Policy rule collections. - RuleCollections []FirewallPolicyRuleCollectionClassification `json:"ruleCollections,omitempty"` + RuleCollections []FirewallPolicyRuleCollectionClassification // READ-ONLY; The provisioning state of the firewall policy rule collection group resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // FirewallPolicyRuleCollectionGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallPolicyRuleCollectionGroupsClient.BeginCreateOrUpdate @@ -7236,139 +7236,139 @@ type FirewallPolicyRuleCollectionGroupsClientListOptions struct { // FirewallPolicySKU - SKU of Firewall policy. type FirewallPolicySKU struct { // Tier of Firewall Policy. - Tier *FirewallPolicySKUTier `json:"tier,omitempty"` + Tier *FirewallPolicySKUTier } // FirewallPolicySNAT - The private IP addresses/IP ranges to which traffic will not be SNAT. type FirewallPolicySNAT struct { // The operation mode for automatically learning private ranges to not be SNAT - AutoLearnPrivateRanges *AutoLearnPrivateRangesMode `json:"autoLearnPrivateRanges,omitempty"` + AutoLearnPrivateRanges *AutoLearnPrivateRangesMode // List of private IP addresses/IP address ranges to not be SNAT. - PrivateRanges []*string `json:"privateRanges,omitempty"` + PrivateRanges []*string } // FirewallPolicySQL - SQL Settings in Firewall Policy. type FirewallPolicySQL struct { // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999. - AllowSQLRedirect *bool `json:"allowSqlRedirect,omitempty"` + AllowSQLRedirect *bool } // FirewallPolicyThreatIntelWhitelist - ThreatIntel Whitelist for Firewall Policy. type FirewallPolicyThreatIntelWhitelist struct { // List of FQDNs for the ThreatIntel Whitelist. - Fqdns []*string `json:"fqdns,omitempty"` + Fqdns []*string // List of IP addresses for the ThreatIntel Whitelist. - IPAddresses []*string `json:"ipAddresses,omitempty"` + IPAddresses []*string } // FirewallPolicyTransportSecurity - Configuration needed to perform TLS termination & initiation. type FirewallPolicyTransportSecurity struct { // The CA used for intermediate CA generation. - CertificateAuthority *FirewallPolicyCertificateAuthority `json:"certificateAuthority,omitempty"` + CertificateAuthority *FirewallPolicyCertificateAuthority } // FlowLog - A flow log resource. type FlowLog struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the flow log. - Properties *FlowLogPropertiesFormat `json:"properties,omitempty"` + Properties *FlowLogPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // FlowLogFormatParameters - Parameters that define the flow log format. type FlowLogFormatParameters struct { // The file type of flow log. - Type *FlowLogFormatType `json:"type,omitempty"` + Type *FlowLogFormatType // The version (revision) of the flow log. - Version *int32 `json:"version,omitempty"` + Version *int32 } // FlowLogInformation - Information on the configuration of flow log and traffic analytics (optional) . type FlowLogInformation struct { // REQUIRED; Properties of the flow log. - Properties *FlowLogProperties `json:"properties,omitempty"` + Properties *FlowLogProperties // REQUIRED; The ID of the resource to configure for flow log and traffic analytics (optional) . - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string // Parameters that define the configuration of traffic analytics. - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties } // FlowLogListResult - List of flow logs. type FlowLogListResult struct { // Information about flow log resource. - Value []*FlowLog `json:"value,omitempty"` + Value []*FlowLog // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // FlowLogProperties - Parameters that define the configuration of flow log. type FlowLogProperties struct { // REQUIRED; Flag to enable/disable flow logging. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // REQUIRED; ID of the storage account which is used to store the flow log. - StorageID *string `json:"storageId,omitempty"` + StorageID *string // Parameters that define the flow log format. - Format *FlowLogFormatParameters `json:"format,omitempty"` + Format *FlowLogFormatParameters // Parameters that define the retention policy for flow log. - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + RetentionPolicy *RetentionPolicyParameters } // FlowLogPropertiesFormat - Parameters that define the configuration of flow log. type FlowLogPropertiesFormat struct { // REQUIRED; ID of the storage account which is used to store the flow log. - StorageID *string `json:"storageId,omitempty"` + StorageID *string // REQUIRED; ID of network security group to which flow log will be applied. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string // Flag to enable/disable flow logging. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // Parameters that define the configuration of traffic analytics. - FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"` + FlowAnalyticsConfiguration *TrafficAnalyticsProperties // Parameters that define the flow log format. - Format *FlowLogFormatParameters `json:"format,omitempty"` + Format *FlowLogFormatParameters // Parameters that define the retention policy for flow log. - RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"` + RetentionPolicy *RetentionPolicyParameters // READ-ONLY; The provisioning state of the flow log. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Guid of network security group to which flow log will be applied. - TargetResourceGUID *string `json:"targetResourceGuid,omitempty" azure:"ro"` + TargetResourceGUID *string } // FlowLogStatusParameters - Parameters that define a resource to query flow log and traffic analytics (optional) status. type FlowLogStatusParameters struct { // REQUIRED; The target resource where getting the flow log and traffic analytics (optional) status. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string } // FlowLogsClientBeginCreateOrUpdateOptions contains the optional parameters for the FlowLogsClient.BeginCreateOrUpdate method. @@ -7401,197 +7401,197 @@ type FlowLogsClientUpdateTagsOptions struct { // FrontendIPConfiguration - Frontend IP address of the load balancer. type FrontendIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name // can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the load balancer probe. - Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *FrontendIPConfigurationPropertiesFormat // A list of availability zones denoting the IP allocated for the resource needs to come from. - 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // FrontendIPConfigurationPropertiesFormat - Properties of Frontend IP Configuration of the load balancer. type FrontendIPConfigurationPropertiesFormat struct { // The reference to gateway load balancer frontend IP. - GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + GatewayLoadBalancer *SubResource // The private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. - PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAddressVersion *IPVersion // The Private IP allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // The reference to the Public IP resource. - PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPAddress *PublicIPAddress // The reference to the Public IP Prefix resource. - PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + PublicIPPrefix *SubResource // The reference to the subnet resource. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; An array of references to inbound pools that use this frontend IP. - InboundNatPools []*SubResource `json:"inboundNatPools,omitempty" azure:"ro"` + InboundNatPools []*SubResource // READ-ONLY; An array of references to inbound rules that use this frontend IP. - InboundNatRules []*SubResource `json:"inboundNatRules,omitempty" azure:"ro"` + InboundNatRules []*SubResource // READ-ONLY; An array of references to load balancing rules that use this frontend IP. - LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"` + LoadBalancingRules []*SubResource // READ-ONLY; An array of references to outbound rules that use this frontend IP. - OutboundRules []*SubResource `json:"outboundRules,omitempty" azure:"ro"` + OutboundRules []*SubResource // READ-ONLY; The provisioning state of the frontend IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // GatewayCustomBgpIPAddressIPConfiguration - GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. type GatewayCustomBgpIPAddressIPConfiguration struct { // REQUIRED; The custom BgpPeeringAddress which belongs to IpconfigurationId. - CustomBgpIPAddress *string `json:"customBgpIpAddress,omitempty"` + CustomBgpIPAddress *string // REQUIRED; The IpconfigurationId of ipconfiguration which belongs to gateway. - IPConfigurationID *string `json:"ipConfigurationId,omitempty"` + IPConfigurationID *string } // GatewayLoadBalancerTunnelInterface - Gateway load balancer tunnel interface of a load balancer backend address pool. type GatewayLoadBalancerTunnelInterface struct { // Identifier of gateway load balancer tunnel interface. - Identifier *int32 `json:"identifier,omitempty"` + Identifier *int32 // Port of gateway load balancer tunnel interface. - Port *int32 `json:"port,omitempty"` + Port *int32 // Protocol of gateway load balancer tunnel interface. - Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"` + Protocol *GatewayLoadBalancerTunnelProtocol // Traffic type of gateway load balancer tunnel interface. - Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"` + Type *GatewayLoadBalancerTunnelInterfaceType } // GatewayRoute - Gateway routing details. type GatewayRoute struct { // READ-ONLY; The route's AS path sequence. - AsPath *string `json:"asPath,omitempty" azure:"ro"` + AsPath *string // READ-ONLY; The gateway's local address. - LocalAddress *string `json:"localAddress,omitempty" azure:"ro"` + LocalAddress *string // READ-ONLY; The route's network prefix. - Network *string `json:"network,omitempty" azure:"ro"` + Network *string // READ-ONLY; The route's next hop. - NextHop *string `json:"nextHop,omitempty" azure:"ro"` + NextHop *string // READ-ONLY; The source this route was learned from. - Origin *string `json:"origin,omitempty" azure:"ro"` + Origin *string // READ-ONLY; The peer this route was learned from. - SourcePeer *string `json:"sourcePeer,omitempty" azure:"ro"` + SourcePeer *string // READ-ONLY; The route's weight. - Weight *int32 `json:"weight,omitempty" azure:"ro"` + Weight *int32 } // GatewayRouteListResult - List of virtual network gateway routes. type GatewayRouteListResult struct { // List of gateway routes. - Value []*GatewayRoute `json:"value,omitempty"` + Value []*GatewayRoute } // GenerateExpressRoutePortsLOARequest - The customer name to be printed on a letter of authorization. type GenerateExpressRoutePortsLOARequest struct { // REQUIRED; The customer name. - CustomerName *string `json:"customerName,omitempty"` + CustomerName *string } // GenerateExpressRoutePortsLOAResult - Response for GenerateExpressRoutePortsLOA API service call. type GenerateExpressRoutePortsLOAResult struct { // The content as a base64 encoded string. - EncodedContent *string `json:"encodedContent,omitempty"` + EncodedContent *string } // GetInboundRoutesParameters - The parameters specifying the connection resource whose inbound routes are being requested. type GetInboundRoutesParameters struct { // The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and // P2SConnection. - ConnectionType *string `json:"connectionType,omitempty"` + ConnectionType *string // The connection resource whose inbound routes are being requested. - ResourceURI *string `json:"resourceUri,omitempty"` + ResourceURI *string } // GetOutboundRoutesParameters - The parameters specifying the connection resource whose outbound routes are being requested. type GetOutboundRoutesParameters struct { // The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and // P2SConnection. - ConnectionType *string `json:"connectionType,omitempty"` + ConnectionType *string // The connection resource whose outbound routes are being requested. - ResourceURI *string `json:"resourceUri,omitempty"` + ResourceURI *string } // GetVPNSitesConfigurationRequest - List of Vpn-Sites. type GetVPNSitesConfigurationRequest struct { // REQUIRED; The sas-url to download the configurations for vpn-sites. - OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"` + OutputBlobSasURL *string // List of resource-ids of the vpn-sites for which config is to be downloaded. - VPNSites []*string `json:"vpnSites,omitempty"` + VPNSites []*string } // Group - The network group resource type Group struct { // The Network Group properties - Properties *GroupProperties `json:"properties,omitempty"` + Properties *GroupProperties // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // GroupListResult - Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next // set of results. type GroupListResult struct { // Gets the URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Gets a page of NetworkGroup - Value []*Group `json:"value,omitempty"` + Value []*Group } // GroupProperties - Properties of network group type GroupProperties struct { // A description of the network group. - Description *string `json:"description,omitempty"` + Description *string // READ-ONLY; The provisioning state of the scope assignment resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // GroupsClientBeginDeleteOptions contains the optional parameters for the GroupsClient.BeginDelete method. @@ -7628,172 +7628,172 @@ type GroupsClientListOptions struct { // HTTPConfiguration - HTTP configuration of the connectivity check. type HTTPConfiguration struct { // List of HTTP headers. - Headers []*HTTPHeader `json:"headers,omitempty"` + Headers []*HTTPHeader // HTTP method. - Method *HTTPMethod `json:"method,omitempty"` + Method *HTTPMethod // Valid status codes. - ValidStatusCodes []*int32 `json:"validStatusCodes,omitempty"` + ValidStatusCodes []*int32 } // HTTPHeader - The HTTP header. type HTTPHeader struct { // The name in HTTP header. - Name *string `json:"name,omitempty"` + Name *string // The value in HTTP header. - Value *string `json:"value,omitempty"` + Value *string } // HopLink - Hop link. type HopLink struct { // Hop link properties. - Properties *HopLinkProperties `json:"properties,omitempty"` + Properties *HopLinkProperties // READ-ONLY; Provides additional context on links. - Context map[string]*string `json:"context,omitempty" azure:"ro"` + Context map[string]*string // READ-ONLY; List of issues. - Issues []*ConnectivityIssue `json:"issues,omitempty" azure:"ro"` + Issues []*ConnectivityIssue // READ-ONLY; Link type. - LinkType *string `json:"linkType,omitempty" azure:"ro"` + LinkType *string // READ-ONLY; The ID of the next hop. - NextHopID *string `json:"nextHopId,omitempty" azure:"ro"` + NextHopID *string // READ-ONLY; Resource ID. - ResourceID *string `json:"resourceId,omitempty" azure:"ro"` + ResourceID *string } // HopLinkProperties - Hop link properties. type HopLinkProperties struct { // READ-ONLY; Average roundtrip time in milliseconds. - RoundTripTimeAvg *int64 `json:"roundTripTimeAvg,omitempty" azure:"ro"` + RoundTripTimeAvg *int64 // READ-ONLY; Maximum roundtrip time in milliseconds. - RoundTripTimeMax *int64 `json:"roundTripTimeMax,omitempty" azure:"ro"` + RoundTripTimeMax *int64 // READ-ONLY; Minimum roundtrip time in milliseconds. - RoundTripTimeMin *int64 `json:"roundTripTimeMin,omitempty" azure:"ro"` + RoundTripTimeMin *int64 } // Hub Item. type Hub struct { // Resource Id. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Resource Type. - ResourceType *string `json:"resourceType,omitempty"` + ResourceType *string } // HubIPAddresses - IP addresses associated with azure firewall. type HubIPAddresses struct { // Private IP Address associated with azure firewall. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // Public IP addresses associated with azure firewall. - PublicIPs *HubPublicIPAddresses `json:"publicIPs,omitempty"` + PublicIPs *HubPublicIPAddresses } // HubIPConfiguration - IpConfigurations. type HubIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the Ip Configuration. - Name *string `json:"name,omitempty"` + Name *string // The properties of the Virtual Hub IPConfigurations. - Properties *HubIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *HubIPConfigurationPropertiesFormat // 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; Ipconfiguration type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // HubIPConfigurationPropertiesFormat - Properties of IP configuration. type HubIPConfigurationPropertiesFormat struct { // The private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // The reference to the public IP resource. - PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPAddress *PublicIPAddress // The reference to the subnet resource. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; The provisioning state of the IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // HubPublicIPAddresses - Public IP addresses associated with azure firewall. type HubPublicIPAddresses struct { // The list of Public IP addresses associated with azure firewall or IP addresses to be retained. - Addresses []*AzureFirewallPublicIPAddress `json:"addresses,omitempty"` + Addresses []*AzureFirewallPublicIPAddress // The number of Public IP addresses associated with azure firewall. - Count *int32 `json:"count,omitempty"` + Count *int32 } // HubRoute - RouteTable route. type HubRoute struct { // REQUIRED; The type of destinations (eg: CIDR, ResourceId, Service). - DestinationType *string `json:"destinationType,omitempty"` + DestinationType *string // REQUIRED; List of all destinations. - Destinations []*string `json:"destinations,omitempty"` + Destinations []*string // REQUIRED; The name of the Route that is unique within a RouteTable. This name can be used to access this route. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; NextHop resource ID. - NextHop *string `json:"nextHop,omitempty"` + NextHop *string // REQUIRED; The type of next hop (eg: ResourceId). - NextHopType *string `json:"nextHopType,omitempty"` + NextHopType *string } // HubRouteTable - RouteTable resource in a virtual hub. type HubRouteTable struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the RouteTable resource. - Properties *HubRouteTableProperties `json:"properties,omitempty"` + Properties *HubRouteTableProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // HubRouteTableProperties - Parameters for RouteTable. type HubRouteTableProperties struct { // List of labels associated with this route table. - Labels []*string `json:"labels,omitempty"` + Labels []*string // List of all routes. - Routes []*HubRoute `json:"routes,omitempty"` + Routes []*HubRoute // READ-ONLY; List of all connections associated with this route table. - AssociatedConnections []*string `json:"associatedConnections,omitempty" azure:"ro"` + AssociatedConnections []*string // READ-ONLY; List of all connections that advertise to this route table. - PropagatingConnections []*string `json:"propagatingConnections,omitempty" azure:"ro"` + PropagatingConnections []*string // READ-ONLY; The provisioning state of the RouteTable resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // HubRouteTablesClientBeginCreateOrUpdateOptions contains the optional parameters for the HubRouteTablesClient.BeginCreateOrUpdate @@ -7822,37 +7822,37 @@ type HubRouteTablesClientListOptions struct { // HubVirtualNetworkConnection Resource. type HubVirtualNetworkConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the hub virtual network connection. - Properties *HubVirtualNetworkConnectionProperties `json:"properties,omitempty"` + Properties *HubVirtualNetworkConnectionProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // HubVirtualNetworkConnectionProperties - Parameters for HubVirtualNetworkConnection. type HubVirtualNetworkConnectionProperties struct { // Deprecated: VirtualHub to RemoteVnet transit to enabled or not. - AllowHubToRemoteVnetTransit *bool `json:"allowHubToRemoteVnetTransit,omitempty"` + AllowHubToRemoteVnetTransit *bool // Deprecated: Allow RemoteVnet to use Virtual Hub's gateways. - AllowRemoteVnetToUseHubVnetGateways *bool `json:"allowRemoteVnetToUseHubVnetGateways,omitempty"` + AllowRemoteVnetToUseHubVnetGateways *bool // Enable internet security. - EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnableInternetSecurity *bool // Reference to the remote virtual network. - RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` + RemoteVirtualNetwork *SubResource // The Routing Configuration indicating the associated and propagated route tables on this connection. - RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingConfiguration *RoutingConfiguration // READ-ONLY; The provisioning state of the hub virtual network connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // HubVirtualNetworkConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the HubVirtualNetworkConnectionsClient.BeginCreateOrUpdate @@ -7884,91 +7884,91 @@ type HubVirtualNetworkConnectionsClientListOptions struct { // IDPSQueryObject - Will describe the query to run against the IDPS signatures DB type IDPSQueryObject struct { // Contain all filters names and values - Filters []*FilterItems `json:"filters,omitempty"` + Filters []*FilterItems // Column to sort response by - OrderBy *OrderBy `json:"orderBy,omitempty"` + OrderBy *OrderBy // The number of the results to return in each page - ResultsPerPage *int32 `json:"resultsPerPage,omitempty"` + ResultsPerPage *int32 // Search term in all columns - Search *string `json:"search,omitempty"` + Search *string // The number of records matching the filter to skip - Skip *int32 `json:"skip,omitempty"` + Skip *int32 } // IPAddressAvailabilityResult - Response for CheckIPAddressAvailability API service call. type IPAddressAvailabilityResult struct { // Private IP address availability. - Available *bool `json:"available,omitempty"` + Available *bool // Contains other available private IP addresses if the asked for address is taken. - AvailableIPAddresses []*string `json:"availableIPAddresses,omitempty"` + AvailableIPAddresses []*string // Private IP address platform reserved. - IsPlatformReserved *bool `json:"isPlatformReserved,omitempty"` + IsPlatformReserved *bool } // IPAllocation - IpAllocation resource. type IPAllocation struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the IpAllocation. - Properties *IPAllocationPropertiesFormat `json:"properties,omitempty"` + Properties *IPAllocationPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IPAllocationListResult - Response for the ListIpAllocations API service call. type IPAllocationListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of IpAllocation resources. - Value []*IPAllocation `json:"value,omitempty"` + Value []*IPAllocation } // IPAllocationPropertiesFormat - Properties of the IpAllocation. type IPAllocationPropertiesFormat struct { // IpAllocation tags. - AllocationTags map[string]*string `json:"allocationTags,omitempty"` + AllocationTags map[string]*string // The IPAM allocation ID. - IpamAllocationID *string `json:"ipamAllocationId,omitempty"` + IpamAllocationID *string // The address prefix for the IpAllocation. - Prefix *string `json:"prefix,omitempty"` + Prefix *string // The address prefix length for the IpAllocation. - PrefixLength *int32 `json:"prefixLength,omitempty"` + PrefixLength *int32 // The address prefix Type for the IpAllocation. - PrefixType *IPVersion `json:"prefixType,omitempty"` + PrefixType *IPVersion // The type for the IpAllocation. - Type *IPAllocationType `json:"type,omitempty"` + Type *IPAllocationType // READ-ONLY; The Subnet that using the prefix of this IpAllocation resource. - Subnet *SubResource `json:"subnet,omitempty" azure:"ro"` + Subnet *SubResource // READ-ONLY; The VirtualNetwork that using the prefix of this IpAllocation resource. - VirtualNetwork *SubResource `json:"virtualNetwork,omitempty" azure:"ro"` + VirtualNetwork *SubResource } // IPAllocationsClientBeginCreateOrUpdateOptions contains the optional parameters for the IPAllocationsClient.BeginCreateOrUpdate @@ -8009,124 +8009,124 @@ type IPAllocationsClientUpdateTagsOptions struct { // IPConfiguration - IP configuration. type IPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the IP configuration. - Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *IPConfigurationPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // IPConfigurationBgpPeeringAddress - Properties of IPConfigurationBgpPeeringAddress. type IPConfigurationBgpPeeringAddress struct { // The list of custom BGP peering addresses which belong to IP configuration. - CustomBgpIPAddresses []*string `json:"customBgpIpAddresses,omitempty"` + CustomBgpIPAddresses []*string // The ID of IP configuration which belongs to gateway. - IPConfigurationID *string `json:"ipconfigurationId,omitempty"` + IPConfigurationID *string // READ-ONLY; The list of default BGP peering addresses which belong to IP configuration. - DefaultBgpIPAddresses []*string `json:"defaultBgpIpAddresses,omitempty" azure:"ro"` + DefaultBgpIPAddresses []*string // READ-ONLY; The list of tunnel public IP addresses which belong to IP configuration. - TunnelIPAddresses []*string `json:"tunnelIpAddresses,omitempty" azure:"ro"` + TunnelIPAddresses []*string } // IPConfigurationProfile - IP configuration profile child resource. type IPConfigurationProfile struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the IP configuration profile. - Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"` + Properties *IPConfigurationProfilePropertiesFormat // 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; Sub Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IPConfigurationProfilePropertiesFormat - IP configuration profile properties. type IPConfigurationProfilePropertiesFormat struct { // The reference to the subnet resource to create a container network interface ip configuration. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; The provisioning state of the IP configuration profile resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // IPConfigurationPropertiesFormat - Properties of IP configuration. type IPConfigurationPropertiesFormat struct { // The private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // The reference to the public IP resource. - PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPAddress *PublicIPAddress // The reference to the subnet resource. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; The provisioning state of the IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // IPGroup - The IpGroups resource information. type IPGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the IpGroups. - Properties *IPGroupPropertiesFormat `json:"properties,omitempty"` + Properties *IPGroupPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IPGroupListResult - Response for the ListIpGroups API service call. type IPGroupListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of IpGroups information resources. - Value []*IPGroup `json:"value,omitempty"` + Value []*IPGroup } // IPGroupPropertiesFormat - The IpGroups property information. type IPGroupPropertiesFormat struct { // IpAddresses/IpAddressPrefixes in the IpGroups resource. - IPAddresses []*string `json:"ipAddresses,omitempty"` + IPAddresses []*string // READ-ONLY; List of references to Firewall Policies resources that this IpGroups is associated with. - FirewallPolicies []*SubResource `json:"firewallPolicies,omitempty" azure:"ro"` + FirewallPolicies []*SubResource // READ-ONLY; List of references to Firewall resources that this IpGroups is associated with. - Firewalls []*SubResource `json:"firewalls,omitempty" azure:"ro"` + Firewalls []*SubResource // READ-ONLY; The provisioning state of the IpGroups resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // IPGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the IPGroupsClient.BeginCreateOrUpdate method. @@ -8166,219 +8166,219 @@ type IPGroupsClientUpdateGroupsOptions struct { // IPPrefixesList - List of SNAT IP Prefixes learnt by firewall to not SNAT type IPPrefixesList struct { // IP Prefix value. - IPPrefixes []*string `json:"ipPrefixes,omitempty"` + IPPrefixes []*string } // IPSecPolicy - An IPSec Policy configuration for a virtual network gateway connection. type IPSecPolicy struct { // REQUIRED; The DH Group used in IKE Phase 1 for initial SA. - DhGroup *DhGroup `json:"dhGroup,omitempty"` + DhGroup *DhGroup // REQUIRED; The IPSec encryption algorithm (IKE phase 1). - IPSecEncryption *IPSecEncryption `json:"ipsecEncryption,omitempty"` + IPSecEncryption *IPSecEncryption // REQUIRED; The IPSec integrity algorithm (IKE phase 1). - IPSecIntegrity *IPSecIntegrity `json:"ipsecIntegrity,omitempty"` + IPSecIntegrity *IPSecIntegrity // REQUIRED; The IKE encryption algorithm (IKE phase 2). - IkeEncryption *IkeEncryption `json:"ikeEncryption,omitempty"` + IkeEncryption *IkeEncryption // REQUIRED; The IKE integrity algorithm (IKE phase 2). - IkeIntegrity *IkeIntegrity `json:"ikeIntegrity,omitempty"` + IkeIntegrity *IkeIntegrity // REQUIRED; The Pfs Group used in IKE Phase 2 for new child SA. - PfsGroup *PfsGroup `json:"pfsGroup,omitempty"` + PfsGroup *PfsGroup // REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN // tunnel. - SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"` + SaDataSizeKilobytes *int32 // REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site // VPN tunnel. - SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"` + SaLifeTimeSeconds *int32 } // IPTag - Contains the IpTag associated with the object. type IPTag struct { // The IP tag type. Example: FirstPartyUsage. - IPTagType *string `json:"ipTagType,omitempty"` + IPTagType *string // The value of the IP tag associated with the public IP. Example: SQL. - Tag *string `json:"tag,omitempty"` + Tag *string } // IPv6CircuitConnectionConfig - IPv6 Circuit Connection properties for global reach. type IPv6CircuitConnectionConfig struct { // /125 IP address space to carve out customer addresses for global reach. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // READ-ONLY; Express Route Circuit connection state. - CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"` + CircuitConnectionStatus *CircuitConnectionStatus } // IPv6ExpressRouteCircuitPeeringConfig - Contains IPv6 peering config. type IPv6ExpressRouteCircuitPeeringConfig struct { // The Microsoft peering configuration. - MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` + MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig // The primary address prefix. - PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"` + PrimaryPeerAddressPrefix *string // The reference to the RouteFilter resource. - RouteFilter *SubResource `json:"routeFilter,omitempty"` + RouteFilter *SubResource // The secondary address prefix. - SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"` + SecondaryPeerAddressPrefix *string // The state of peering. - State *ExpressRouteCircuitPeeringState `json:"state,omitempty"` + State *ExpressRouteCircuitPeeringState } // InboundNatPool - Inbound NAT pool of the load balancer. type InboundNatPool struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be // used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer inbound nat pool. - Properties *InboundNatPoolPropertiesFormat `json:"properties,omitempty"` + Properties *InboundNatPoolPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // InboundNatPoolPropertiesFormat - Properties of Inbound NAT pool. type InboundNatPoolPropertiesFormat struct { // REQUIRED; The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535. - BackendPort *int32 `json:"backendPort,omitempty"` + BackendPort *int32 // REQUIRED; The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated // with a load balancer. Acceptable values range between 1 and 65535. - FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeEnd *int32 // REQUIRED; The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated // with a load balancer. Acceptable values range between 1 and 65534. - FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"` + FrontendPortRangeStart *int32 // REQUIRED; The reference to the transport protocol used by the inbound NAT pool. - Protocol *TransportProtocol `json:"protocol,omitempty"` + Protocol *TransportProtocol // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability // Group. This setting is required when using the SQL AlwaysOn Availability Groups // in SQL server. This setting can't be changed after you create the endpoint. - EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableFloatingIP *bool // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used // when the protocol is set to TCP. - EnableTCPReset *bool `json:"enableTcpReset,omitempty"` + EnableTCPReset *bool // A reference to frontend IP addresses. - FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendIPConfiguration *SubResource // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. // This element is only used when the protocol is set to TCP. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // READ-ONLY; The provisioning state of the inbound NAT pool resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // InboundNatRule - Inbound NAT rule of the load balancer. type InboundNatRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be // used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer inbound NAT rule. - Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"` + Properties *InboundNatRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // InboundNatRuleListResult - Response for ListInboundNatRule API service call. type InboundNatRuleListResult struct { // A list of inbound NAT rules in a load balancer. - Value []*InboundNatRule `json:"value,omitempty"` + Value []*InboundNatRule // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // InboundNatRulePortMapping - Individual port mappings for inbound NAT rule created for backend pool. type InboundNatRulePortMapping struct { // READ-ONLY; Backend port. - BackendPort *int32 `json:"backendPort,omitempty" azure:"ro"` + BackendPort *int32 // READ-ONLY; Frontend port. - FrontendPort *int32 `json:"frontendPort,omitempty" azure:"ro"` + FrontendPort *int32 // READ-ONLY; Name of inbound NAT rule. - InboundNatRuleName *string `json:"inboundNatRuleName,omitempty" azure:"ro"` + InboundNatRuleName *string // READ-ONLY; The reference to the transport protocol used by the inbound NAT rule. - Protocol *TransportProtocol `json:"protocol,omitempty" azure:"ro"` + Protocol *TransportProtocol } // InboundNatRulePropertiesFormat - Properties of the inbound NAT rule. type InboundNatRulePropertiesFormat struct { // A reference to backendAddressPool resource. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // The port used for the internal endpoint. Acceptable values range from 1 to 65535. - BackendPort *int32 `json:"backendPort,omitempty"` + BackendPort *int32 // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability // Group. This setting is required when using the SQL AlwaysOn Availability Groups // in SQL server. This setting can't be changed after you create the endpoint. - EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableFloatingIP *bool // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used // when the protocol is set to TCP. - EnableTCPReset *bool `json:"enableTcpReset,omitempty"` + EnableTCPReset *bool // A reference to frontend IP addresses. - FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendIPConfiguration *SubResource // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values // range from 1 to 65534. - FrontendPort *int32 `json:"frontendPort,omitempty"` + FrontendPort *int32 // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. // Individual inbound NAT rule port mappings will be created for each // backend address from BackendAddressPool. Acceptable values range from 1 to 65534. - FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"` + FrontendPortRangeEnd *int32 // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. // Individual inbound NAT rule port mappings will be created for each // backend address from BackendAddressPool. Acceptable values range from 1 to 65534. - FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"` + FrontendPortRangeStart *int32 // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. // This element is only used when the protocol is set to TCP. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // The reference to the transport protocol used by the load balancing rule. - Protocol *TransportProtocol `json:"protocol,omitempty"` + Protocol *TransportProtocol // READ-ONLY; A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port // of each of the frontend IP configurations is forwarded to the backend IP. - BackendIPConfiguration *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty" azure:"ro"` + BackendIPConfiguration *InterfaceIPConfiguration // READ-ONLY; The provisioning state of the inbound NAT rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // InboundNatRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the InboundNatRulesClient.BeginCreateOrUpdate @@ -8408,19 +8408,19 @@ type InboundNatRulesClientListOptions struct { // InboundSecurityRule - NVA Inbound Security Rule resource. type InboundSecurityRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of security rule collection. - Name *string `json:"name,omitempty"` + Name *string // The properties of the Inbound Security Rules. - Properties *InboundSecurityRuleProperties `json:"properties,omitempty"` + Properties *InboundSecurityRuleProperties // 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; NVA inbound security rule type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // InboundSecurityRuleClientBeginCreateOrUpdateOptions contains the optional parameters for the InboundSecurityRuleClient.BeginCreateOrUpdate @@ -8433,88 +8433,88 @@ type InboundSecurityRuleClientBeginCreateOrUpdateOptions struct { // InboundSecurityRuleProperties - Properties of the Inbound Security Rules resource. type InboundSecurityRuleProperties struct { // List of allowed rules. - Rules []*InboundSecurityRules `json:"rules,omitempty"` + Rules []*InboundSecurityRules // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // InboundSecurityRules - Properties of the Inbound Security Rules resource. type InboundSecurityRules struct { // NVA port ranges to be opened up. One needs to provide specific ports. - DestinationPortRange *int32 `json:"destinationPortRange,omitempty"` + DestinationPortRange *int32 // Protocol. This should be either TCP or UDP. - Protocol *InboundSecurityRulesProtocol `json:"protocol,omitempty"` + Protocol *InboundSecurityRulesProtocol // The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed. - SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefix *string } // IntentPolicy - Network Intent Policy resource. type IntentPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // IntentPolicyConfiguration - Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. type IntentPolicyConfiguration struct { // The name of the Network Intent Policy for storing in target subscription. - NetworkIntentPolicyName *string `json:"networkIntentPolicyName,omitempty"` + NetworkIntentPolicyName *string // Source network intent policy. - SourceNetworkIntentPolicy *IntentPolicy `json:"sourceNetworkIntentPolicy,omitempty"` + SourceNetworkIntentPolicy *IntentPolicy } // Interface - A network interface in a resource group. type Interface struct { // The extended location of the network interface. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the network interface. - Properties *InterfacePropertiesFormat `json:"properties,omitempty"` + Properties *InterfacePropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // InterfaceAssociation - Network interface and its custom security rules. type InterfaceAssociation struct { // Collection of custom security rules. - SecurityRules []*SecurityRule `json:"securityRules,omitempty"` + SecurityRules []*SecurityRule // READ-ONLY; Network interface ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // InterfaceDNSSettings - DNS settings of a network interface. @@ -8522,107 +8522,107 @@ type InterfaceDNSSettings struct { // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' // value cannot be combined with other IPs, it must be the only value in dnsServers // collection. - DNSServers []*string `json:"dnsServers,omitempty"` + DNSServers []*string // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. - InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"` + InternalDNSNameLabel *string // READ-ONLY; If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers // from all NICs that are part of the Availability Set. This property is what is // configured on each of those VMs. - AppliedDNSServers []*string `json:"appliedDnsServers,omitempty" azure:"ro"` + AppliedDNSServers []*string // READ-ONLY; Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS // name can be constructed by concatenating the VM name with the value of // internalDomainNameSuffix. - InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty" azure:"ro"` + InternalDomainNameSuffix *string // READ-ONLY; Fully qualified DNS name supporting internal communications between VMs in the same virtual network. - InternalFqdn *string `json:"internalFqdn,omitempty" azure:"ro"` + InternalFqdn *string } // InterfaceIPConfiguration - IPConfiguration in a network interface. type InterfaceIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Network interface IP configuration properties. - Properties *InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *InterfaceIPConfigurationPropertiesFormat // Resource type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // InterfaceIPConfigurationListResult - Response for list ip configurations API service call. type InterfaceIPConfigurationListResult struct { // A list of ip configurations. - Value []*InterfaceIPConfiguration `json:"value,omitempty"` + Value []*InterfaceIPConfiguration // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // InterfaceIPConfigurationPrivateLinkConnectionProperties - PrivateLinkConnection properties for the network interface. type InterfaceIPConfigurationPrivateLinkConnectionProperties struct { // READ-ONLY; List of FQDNs for current private link connection. - Fqdns []*string `json:"fqdns,omitempty" azure:"ro"` + Fqdns []*string // READ-ONLY; The group ID for current private link connection. - GroupID *string `json:"groupId,omitempty" azure:"ro"` + GroupID *string // READ-ONLY; The required member name for current private link connection. - RequiredMemberName *string `json:"requiredMemberName,omitempty" azure:"ro"` + RequiredMemberName *string } // InterfaceIPConfigurationPropertiesFormat - Properties of IP configuration. type InterfaceIPConfigurationPropertiesFormat struct { // The reference to ApplicationGatewayBackendAddressPool resource. - ApplicationGatewayBackendAddressPools []*ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"` + ApplicationGatewayBackendAddressPools []*ApplicationGatewayBackendAddressPool // Application security groups in which the IP configuration is included. - ApplicationSecurityGroups []*ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + ApplicationSecurityGroups []*ApplicationSecurityGroup // The reference to gateway load balancer frontend IP. - GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"` + GatewayLoadBalancer *SubResource // The reference to LoadBalancerBackendAddressPool resource. - LoadBalancerBackendAddressPools []*BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"` + LoadBalancerBackendAddressPools []*BackendAddressPool // A list of references of LoadBalancerInboundNatRules. - LoadBalancerInboundNatRules []*InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"` + LoadBalancerInboundNatRules []*InboundNatRule // Whether this is a primary customer address on the network interface. - Primary *bool `json:"primary,omitempty"` + Primary *bool // Private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. - PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAddressVersion *IPVersion // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // Public IP address bound to the IP configuration. - PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"` + PublicIPAddress *PublicIPAddress // Subnet bound to the IP configuration. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // The reference to Virtual Network Taps. - VirtualNetworkTaps []*VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"` + VirtualNetworkTaps []*VirtualNetworkTap // READ-ONLY; PrivateLinkConnection properties for the network interface. - PrivateLinkConnectionProperties *InterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty" azure:"ro"` + PrivateLinkConnectionProperties *InterfaceIPConfigurationPrivateLinkConnectionProperties // READ-ONLY; The provisioning state of the network interface IP configuration. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // InterfaceIPConfigurationsClientGetOptions contains the optional parameters for the InterfaceIPConfigurationsClient.Get @@ -8640,19 +8640,19 @@ type InterfaceIPConfigurationsClientListOptions struct { // InterfaceListResult - Response for the ListNetworkInterface API service call. type InterfaceListResult struct { // A list of network interfaces in a resource group. - Value []*Interface `json:"value,omitempty"` + Value []*Interface // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // InterfaceLoadBalancerListResult - Response for list ip configurations API service call. type InterfaceLoadBalancerListResult struct { // A list of load balancers. - Value []*LoadBalancer `json:"value,omitempty"` + Value []*LoadBalancer // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // InterfaceLoadBalancersClientListOptions contains the optional parameters for the InterfaceLoadBalancersClient.NewListPager @@ -8664,104 +8664,104 @@ type InterfaceLoadBalancersClientListOptions struct { // InterfacePropertiesFormat - NetworkInterface properties. type InterfacePropertiesFormat struct { // Auxiliary mode of Network Interface resource. - AuxiliaryMode *NetworkInterfaceAuxiliaryMode `json:"auxiliaryMode,omitempty"` + AuxiliaryMode *NetworkInterfaceAuxiliaryMode // The DNS settings in network interface. - DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"` + DNSSettings *InterfaceDNSSettings // Indicates whether to disable tcp state tracking. - DisableTCPStateTracking *bool `json:"disableTcpStateTracking,omitempty"` + DisableTCPStateTracking *bool // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated // networking. - EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` + EnableAcceleratedNetworking *bool // Indicates whether IP forwarding is enabled on this network interface. - EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` + EnableIPForwarding *bool // A list of IPConfigurations of the network interface. - IPConfigurations []*InterfaceIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*InterfaceIPConfiguration // Migration phase of Network Interface resource. - MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"` + MigrationPhase *NetworkInterfaceMigrationPhase // The reference to the NetworkSecurityGroup resource. - NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"` + NetworkSecurityGroup *SecurityGroup // Type of Network Interface resource. - NicType *NetworkInterfaceNicType `json:"nicType,omitempty"` + NicType *NetworkInterfaceNicType // Privatelinkservice of the network interface resource. - PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"` + PrivateLinkService *PrivateLinkService // WorkloadType of the NetworkInterface for BareMetal resources - WorkloadType *string `json:"workloadType,omitempty"` + WorkloadType *string // READ-ONLY; A reference to the dscp configuration to which the network interface is linked. - DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty" azure:"ro"` + DscpConfiguration *SubResource // READ-ONLY; A list of references to linked BareMetal resources. - HostedWorkloads []*string `json:"hostedWorkloads,omitempty" azure:"ro"` + HostedWorkloads []*string // READ-ONLY; The MAC address of the network interface. - MacAddress *string `json:"macAddress,omitempty" azure:"ro"` + MacAddress *string // READ-ONLY; Whether this is a primary network interface on a virtual machine. - Primary *bool `json:"primary,omitempty" azure:"ro"` + Primary *bool // READ-ONLY; A reference to the private endpoint to which the network interface is linked. - PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"` + PrivateEndpoint *PrivateEndpoint // READ-ONLY; The provisioning state of the network interface resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the network interface resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; A list of TapConfigurations of the network interface. - TapConfigurations []*InterfaceTapConfiguration `json:"tapConfigurations,omitempty" azure:"ro"` + TapConfigurations []*InterfaceTapConfiguration // READ-ONLY; The reference to a virtual machine. - VirtualMachine *SubResource `json:"virtualMachine,omitempty" azure:"ro"` + VirtualMachine *SubResource // READ-ONLY; Whether the virtual machine this nic is attached to supports encryption. - VnetEncryptionSupported *bool `json:"vnetEncryptionSupported,omitempty" azure:"ro"` + VnetEncryptionSupported *bool } // InterfaceTapConfiguration - Tap configuration in a Network Interface. type InterfaceTapConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the Virtual Network Tap configuration. - Properties *InterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *InterfaceTapConfigurationPropertiesFormat // 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; Sub Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // InterfaceTapConfigurationListResult - Response for list tap configurations API service call. type InterfaceTapConfigurationListResult struct { // A list of tap configurations. - Value []*InterfaceTapConfiguration `json:"value,omitempty"` + Value []*InterfaceTapConfiguration // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // InterfaceTapConfigurationPropertiesFormat - Properties of Virtual Network Tap configuration. type InterfaceTapConfigurationPropertiesFormat struct { // The reference to the Virtual Network Tap resource. - VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"` + VirtualNetworkTap *VirtualNetworkTap // READ-ONLY; The provisioning state of the network interface tap configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // InterfaceTapConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the InterfaceTapConfigurationsClient.BeginCreateOrUpdate @@ -8893,233 +8893,233 @@ type InterfacesClientUpdateTagsOptions struct { // ListHubRouteTablesResult - List of RouteTables and a URL nextLink to get the next set of results. type ListHubRouteTablesResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of RouteTables. - Value []*HubRouteTable `json:"value,omitempty"` + Value []*HubRouteTable } // ListHubVirtualNetworkConnectionsResult - List of HubVirtualNetworkConnections and a URL nextLink to get the next set of // results. type ListHubVirtualNetworkConnectionsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of HubVirtualNetworkConnections. - Value []*HubVirtualNetworkConnection `json:"value,omitempty"` + Value []*HubVirtualNetworkConnection } // ListP2SVPNGatewaysResult - Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL // nextLink to get the next set of results. type ListP2SVPNGatewaysResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of P2SVpnGateways. - Value []*P2SVPNGateway `json:"value,omitempty"` + Value []*P2SVPNGateway } // ListRouteMapsResult - List of RouteMaps and a URL nextLink to get the next set of results. type ListRouteMapsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of RouteMaps. - Value []*RouteMap `json:"value,omitempty"` + Value []*RouteMap } // ListRoutingIntentResult - List of the routing intent result and a URL nextLink to get the next set of results. type ListRoutingIntentResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of RoutingIntent resource. - Value []*RoutingIntent `json:"value,omitempty"` + Value []*RoutingIntent } // ListVPNConnectionsResult - Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains // a list of Vpn Connections and a URL nextLink to get the next set of results. type ListVPNConnectionsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Vpn Connections. - Value []*VPNConnection `json:"value,omitempty"` + Value []*VPNConnection } // ListVPNGatewayNatRulesResult - Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a // list of Nat rules and a URL nextLink to get the next set of results. type ListVPNGatewayNatRulesResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Nat Rules. - Value []*VPNGatewayNatRule `json:"value,omitempty"` + Value []*VPNGatewayNatRule } // ListVPNGatewaysResult - Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink // to get the next set of results. type ListVPNGatewaysResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnGateways. - Value []*VPNGateway `json:"value,omitempty"` + Value []*VPNGateway } // ListVPNServerConfigurationPolicyGroupsResult - Result of the request to list VpnServerConfigurationPolicyGroups. It contains // a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results. type ListVPNServerConfigurationPolicyGroupsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnServerConfigurationPolicyGroups. - Value []*VPNServerConfigurationPolicyGroup `json:"value,omitempty"` + Value []*VPNServerConfigurationPolicyGroup } // ListVPNServerConfigurationsResult - Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations // and a URL nextLink to get the next set of results. type ListVPNServerConfigurationsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnServerConfigurations. - Value []*VPNServerConfiguration `json:"value,omitempty"` + Value []*VPNServerConfiguration } // ListVPNSiteLinkConnectionsResult - Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains // a list of Vpn Connections and a URL nextLink to get the next set of results. type ListVPNSiteLinkConnectionsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnSiteLinkConnections. - Value []*VPNSiteLinkConnection `json:"value,omitempty"` + Value []*VPNSiteLinkConnection } // ListVPNSiteLinksResult - Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink // to get the next set of results. type ListVPNSiteLinksResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnSitesLinks. - Value []*VPNSiteLink `json:"value,omitempty"` + Value []*VPNSiteLink } // ListVPNSitesResult - Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the // next set of results. type ListVPNSitesResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VpnSites. - Value []*VPNSite `json:"value,omitempty"` + Value []*VPNSite } // ListVirtualHubBgpConnectionResults - VirtualHubBgpConnections list. type ListVirtualHubBgpConnectionResults struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of VirtualHubBgpConnections. - Value []*BgpConnection `json:"value,omitempty"` + Value []*BgpConnection } // ListVirtualHubIPConfigurationResults - VirtualHubIpConfigurations list. type ListVirtualHubIPConfigurationResults struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of VirtualHubIpConfigurations. - Value []*HubIPConfiguration `json:"value,omitempty"` + Value []*HubIPConfiguration } // ListVirtualHubRouteTableV2SResult - List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. type ListVirtualHubRouteTableV2SResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VirtualHubRouteTableV2s. - Value []*VirtualHubRouteTableV2 `json:"value,omitempty"` + Value []*VirtualHubRouteTableV2 } // ListVirtualHubsResult - Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink // to get the next set of results. type ListVirtualHubsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VirtualHubs. - Value []*VirtualHub `json:"value,omitempty"` + Value []*VirtualHub } // ListVirtualNetworkGatewayNatRulesResult - Result of the request to list all nat rules to a virtual network gateway. It // contains a list of Nat rules and a URL nextLink to get the next set of results. type ListVirtualNetworkGatewayNatRulesResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Nat Rules. - Value []*VirtualNetworkGatewayNatRule `json:"value,omitempty"` + Value []*VirtualNetworkGatewayNatRule } // ListVirtualWANsResult - Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink // to get the next set of results. type ListVirtualWANsResult struct { // URL to get the next set of operation list results if there are any. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VirtualWANs. - Value []*VirtualWAN `json:"value,omitempty"` + Value []*VirtualWAN } // LoadBalancer resource. type LoadBalancer struct { // The extended location of the load balancer. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of load balancer. - Properties *LoadBalancerPropertiesFormat `json:"properties,omitempty"` + Properties *LoadBalancerPropertiesFormat // The load balancer SKU. - SKU *LoadBalancerSKU `json:"sku,omitempty"` + SKU *LoadBalancerSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LoadBalancerBackendAddress - Load balancer backend addresses. type LoadBalancerBackendAddress struct { // Name of the backend address. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer backend address pool. - Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"` + Properties *LoadBalancerBackendAddressPropertiesFormat } // LoadBalancerBackendAddressPoolListResult - Response for ListBackendAddressPool API service call. type LoadBalancerBackendAddressPoolListResult struct { // A list of backend address pools in a load balancer. - Value []*BackendAddressPool `json:"value,omitempty"` + Value []*BackendAddressPool // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerBackendAddressPoolsClientBeginCreateOrUpdateOptions contains the optional parameters for the LoadBalancerBackendAddressPoolsClient.BeginCreateOrUpdate @@ -9152,34 +9152,34 @@ type LoadBalancerBackendAddressPoolsClientListOptions struct { type LoadBalancerBackendAddressPropertiesFormat struct { // A list of administrative states which once set can override health probe so that Load Balancer will always forward new // connections to backend, or deny new connections and reset existing connections. - AdminState *LoadBalancerBackendAddressAdminState `json:"adminState,omitempty"` + AdminState *LoadBalancerBackendAddressAdminState // IP Address belonging to the referenced virtual network. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // Reference to the frontend ip address configuration defined in regional loadbalancer. - LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"` + LoadBalancerFrontendIPConfiguration *SubResource // Reference to an existing subnet. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // Reference to an existing virtual network. - VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` + VirtualNetwork *SubResource // READ-ONLY; Collection of inbound NAT rule port mappings. - InboundNatRulesPortMapping []*NatRulePortMapping `json:"inboundNatRulesPortMapping,omitempty" azure:"ro"` + InboundNatRulesPortMapping []*NatRulePortMapping // READ-ONLY; Reference to IP address defined in network interfaces. - NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty" azure:"ro"` + NetworkInterfaceIPConfiguration *SubResource } // LoadBalancerFrontendIPConfigurationListResult - Response for ListFrontendIPConfiguration API service call. type LoadBalancerFrontendIPConfigurationListResult struct { // A list of frontend IP configurations in a load balancer. - Value []*FrontendIPConfiguration `json:"value,omitempty"` + Value []*FrontendIPConfiguration // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerFrontendIPConfigurationsClientGetOptions contains the optional parameters for the LoadBalancerFrontendIPConfigurationsClient.Get @@ -9197,19 +9197,19 @@ type LoadBalancerFrontendIPConfigurationsClientListOptions struct { // LoadBalancerListResult - Response for ListLoadBalancers API service call. type LoadBalancerListResult struct { // A list of load balancers in a resource group. - Value []*LoadBalancer `json:"value,omitempty"` + Value []*LoadBalancer // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerLoadBalancingRuleListResult - Response for ListLoadBalancingRule API service call. type LoadBalancerLoadBalancingRuleListResult struct { // A list of load balancing rules in a load balancer. - Value []*LoadBalancingRule `json:"value,omitempty"` + Value []*LoadBalancingRule // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerLoadBalancingRulesClientGetOptions contains the optional parameters for the LoadBalancerLoadBalancingRulesClient.Get @@ -9233,10 +9233,10 @@ type LoadBalancerNetworkInterfacesClientListOptions struct { // LoadBalancerOutboundRuleListResult - Response for ListOutboundRule API service call. type LoadBalancerOutboundRuleListResult struct { // A list of outbound rules in a load balancer. - Value []*OutboundRule `json:"value,omitempty"` + Value []*OutboundRule // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerOutboundRulesClientGetOptions contains the optional parameters for the LoadBalancerOutboundRulesClient.Get @@ -9254,10 +9254,10 @@ type LoadBalancerOutboundRulesClientListOptions struct { // LoadBalancerProbeListResult - Response for ListProbe API service call. type LoadBalancerProbeListResult struct { // A list of probes in a load balancer. - Value []*Probe `json:"value,omitempty"` + Value []*Probe // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LoadBalancerProbesClientGetOptions contains the optional parameters for the LoadBalancerProbesClient.Get method. @@ -9273,10 +9273,10 @@ type LoadBalancerProbesClientListOptions struct { // LoadBalancerPropertiesFormat - Properties of the load balancer. type LoadBalancerPropertiesFormat struct { // Collection of backend address pools used by a load balancer. - BackendAddressPools []*BackendAddressPool `json:"backendAddressPools,omitempty"` + BackendAddressPools []*BackendAddressPool // Object representing the frontend IPs to be used for the load balancer. - FrontendIPConfigurations []*FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` + FrontendIPConfigurations []*FrontendIPConfiguration // Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound // NAT rules are created automatically for each NIC associated with the Load @@ -9284,59 +9284,59 @@ type LoadBalancerPropertiesFormat struct { // with defining inbound NAT rules. Inbound NAT pools are referenced from virtual // machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They // have to reference individual inbound NAT rules. - InboundNatPools []*InboundNatPool `json:"inboundNatPools,omitempty"` + InboundNatPools []*InboundNatPool // Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive // with defining an inbound NAT pool. Inbound NAT pools are referenced from // virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. // They have to reference individual inbound NAT rules. - InboundNatRules []*InboundNatRule `json:"inboundNatRules,omitempty"` + InboundNatRules []*InboundNatRule // Object collection representing the load balancing rules Gets the provisioning. - LoadBalancingRules []*LoadBalancingRule `json:"loadBalancingRules,omitempty"` + LoadBalancingRules []*LoadBalancingRule // The outbound rules. - OutboundRules []*OutboundRule `json:"outboundRules,omitempty"` + OutboundRules []*OutboundRule // Collection of probe objects used in the load balancer. - Probes []*Probe `json:"probes,omitempty"` + Probes []*Probe // READ-ONLY; The provisioning state of the load balancer resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the load balancer resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // LoadBalancerSKU - SKU of a load balancer. type LoadBalancerSKU struct { // Name of a load balancer SKU. - Name *LoadBalancerSKUName `json:"name,omitempty"` + Name *LoadBalancerSKUName // Tier of a load balancer SKU. - Tier *LoadBalancerSKUTier `json:"tier,omitempty"` + Tier *LoadBalancerSKUTier } // LoadBalancerVipSwapRequest - The request for a VIP swap. type LoadBalancerVipSwapRequest struct { // A list of frontend IP configuration resources that should swap VIPs. - FrontendIPConfigurations []*LoadBalancerVipSwapRequestFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` + FrontendIPConfigurations []*LoadBalancerVipSwapRequestFrontendIPConfiguration } // LoadBalancerVipSwapRequestFrontendIPConfiguration - VIP swap request's frontend IP configuration object. type LoadBalancerVipSwapRequestFrontendIPConfiguration struct { // The ID of frontend IP configuration resource. - ID *string `json:"id,omitempty"` + ID *string // The properties of VIP swap request's frontend IP configuration object. - Properties *LoadBalancerVipSwapRequestFrontendIPConfigurationProperties `json:"properties,omitempty"` + Properties *LoadBalancerVipSwapRequestFrontendIPConfigurationProperties } // LoadBalancerVipSwapRequestFrontendIPConfigurationProperties - The properties of VIP swap request's frontend IP configuration // object. type LoadBalancerVipSwapRequestFrontendIPConfigurationProperties struct { // A reference to public IP address resource. - PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + PublicIPAddress *SubResource } // LoadBalancersClientBeginCreateOrUpdateOptions contains the optional parameters for the LoadBalancersClient.BeginCreateOrUpdate @@ -9390,123 +9390,123 @@ type LoadBalancersClientUpdateTagsOptions struct { // LoadBalancingRule - A load balancing rule for a load balancer. type LoadBalancingRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can // be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer load balancing rule. - Properties *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"` + Properties *LoadBalancingRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LoadBalancingRulePropertiesFormat - Properties of the load balancer. type LoadBalancingRulePropertiesFormat struct { // REQUIRED; The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable // values are between 0 and 65534. Note that value 0 enables "Any Port". - FrontendPort *int32 `json:"frontendPort,omitempty"` + FrontendPort *int32 // REQUIRED; The reference to the transport protocol used by the load balancing rule. - Protocol *TransportProtocol `json:"protocol,omitempty"` + Protocol *TransportProtocol // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // An array of references to pool of DIPs. - BackendAddressPools []*SubResource `json:"backendAddressPools,omitempty"` + BackendAddressPools []*SubResource // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables // "Any Port". - BackendPort *int32 `json:"backendPort,omitempty"` + BackendPort *int32 // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing // rule. - DisableOutboundSnat *bool `json:"disableOutboundSnat,omitempty"` + DisableOutboundSnat *bool // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability // Group. This setting is required when using the SQL AlwaysOn Availability Groups // in SQL server. This setting can't be changed after you create the endpoint. - EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"` + EnableFloatingIP *bool // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used // when the protocol is set to TCP. - EnableTCPReset *bool `json:"enableTcpReset,omitempty"` + EnableTCPReset *bool // A reference to frontend IP addresses. - FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` + FrontendIPConfiguration *SubResource // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. // This element is only used when the protocol is set to TCP. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // The load distribution policy for this rule. - LoadDistribution *LoadDistribution `json:"loadDistribution,omitempty"` + LoadDistribution *LoadDistribution // The reference to the load balancer probe used by the load balancing rule. - Probe *SubResource `json:"probe,omitempty"` + Probe *SubResource // READ-ONLY; The provisioning state of the load balancing rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // LocalNetworkGateway - A common class for general resource information. type LocalNetworkGateway struct { // REQUIRED; Properties of the local network gateway. - Properties *LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"` + Properties *LocalNetworkGatewayPropertiesFormat // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // LocalNetworkGatewayListResult - Response for ListLocalNetworkGateways API service call. type LocalNetworkGatewayListResult struct { // A list of local network gateways that exists in a resource group. - Value []*LocalNetworkGateway `json:"value,omitempty"` + Value []*LocalNetworkGateway // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // LocalNetworkGatewayPropertiesFormat - LocalNetworkGateway properties. type LocalNetworkGatewayPropertiesFormat struct { // Local network gateway's BGP speaker settings. - BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + BgpSettings *BgpSettings // FQDN of local network gateway. - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // IP address of local network gateway. - GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"` + GatewayIPAddress *string // Local network site address space. - LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"` + LocalNetworkAddressSpace *AddressSpace // READ-ONLY; The provisioning state of the local network gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the local network gateway resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // LocalNetworkGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the LocalNetworkGatewaysClient.BeginCreateOrUpdate @@ -9543,55 +9543,55 @@ type LocalNetworkGatewaysClientUpdateTagsOptions struct { // LogSpecification - Description of logging specification. type LogSpecification struct { // Duration of the blob. - BlobDuration *string `json:"blobDuration,omitempty"` + BlobDuration *string // The display name of the specification. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The name of the specification. - Name *string `json:"name,omitempty"` + Name *string } // ManagedRuleGroupOverride - Defines a managed rule group override setting. type ManagedRuleGroupOverride struct { // REQUIRED; The managed rule group to override. - RuleGroupName *string `json:"ruleGroupName,omitempty"` + RuleGroupName *string // List of rules that will be disabled. If none specified, all rules in the group will be disabled. - Rules []*ManagedRuleOverride `json:"rules,omitempty"` + Rules []*ManagedRuleOverride } // ManagedRuleOverride - Defines a managed rule group override setting. type ManagedRuleOverride struct { // REQUIRED; Identifier for the managed rule. - RuleID *string `json:"ruleId,omitempty"` + RuleID *string // Describes the override action to be applied when rule matches. - Action *ActionType `json:"action,omitempty"` + Action *ActionType // The state of the managed rule. Defaults to Disabled if not specified. - State *ManagedRuleEnabledState `json:"state,omitempty"` + State *ManagedRuleEnabledState } // ManagedRuleSet - Defines a managed rule set. type ManagedRuleSet struct { // REQUIRED; Defines the rule set type to use. - RuleSetType *string `json:"ruleSetType,omitempty"` + RuleSetType *string // REQUIRED; Defines the version of the rule set to use. - RuleSetVersion *string `json:"ruleSetVersion,omitempty"` + RuleSetVersion *string // Defines the rule group overrides to apply to the rule set. - RuleGroupOverrides []*ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` + RuleGroupOverrides []*ManagedRuleGroupOverride } // ManagedRulesDefinition - Allow to exclude some variable satisfy the condition for the WAF check. type ManagedRulesDefinition struct { // REQUIRED; The managed rule sets that are associated with the policy. - ManagedRuleSets []*ManagedRuleSet `json:"managedRuleSets,omitempty"` + ManagedRuleSets []*ManagedRuleSet // The Exclusions that are applied on the policy. - Exclusions []*OwaspCrsExclusionEntry `json:"exclusions,omitempty"` + Exclusions []*OwaspCrsExclusionEntry } // ManagedServiceIdentity - Identity for the resource. @@ -9599,19 +9599,19 @@ type ManagedServiceIdentity 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 virtual machine. - Type *ResourceIdentityType `json:"type,omitempty"` + Type *ResourceIdentityType // The list of user identities associated with 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]*Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]*Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties // READ-ONLY; The 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 } // ManagementClientBeginDeleteBastionShareableLinkOptions contains the optional parameters for the ManagementClient.BeginDeleteBastionShareableLink @@ -9732,43 +9732,43 @@ type ManagementGroupNetworkManagerConnectionsClientListOptions struct { // Manager - The Managed Network resource type Manager struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The network manager properties - Properties *ManagerProperties `json:"properties,omitempty"` + Properties *ManagerProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagerCommit - Network Manager Commit. type ManagerCommit struct { // REQUIRED; Commit Type. - CommitType *ConfigurationType `json:"commitType,omitempty"` + CommitType *ConfigurationType // REQUIRED; List of target locations. - TargetLocations []*string `json:"targetLocations,omitempty"` + TargetLocations []*string // List of configuration ids. - ConfigurationIDs []*string `json:"configurationIds,omitempty"` + ConfigurationIDs []*string // READ-ONLY; Commit Id. - CommitID *string `json:"commitId,omitempty" azure:"ro"` + CommitID *string } // ManagerCommitsClientBeginPostOptions contains the optional parameters for the ManagerCommitsClient.BeginPost method. @@ -9780,64 +9780,64 @@ type ManagerCommitsClientBeginPostOptions struct { // ManagerConnection - The Network Manager Connection resource type ManagerConnection struct { // The scope connection properties - Properties *ManagerConnectionProperties `json:"properties,omitempty"` + Properties *ManagerConnectionProperties // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagerConnectionListResult - List of network manager connections. type ManagerConnectionListResult struct { // Gets the URL to get the next page of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of network manager connections. - Value []*ManagerConnection `json:"value,omitempty"` + Value []*ManagerConnection } // ManagerConnectionProperties - Information about the network manager connection. type ManagerConnectionProperties struct { // A description of the network manager connection. - Description *string `json:"description,omitempty"` + Description *string // Network Manager Id. - NetworkManagerID *string `json:"networkManagerId,omitempty"` + NetworkManagerID *string // READ-ONLY; Connection state. - ConnectionState *ScopeConnectionState `json:"connectionState,omitempty" azure:"ro"` + ConnectionState *ScopeConnectionState } // ManagerDeploymentStatus - Network Manager Deployment Status. type ManagerDeploymentStatus struct { // Commit Time. - CommitTime *time.Time `json:"commitTime,omitempty"` + CommitTime *time.Time // List of configuration ids. - ConfigurationIDs []*string `json:"configurationIds,omitempty"` + ConfigurationIDs []*string // Deployment Status. - DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"` + DeploymentStatus *DeploymentStatus // Configuration Deployment Type. - DeploymentType *ConfigurationType `json:"deploymentType,omitempty"` + DeploymentType *ConfigurationType // Error Message. - ErrorMessage *string `json:"errorMessage,omitempty"` + ErrorMessage *string // Region Name. - Region *string `json:"region,omitempty"` + Region *string } // ManagerDeploymentStatusClientListOptions contains the optional parameters for the ManagerDeploymentStatusClient.List method. @@ -9850,22 +9850,22 @@ type ManagerDeploymentStatusClientListOptions struct { type ManagerDeploymentStatusListResult struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // Gets a page of Network Manager Deployment Status - Value []*ManagerDeploymentStatus `json:"value,omitempty"` + Value []*ManagerDeploymentStatus } // ManagerDeploymentStatusParameter - Network Manager Deployment Status Parameter. type ManagerDeploymentStatusParameter struct { // List of deployment types. - DeploymentTypes []*ConfigurationType `json:"deploymentTypes,omitempty"` + DeploymentTypes []*ConfigurationType // List of locations. - Regions []*string `json:"regions,omitempty"` + Regions []*string // Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string } // ManagerEffectiveConnectivityConfigurationListResult - Result of the request to list networkManagerEffectiveConnectivityConfiguration. @@ -9873,10 +9873,10 @@ type ManagerDeploymentStatusParameter struct { type ManagerEffectiveConnectivityConfigurationListResult struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // Gets a page of NetworkManagerEffectiveConnectivityConfiguration - Value []*EffectiveConnectivityConfiguration `json:"value,omitempty"` + Value []*EffectiveConnectivityConfiguration } // ManagerEffectiveSecurityAdminRulesListResult - Result of the request to list networkManagerEffectiveSecurityAdminRules. @@ -9884,53 +9884,53 @@ type ManagerEffectiveConnectivityConfigurationListResult struct { type ManagerEffectiveSecurityAdminRulesListResult struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string // Gets a page of NetworkManagerEffectiveSecurityAdminRules - Value []EffectiveBaseSecurityAdminRuleClassification `json:"value,omitempty"` + Value []EffectiveBaseSecurityAdminRuleClassification } // ManagerListResult - Result of the request to list NetworkManager. It contains a list of network managers and a URL link // to get the next set of results. type ManagerListResult struct { // Gets the URL to get the next page of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Gets a page of NetworkManager - Value []*Manager `json:"value,omitempty"` + Value []*Manager } // ManagerProperties - Properties of Managed Network type ManagerProperties struct { // REQUIRED; Scope Access. - NetworkManagerScopeAccesses []*ConfigurationType `json:"networkManagerScopeAccesses,omitempty"` + NetworkManagerScopeAccesses []*ConfigurationType // REQUIRED; Scope of Network Manager. - NetworkManagerScopes *ManagerPropertiesNetworkManagerScopes `json:"networkManagerScopes,omitempty"` + NetworkManagerScopes *ManagerPropertiesNetworkManagerScopes // A description of the network manager. - Description *string `json:"description,omitempty"` + Description *string // READ-ONLY; The provisioning state of the network manager resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ManagerPropertiesNetworkManagerScopes - Scope of Network Manager. type ManagerPropertiesNetworkManagerScopes struct { // List of management groups. - ManagementGroups []*string `json:"managementGroups,omitempty"` + ManagementGroups []*string // List of subscriptions. - Subscriptions []*string `json:"subscriptions,omitempty"` + Subscriptions []*string // READ-ONLY; List of cross tenant scopes. - CrossTenantScopes []*CrossTenantScopes `json:"crossTenantScopes,omitempty" azure:"ro"` + CrossTenantScopes []*CrossTenantScopes } // ManagerSecurityGroupItem - Network manager security group item. type ManagerSecurityGroupItem struct { // REQUIRED; Network manager group Id. - NetworkGroupID *string `json:"networkGroupId,omitempty"` + NetworkGroupID *string } // ManagersClientBeginDeleteOptions contains the optional parameters for the ManagersClient.BeginDelete method. @@ -9981,148 +9981,148 @@ type ManagersClientPatchOptions struct { // MatchCondition - Define match conditions. type MatchCondition struct { // REQUIRED; Match value. - MatchValues []*string `json:"matchValues,omitempty"` + MatchValues []*string // REQUIRED; List of match variables. - MatchVariables []*MatchVariable `json:"matchVariables,omitempty"` + MatchVariables []*MatchVariable // REQUIRED; The operator to be matched. - Operator *WebApplicationFirewallOperator `json:"operator,omitempty"` + Operator *WebApplicationFirewallOperator // Whether this is negate condition or not. - NegationConditon *bool `json:"negationConditon,omitempty"` + NegationConditon *bool // List of transforms. - Transforms []*WebApplicationFirewallTransform `json:"transforms,omitempty"` + Transforms []*WebApplicationFirewallTransform } // MatchVariable - Define match variables. type MatchVariable struct { // REQUIRED; Match Variable. - VariableName *WebApplicationFirewallMatchVariable `json:"variableName,omitempty"` + VariableName *WebApplicationFirewallMatchVariable // The selector of match variable. - Selector *string `json:"selector,omitempty"` + Selector *string } // MatchedRule - Matched rule. type MatchedRule struct { // The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. - Action *string `json:"action,omitempty"` + Action *string // Name of the matched network security rule. - RuleName *string `json:"ruleName,omitempty"` + RuleName *string } // MetricSpecification - Description of metrics specification. type MetricSpecification struct { // The aggregation type. - AggregationType *string `json:"aggregationType,omitempty"` + AggregationType *string // List of availability. - Availabilities []*Availability `json:"availabilities,omitempty"` + Availabilities []*Availability // List of dimensions. - Dimensions []*Dimension `json:"dimensions,omitempty"` + Dimensions []*Dimension // The description of the metric. - DisplayDescription *string `json:"displayDescription,omitempty"` + DisplayDescription *string // The display name of the metric. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // Whether regional MDM account enabled. - EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"` + EnableRegionalMdmAccount *bool // Whether gaps would be filled with zeros. - FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` + FillGapWithZero *bool // Whether the metric is internal. - IsInternal *bool `json:"isInternal,omitempty"` + IsInternal *bool // Pattern for the filter of the metric. - MetricFilterPattern *string `json:"metricFilterPattern,omitempty"` + MetricFilterPattern *string // The name of the metric. - Name *string `json:"name,omitempty"` + Name *string // The resource Id dimension name override. - ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` + ResourceIDDimensionNameOverride *string // The source MDM account. - SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` + SourceMdmAccount *string // The source MDM namespace. - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + SourceMdmNamespace *string // Units the metric to be displayed in. - Unit *string `json:"unit,omitempty"` + Unit *string } // NatGateway - Nat Gateway resource. type NatGateway struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Nat Gateway properties. - Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` + Properties *NatGatewayPropertiesFormat // The nat gateway SKU. - SKU *NatGatewaySKU `json:"sku,omitempty"` + SKU *NatGatewaySKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting the zone in which Nat Gateway should be deployed. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NatGatewayListResult - Response for ListNatGateways API service call. type NatGatewayListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of Nat Gateways that exists in a resource group. - Value []*NatGateway `json:"value,omitempty"` + Value []*NatGateway } // NatGatewayPropertiesFormat - Nat Gateway properties. type NatGatewayPropertiesFormat struct { // The idle timeout of the nat gateway. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // An array of public ip addresses associated with the nat gateway resource. - PublicIPAddresses []*SubResource `json:"publicIpAddresses,omitempty"` + PublicIPAddresses []*SubResource // An array of public ip prefixes associated with the nat gateway resource. - PublicIPPrefixes []*SubResource `json:"publicIpPrefixes,omitempty"` + PublicIPPrefixes []*SubResource // READ-ONLY; The provisioning state of the NAT gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the NAT gateway resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; An array of references to the subnets using this nat gateway resource. - Subnets []*SubResource `json:"subnets,omitempty" azure:"ro"` + Subnets []*SubResource } // NatGatewaySKU - SKU of nat gateway. type NatGatewaySKU struct { // Name of Nat Gateway SKU. - Name *NatGatewaySKUName `json:"name,omitempty"` + Name *NatGatewaySKUName } // NatGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the NatGatewaysClient.BeginCreateOrUpdate @@ -10162,37 +10162,37 @@ type NatGatewaysClientUpdateTagsOptions struct { // NatRule - Rule of type nat. type NatRule struct { // REQUIRED; Rule Type. - RuleType *FirewallPolicyRuleType `json:"ruleType,omitempty"` + RuleType *FirewallPolicyRuleType // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses or Service Tags. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of destination ports. - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Array of FirewallPolicyRuleNetworkProtocols. - IPProtocols []*FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` + IPProtocols []*FirewallPolicyRuleNetworkProtocol // Name of the rule. - Name *string `json:"name,omitempty"` + Name *string // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string // The translated address for this NAT rule. - TranslatedAddress *string `json:"translatedAddress,omitempty"` + TranslatedAddress *string // The translated FQDN for this NAT rule. - TranslatedFqdn *string `json:"translatedFqdn,omitempty"` + TranslatedFqdn *string // The translated port for this NAT rule. - TranslatedPort *string `json:"translatedPort,omitempty"` + TranslatedPort *string } // GetFirewallPolicyRule implements the FirewallPolicyRuleClassification interface for type NatRule. @@ -10207,13 +10207,13 @@ func (n *NatRule) GetFirewallPolicyRule() *FirewallPolicyRule { // NatRulePortMapping - Individual port mappings for inbound NAT rule created for backend pool. type NatRulePortMapping struct { // Backend port. - BackendPort *int32 `json:"backendPort,omitempty"` + BackendPort *int32 // Frontend port. - FrontendPort *int32 `json:"frontendPort,omitempty"` + FrontendPort *int32 // Name of inbound NAT rule. - InboundNatRuleName *string `json:"inboundNatRuleName,omitempty"` + InboundNatRuleName *string } // NatRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the NatRulesClient.BeginCreateOrUpdate method. @@ -10242,110 +10242,110 @@ type NatRulesClientListByVPNGatewayOptions struct { // NextHopParameters - Parameters that define the source and destination endpoint. type NextHopParameters struct { // REQUIRED; The destination IP address. - DestinationIPAddress *string `json:"destinationIPAddress,omitempty"` + DestinationIPAddress *string // REQUIRED; The source IP address. - SourceIPAddress *string `json:"sourceIPAddress,omitempty"` + SourceIPAddress *string // REQUIRED; The resource identifier of the target resource against which the action is to be performed. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string // The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. // Otherwise optional). - TargetNicResourceID *string `json:"targetNicResourceId,omitempty"` + TargetNicResourceID *string } // NextHopResult - The information about next hop from the specified VM. type NextHopResult struct { // Next hop IP Address. - NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopIPAddress *string // Next hop type. - NextHopType *NextHopType `json:"nextHopType,omitempty"` + NextHopType *NextHopType // The resource identifier for the route table associated with the route being returned. If the route being returned does // not correspond to any user created routes then this field will be the string // 'System Route'. - RouteTableID *string `json:"routeTableId,omitempty"` + RouteTableID *string } // O365BreakOutCategoryPolicies - Office365 breakout categories. type O365BreakOutCategoryPolicies struct { // Flag to control allow category. - Allow *bool `json:"allow,omitempty"` + Allow *bool // Flag to control default category. - Default *bool `json:"default,omitempty"` + Default *bool // Flag to control optimize category. - Optimize *bool `json:"optimize,omitempty"` + Optimize *bool } // O365PolicyProperties - The Office365 breakout policy. type O365PolicyProperties struct { // Office365 breakout categories. - BreakOutCategories *O365BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"` + BreakOutCategories *O365BreakOutCategoryPolicies } // Office365PolicyProperties - Network Virtual Appliance Sku Properties. type Office365PolicyProperties struct { // Office 365 breakout categories. - BreakOutCategories *BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"` + BreakOutCategories *BreakOutCategoryPolicies } // Operation - Network REST API operation definition. type Operation struct { // Display metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Operation name: {provider}/{resource}/{operation}. - Name *string `json:"name,omitempty"` + Name *string // Origin of the operation. - Origin *string `json:"origin,omitempty"` + Origin *string // Operation properties format. - Properties *OperationPropertiesFormat `json:"properties,omitempty"` + Properties *OperationPropertiesFormat } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // Description of the operation. - Description *string `json:"description,omitempty"` + Description *string // Type of the operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft Network. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of the request to list Network 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 Network operations supported by the Network resource provider. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationPropertiesFormat - Description of operation properties format. type OperationPropertiesFormat struct { // Specification of the service. - ServiceSpecification *OperationPropertiesFormatServiceSpecification `json:"serviceSpecification,omitempty"` + ServiceSpecification *OperationPropertiesFormatServiceSpecification } // OperationPropertiesFormatServiceSpecification - Specification of the service. type OperationPropertiesFormatServiceSpecification struct { // Operation log specification. - LogSpecifications []*LogSpecification `json:"logSpecifications,omitempty"` + LogSpecifications []*LogSpecification // Operation service specification. - MetricSpecifications []*MetricSpecification `json:"metricSpecifications,omitempty"` + MetricSpecifications []*MetricSpecification } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -10356,179 +10356,179 @@ type OperationsClientListOptions struct { // OrderBy - Describes a column to sort type OrderBy struct { // Describes the actual column name to sort by - Field *string `json:"field,omitempty"` + Field *string // Describes if results should be in ascending/descending order - Order *FirewallPolicyIDPSQuerySortOrder `json:"order,omitempty"` + Order *FirewallPolicyIDPSQuerySortOrder } // OutboundRule - Outbound rule of the load balancer. type OutboundRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used // to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer outbound rule. - Properties *OutboundRulePropertiesFormat `json:"properties,omitempty"` + Properties *OutboundRulePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // OutboundRulePropertiesFormat - Outbound rule of the load balancer. type OutboundRulePropertiesFormat struct { // REQUIRED; A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. - BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` + BackendAddressPool *SubResource // REQUIRED; The Frontend IP addresses of the load balancer. - FrontendIPConfigurations []*SubResource `json:"frontendIPConfigurations,omitempty"` + FrontendIPConfigurations []*SubResource // REQUIRED; The protocol for the outbound rule in load balancer. - Protocol *LoadBalancerOutboundRuleProtocol `json:"protocol,omitempty"` + Protocol *LoadBalancerOutboundRuleProtocol // The number of outbound ports to be used for NAT. - AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"` + AllocatedOutboundPorts *int32 // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used // when the protocol is set to TCP. - EnableTCPReset *bool `json:"enableTcpReset,omitempty"` + EnableTCPReset *bool // The timeout for the TCP idle connection. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // READ-ONLY; The provisioning state of the outbound rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // OwaspCrsExclusionEntry - Allow to exclude some variable satisfy the condition for the WAF check. type OwaspCrsExclusionEntry struct { // REQUIRED; The variable to be excluded. - MatchVariable *OwaspCrsExclusionEntryMatchVariable `json:"matchVariable,omitempty"` + MatchVariable *OwaspCrsExclusionEntryMatchVariable // REQUIRED; When matchVariable is a collection, operator used to specify which elements in the collection this exclusion // applies to. - Selector *string `json:"selector,omitempty"` + Selector *string // REQUIRED; When matchVariable is a collection, operate on the selector to specify which elements in the collection this // exclusion applies to. - SelectorMatchOperator *OwaspCrsExclusionEntrySelectorMatchOperator `json:"selectorMatchOperator,omitempty"` + SelectorMatchOperator *OwaspCrsExclusionEntrySelectorMatchOperator // The managed rule sets that are associated with the exclusion. - ExclusionManagedRuleSets []*ExclusionManagedRuleSet `json:"exclusionManagedRuleSets,omitempty"` + ExclusionManagedRuleSets []*ExclusionManagedRuleSet } // P2SConnectionConfiguration Resource. type P2SConnectionConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the P2S connection configuration. - Properties *P2SConnectionConfigurationProperties `json:"properties,omitempty"` + Properties *P2SConnectionConfigurationProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // P2SConnectionConfigurationProperties - Parameters for P2SConnectionConfiguration. type P2SConnectionConfigurationProperties struct { // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not. - EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnableInternetSecurity *bool // The Routing Configuration indicating the associated and propagated route tables on this connection. - RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingConfiguration *RoutingConfiguration // The reference to the address space resource which represents Address space for P2S VpnClient. - VPNClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` + VPNClientAddressPool *AddressSpace // READ-ONLY; List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to. - ConfigurationPolicyGroupAssociations []*SubResource `json:"configurationPolicyGroupAssociations,omitempty" azure:"ro"` + ConfigurationPolicyGroupAssociations []*SubResource // READ-ONLY; List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to. - PreviousConfigurationPolicyGroupAssociations []*VPNServerConfigurationPolicyGroup `json:"previousConfigurationPolicyGroupAssociations,omitempty" azure:"ro"` + PreviousConfigurationPolicyGroupAssociations []*VPNServerConfigurationPolicyGroup // READ-ONLY; The provisioning state of the P2SConnectionConfiguration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // P2SVPNConnectionHealth - P2S Vpn connection detailed health written to sas url. type P2SVPNConnectionHealth struct { // Returned sas url of the blob to which the p2s vpn connection detailed health will be written. - SasURL *string `json:"sasUrl,omitempty"` + SasURL *string } // P2SVPNConnectionHealthRequest - List of P2S Vpn connection health request. type P2SVPNConnectionHealthRequest struct { // The sas-url to download the P2S Vpn connection health detail. - OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"` + OutputBlobSasURL *string // The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for. - VPNUserNamesFilter []*string `json:"vpnUserNamesFilter,omitempty"` + VPNUserNamesFilter []*string } // P2SVPNConnectionRequest - List of p2s vpn connections to be disconnected. type P2SVPNConnectionRequest struct { // List of p2s vpn connection Ids. - VPNConnectionIDs []*string `json:"vpnConnectionIds,omitempty"` + VPNConnectionIDs []*string } // P2SVPNGateway - P2SVpnGateway Resource. type P2SVPNGateway struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the P2SVpnGateway. - Properties *P2SVPNGatewayProperties `json:"properties,omitempty"` + Properties *P2SVPNGatewayProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // P2SVPNGatewayProperties - Parameters for P2SVpnGateway. type P2SVPNGatewayProperties struct { // List of all customer specified DNS servers IP addresses. - CustomDNSServers []*string `json:"customDnsServers,omitempty"` + CustomDNSServers []*string // Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. - IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` + IsRoutingPreferenceInternet *bool // List of all p2s connection configurations of the gateway. - P2SConnectionConfigurations []*P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"` + P2SConnectionConfigurations []*P2SConnectionConfiguration // The scale unit for this p2s vpn gateway. - VPNGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"` + VPNGatewayScaleUnit *int32 // The VpnServerConfiguration to which the p2sVpnGateway is attached to. - VPNServerConfiguration *SubResource `json:"vpnServerConfiguration,omitempty"` + VPNServerConfiguration *SubResource // The VirtualHub to which the gateway belongs. - VirtualHub *SubResource `json:"virtualHub,omitempty"` + VirtualHub *SubResource // READ-ONLY; The provisioning state of the P2S VPN gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; All P2S VPN clients' connection health status. - VPNClientConnectionHealth *VPNClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty" azure:"ro"` + VPNClientConnectionHealth *VPNClientConnectionHealth } // P2SVPNGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the P2SVPNGatewaysClient.BeginCreateOrUpdate @@ -10604,13 +10604,13 @@ type P2SVPNGatewaysClientListOptions struct { // P2SVPNProfileParameters - Vpn Client Parameters for package generation. type P2SVPNProfileParameters struct { // VPN client authentication method. - AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"` + AuthenticationMethod *AuthenticationMethod } // PacketCapture - Parameters that define the create packet capture operation. type PacketCapture struct { // REQUIRED; Properties of the packet capture. - Properties *PacketCaptureParameters `json:"properties,omitempty"` + Properties *PacketCaptureParameters } // PacketCaptureFilter - Filter that is applied to packet capture request. Multiple filters can be applied. @@ -10618,136 +10618,136 @@ type PacketCaptureFilter struct { // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. // "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently // supported. Mixing ranges with multiple entries not currently supported. Default = null. - LocalIPAddress *string `json:"localIPAddress,omitempty"` + LocalIPAddress *string // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple // ranges not currently supported. Mixing ranges with multiple entries not // currently supported. Default = null. - LocalPort *string `json:"localPort,omitempty"` + LocalPort *string // Protocol to be filtered on. - Protocol *PcProtocol `json:"protocol,omitempty"` + Protocol *PcProtocol // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. // "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently // supported. Mixing ranges with multiple entries not currently supported. Default = null. - RemoteIPAddress *string `json:"remoteIPAddress,omitempty"` + RemoteIPAddress *string // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. // Multiple ranges not currently supported. Mixing ranges with multiple entries not // currently supported. Default = null. - RemotePort *string `json:"remotePort,omitempty"` + RemotePort *string } // PacketCaptureListResult - List of packet capture sessions. type PacketCaptureListResult struct { // Information about packet capture sessions. - Value []*PacketCaptureResult `json:"value,omitempty"` + Value []*PacketCaptureResult } // PacketCaptureMachineScope - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both // included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. type PacketCaptureMachineScope struct { // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. - Exclude []*string `json:"exclude,omitempty"` + Exclude []*string // List of AzureVMSS instances to run packet capture on. - Include []*string `json:"include,omitempty"` + Include []*string } // PacketCaptureParameters - Parameters that define the create packet capture operation. type PacketCaptureParameters struct { // REQUIRED; The storage location for a packet capture session. - StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"` + StorageLocation *PacketCaptureStorageLocation // REQUIRED; The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. - Target *string `json:"target,omitempty"` + Target *string // Number of bytes captured per packet, the remaining bytes are truncated. - BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"` + BytesToCapturePerPacket *int64 // A list of packet capture filters. - Filters []*PacketCaptureFilter `json:"filters,omitempty"` + Filters []*PacketCaptureFilter // A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are // empty, then the packet capture will run on all instances of AzureVMSS. - Scope *PacketCaptureMachineScope `json:"scope,omitempty"` + Scope *PacketCaptureMachineScope // Target type of the resource provided. - TargetType *PacketCaptureTargetType `json:"targetType,omitempty"` + TargetType *PacketCaptureTargetType // Maximum duration of the capture session in seconds. - TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"` + TimeLimitInSeconds *int32 // Maximum size of the capture output. - TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"` + TotalBytesPerSession *int64 } // PacketCaptureQueryStatusResult - Status of packet capture session. type PacketCaptureQueryStatusResult struct { // The start time of the packet capture session. - CaptureStartTime *time.Time `json:"captureStartTime,omitempty"` + CaptureStartTime *time.Time // The ID of the packet capture resource. - ID *string `json:"id,omitempty"` + ID *string // The name of the packet capture resource. - Name *string `json:"name,omitempty"` + Name *string // List of errors of packet capture session. - PacketCaptureError []*PcError `json:"packetCaptureError,omitempty"` + PacketCaptureError []*PcError // The status of the packet capture session. - PacketCaptureStatus *PcStatus `json:"packetCaptureStatus,omitempty"` + PacketCaptureStatus *PcStatus // The reason the current packet capture session was stopped. - StopReason *string `json:"stopReason,omitempty"` + StopReason *string } // PacketCaptureResult - Information about packet capture session. type PacketCaptureResult struct { // Properties of the packet capture result. - Properties *PacketCaptureResultProperties `json:"properties,omitempty"` + Properties *PacketCaptureResultProperties // 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; ID of the packet capture operation. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the packet capture session. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // PacketCaptureResultProperties - The properties of a packet capture session. type PacketCaptureResultProperties struct { // REQUIRED; The storage location for a packet capture session. - StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"` + StorageLocation *PacketCaptureStorageLocation // REQUIRED; The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. - Target *string `json:"target,omitempty"` + Target *string // Number of bytes captured per packet, the remaining bytes are truncated. - BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"` + BytesToCapturePerPacket *int64 // A list of packet capture filters. - Filters []*PacketCaptureFilter `json:"filters,omitempty"` + Filters []*PacketCaptureFilter // A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are // empty, then the packet capture will run on all instances of AzureVMSS. - Scope *PacketCaptureMachineScope `json:"scope,omitempty"` + Scope *PacketCaptureMachineScope // Target type of the resource provided. - TargetType *PacketCaptureTargetType `json:"targetType,omitempty"` + TargetType *PacketCaptureTargetType // Maximum duration of the capture session in seconds. - TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"` + TimeLimitInSeconds *int32 // Maximum size of the capture output. - TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"` + TotalBytesPerSession *int64 // READ-ONLY; The provisioning state of the packet capture session. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PacketCaptureStorageLocation - The storage location for a packet capture session. @@ -10755,14 +10755,14 @@ type PacketCaptureStorageLocation struct { // A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it // must start with /var/captures. Required if no storage ID is provided, otherwise // optional. - FilePath *string `json:"filePath,omitempty"` + FilePath *string // The ID of the storage account to save the packet capture session. Required if no local file path is provided. - StorageID *string `json:"storageId,omitempty"` + StorageID *string // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet // capture. - StoragePath *string `json:"storagePath,omitempty"` + StoragePath *string } // PacketCapturesClientBeginCreateOptions contains the optional parameters for the PacketCapturesClient.BeginCreate method. @@ -10803,119 +10803,119 @@ type PacketCapturesClientListOptions struct { // Parameters for an Action. type Parameter struct { // List of AS paths. - AsPath []*string `json:"asPath,omitempty"` + AsPath []*string // List of BGP communities. - Community []*string `json:"community,omitempty"` + Community []*string // List of route prefixes. - RoutePrefix []*string `json:"routePrefix,omitempty"` + RoutePrefix []*string } // PartnerManagedResourceProperties - Properties of the partner managed resource. type PartnerManagedResourceProperties struct { // READ-ONLY; The partner managed resource id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The partner managed ILB resource id - InternalLoadBalancerID *string `json:"internalLoadBalancerId,omitempty" azure:"ro"` + InternalLoadBalancerID *string // READ-ONLY; The partner managed SLB resource id - StandardLoadBalancerID *string `json:"standardLoadBalancerId,omitempty" azure:"ro"` + StandardLoadBalancerID *string } // PatchObject - Object for patch operations. type PatchObject struct { // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // PatchRouteFilter - Route Filter Resource. type PatchRouteFilter struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the route filter. - Properties *RouteFilterPropertiesFormat `json:"properties,omitempty"` + Properties *RouteFilterPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PatchRouteFilterRule - Route Filter Rule Resource. type PatchRouteFilterRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the route filter rule. - Properties *RouteFilterRulePropertiesFormat `json:"properties,omitempty"` + Properties *RouteFilterRulePropertiesFormat // 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; The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // PeerExpressRouteCircuitConnection - Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. type PeerExpressRouteCircuitConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the peer express route circuit connection. - Properties *PeerExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` + Properties *PeerExpressRouteCircuitConnectionPropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PeerExpressRouteCircuitConnectionListResult - Response for ListPeeredConnections API service call retrieves all global // reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. type PeerExpressRouteCircuitConnectionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. - Value []*PeerExpressRouteCircuitConnection `json:"value,omitempty"` + Value []*PeerExpressRouteCircuitConnection } // PeerExpressRouteCircuitConnectionPropertiesFormat - Properties of the peer express route circuit connection. type PeerExpressRouteCircuitConnectionPropertiesFormat struct { // /29 IP address space to carve out Customer addresses for tunnels. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // The resource guid of the authorization used for the express route circuit connection. - AuthResourceGUID *string `json:"authResourceGuid,omitempty"` + AuthResourceGUID *string // The name of the express route circuit connection resource. - ConnectionName *string `json:"connectionName,omitempty"` + ConnectionName *string // Reference to Express Route Circuit Private Peering Resource of the circuit. - ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` + ExpressRouteCircuitPeering *SubResource // Reference to Express Route Circuit Private Peering Resource of the peered circuit. - PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` + PeerExpressRouteCircuitPeering *SubResource // READ-ONLY; Express Route Circuit connection state. - CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"` + CircuitConnectionStatus *CircuitConnectionStatus // READ-ONLY; The provisioning state of the peer express route circuit connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PeerExpressRouteCircuitConnectionsClientGetOptions contains the optional parameters for the PeerExpressRouteCircuitConnectionsClient.Get @@ -10933,106 +10933,106 @@ type PeerExpressRouteCircuitConnectionsClientListOptions struct { // PeerRoute - Peer routing details. type PeerRoute struct { // READ-ONLY; The route's AS path sequence. - AsPath *string `json:"asPath,omitempty" azure:"ro"` + AsPath *string // READ-ONLY; The peer's local address. - LocalAddress *string `json:"localAddress,omitempty" azure:"ro"` + LocalAddress *string // READ-ONLY; The route's network prefix. - Network *string `json:"network,omitempty" azure:"ro"` + Network *string // READ-ONLY; The route's next hop. - NextHop *string `json:"nextHop,omitempty" azure:"ro"` + NextHop *string // READ-ONLY; The source this route was learned from. - Origin *string `json:"origin,omitempty" azure:"ro"` + Origin *string // READ-ONLY; The peer this route was learned from. - SourcePeer *string `json:"sourcePeer,omitempty" azure:"ro"` + SourcePeer *string // READ-ONLY; The route's weight. - Weight *int32 `json:"weight,omitempty" azure:"ro"` + Weight *int32 } // PeerRouteList - List of virtual router peer routes. type PeerRouteList struct { // List of peer routes. - Value []*PeerRoute `json:"value,omitempty"` + Value []*PeerRoute } // PolicySettings - Defines contents of a web application firewall global configuration. type PolicySettings struct { // If the action type is block, customer can override the response body. The body must be specified in base64 encoding. - CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"` + CustomBlockResponseBody *string // If the action type is block, customer can override the response status code. - CustomBlockResponseStatusCode *int32 `json:"customBlockResponseStatusCode,omitempty"` + CustomBlockResponseStatusCode *int32 // Maximum file upload size in Mb for WAF. - FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"` + FileUploadLimitInMb *int32 // Maximum request body size in Kb for WAF. - MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"` + MaxRequestBodySizeInKb *int32 // The mode of the policy. - Mode *WebApplicationFirewallMode `json:"mode,omitempty"` + Mode *WebApplicationFirewallMode // Whether to allow WAF to check request Body. - RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"` + RequestBodyCheck *bool // The state of the policy. - State *WebApplicationFirewallEnabledState `json:"state,omitempty"` + State *WebApplicationFirewallEnabledState } // PrepareNetworkPoliciesRequest - Details of PrepareNetworkPolicies for Subnet. type PrepareNetworkPoliciesRequest struct { // A list of NetworkIntentPolicyConfiguration. - NetworkIntentPolicyConfigurations []*IntentPolicyConfiguration `json:"networkIntentPolicyConfigurations,omitempty"` + NetworkIntentPolicyConfigurations []*IntentPolicyConfiguration // The name of the service for which subnet is being prepared for. - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string } // PrivateDNSZoneConfig - PrivateDnsZoneConfig resource. type PrivateDNSZoneConfig struct { // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the private dns zone configuration. - Properties *PrivateDNSZonePropertiesFormat `json:"properties,omitempty"` + Properties *PrivateDNSZonePropertiesFormat } // PrivateDNSZoneGroup - Private dns zone group resource. type PrivateDNSZoneGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the private dns zone group. - Properties *PrivateDNSZoneGroupPropertiesFormat `json:"properties,omitempty"` + Properties *PrivateDNSZoneGroupPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // PrivateDNSZoneGroupListResult - Response for the ListPrivateDnsZoneGroups API service call. type PrivateDNSZoneGroupListResult struct { // A list of private dns zone group resources in a private endpoint. - Value []*PrivateDNSZoneGroup `json:"value,omitempty"` + Value []*PrivateDNSZoneGroup // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // PrivateDNSZoneGroupPropertiesFormat - Properties of the private dns zone group. type PrivateDNSZoneGroupPropertiesFormat struct { // A collection of private dns zone configurations of the private dns zone group. - PrivateDNSZoneConfigs []*PrivateDNSZoneConfig `json:"privateDnsZoneConfigs,omitempty"` + PrivateDNSZoneConfigs []*PrivateDNSZoneConfig // READ-ONLY; The provisioning state of the private dns zone group resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateDNSZoneGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateDNSZoneGroupsClient.BeginCreateOrUpdate @@ -11063,146 +11063,146 @@ type PrivateDNSZoneGroupsClientListOptions struct { // PrivateDNSZonePropertiesFormat - Properties of the private dns zone configuration resource. type PrivateDNSZonePropertiesFormat struct { // The resource id of the private dns zone. - PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty"` + PrivateDNSZoneID *string // READ-ONLY; A collection of information regarding a recordSet, holding information to identify private resources. - RecordSets []*RecordSet `json:"recordSets,omitempty" azure:"ro"` + RecordSets []*RecordSet } // PrivateEndpoint - Private endpoint resource. type PrivateEndpoint struct { // The extended location of the load balancer. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the private endpoint. - Properties *PrivateEndpointProperties `json:"properties,omitempty"` + Properties *PrivateEndpointProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateEndpointConnection resource. type PrivateEndpointConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the private end point connection. - Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Properties *PrivateEndpointConnectionProperties // 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; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateEndpointConnectionListResult - Response for the ListPrivateEndpointConnection API service call. type PrivateEndpointConnectionListResult struct { // A list of PrivateEndpointConnection resources for a specific private link service. - Value []*PrivateEndpointConnection `json:"value,omitempty"` + Value []*PrivateEndpointConnection // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // PrivateEndpointConnectionProperties - Properties of the PrivateEndpointConnectProperties. type PrivateEndpointConnectionProperties struct { // A collection of information about the state of the connection between service consumer and provider. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState // READ-ONLY; The consumer link id. - LinkIdentifier *string `json:"linkIdentifier,omitempty" azure:"ro"` + LinkIdentifier *string // READ-ONLY; The resource of private end point. - PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"` + PrivateEndpoint *PrivateEndpoint // READ-ONLY; The provisioning state of the private endpoint connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateEndpointIPConfiguration - An IP Configuration of the private endpoint. type PrivateEndpointIPConfiguration struct { // The name of the resource that is unique within a resource group. - Name *string `json:"name,omitempty"` + Name *string // Properties of private endpoint IP configurations. - Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"` + Properties *PrivateEndpointIPConfigurationProperties // 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; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateEndpointIPConfigurationProperties - Properties of an IP Configuration of the private endpoint. type PrivateEndpointIPConfigurationProperties struct { // The ID of a group obtained from the remote resource that this private endpoint should connect to. - GroupID *string `json:"groupId,omitempty"` + GroupID *string // The member name of a group obtained from the remote resource that this private endpoint should connect to. - MemberName *string `json:"memberName,omitempty"` + MemberName *string // A private ip address obtained from the private endpoint's subnet. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string } // PrivateEndpointListResult - Response for the ListPrivateEndpoints API service call. type PrivateEndpointListResult struct { // A list of private endpoint resources in a resource group. - Value []*PrivateEndpoint `json:"value,omitempty"` + Value []*PrivateEndpoint // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // PrivateEndpointProperties - Properties of the private endpoint. type PrivateEndpointProperties struct { // Application security groups in which the private endpoint IP configuration is included. - ApplicationSecurityGroups []*ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"` + ApplicationSecurityGroups []*ApplicationSecurityGroup // An array of custom dns configurations. - CustomDNSConfigs []*CustomDNSConfigPropertiesFormat `json:"customDnsConfigs,omitempty"` + CustomDNSConfigs []*CustomDNSConfigPropertiesFormat // The custom name of the network interface attached to the private endpoint. - CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"` + CustomNetworkInterfaceName *string // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. - IPConfigurations []*PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*PrivateEndpointIPConfiguration // A grouping of information about the connection to the remote resource. Used when the network admin does not have access // to approve connections to the remote resource. - ManualPrivateLinkServiceConnections []*PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` + ManualPrivateLinkServiceConnections []*PrivateLinkServiceConnection // A grouping of information about the connection to the remote resource. - PrivateLinkServiceConnections []*PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` + PrivateLinkServiceConnections []*PrivateLinkServiceConnection // The ID of the subnet from which the private IP will be allocated. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; An array of references to the network interfaces created for this private endpoint. - NetworkInterfaces []*Interface `json:"networkInterfaces,omitempty" azure:"ro"` + NetworkInterfaces []*Interface // READ-ONLY; The provisioning state of the private endpoint resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateEndpointsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointsClient.BeginCreateOrUpdate @@ -11238,176 +11238,176 @@ type PrivateEndpointsClientListOptions struct { // PrivateLinkService - Private link service resource. type PrivateLinkService struct { // The extended location of the load balancer. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the private link service. - Properties *PrivateLinkServiceProperties `json:"properties,omitempty"` + Properties *PrivateLinkServiceProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateLinkServiceConnection resource. type PrivateLinkServiceConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the private link service connection. - Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` + Properties *PrivateLinkServiceConnectionProperties // 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; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateLinkServiceConnectionProperties - Properties of the PrivateLinkServiceConnection. type PrivateLinkServiceConnectionProperties struct { // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. - GroupIDs []*string `json:"groupIds,omitempty"` + GroupIDs []*string // A collection of read-only information about the state of the connection to the remote resource. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState // The resource id of private link service. - PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"` + PrivateLinkServiceID *string // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. - RequestMessage *string `json:"requestMessage,omitempty"` + RequestMessage *string // READ-ONLY; The provisioning state of the private link service connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer // and provider. type PrivateLinkServiceConnectionState struct { // A message indicating if changes on the service provider require any updates on the consumer. - ActionsRequired *string `json:"actionsRequired,omitempty"` + ActionsRequired *string // The reason for approval/rejection of the connection. - Description *string `json:"description,omitempty"` + Description *string // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. - Status *string `json:"status,omitempty"` + Status *string } // PrivateLinkServiceIPConfiguration - The private link service ip configuration. type PrivateLinkServiceIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of private link service ip configuration. - Name *string `json:"name,omitempty"` + Name *string // Properties of the private link service ip configuration. - Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` + Properties *PrivateLinkServiceIPConfigurationProperties // 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; The resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PrivateLinkServiceIPConfigurationProperties - Properties of private link service IP configuration. type PrivateLinkServiceIPConfigurationProperties struct { // Whether the ip configuration is primary or not. - Primary *bool `json:"primary,omitempty"` + Primary *bool // The private IP address of the IP configuration. - PrivateIPAddress *string `json:"privateIPAddress,omitempty"` + PrivateIPAddress *string // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. - PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"` + PrivateIPAddressVersion *IPVersion // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // The reference to the subnet resource. - Subnet *Subnet `json:"subnet,omitempty"` + Subnet *Subnet // READ-ONLY; The provisioning state of the private link service IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateLinkServiceListResult - Response for the ListPrivateLinkService API service call. type PrivateLinkServiceListResult struct { // A list of PrivateLinkService resources in a resource group. - Value []*PrivateLinkService `json:"value,omitempty"` + Value []*PrivateLinkService // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // PrivateLinkServiceProperties - Properties of the private link service. type PrivateLinkServiceProperties struct { // The auto-approval list of the private link service. - AutoApproval *PrivateLinkServicePropertiesAutoApproval `json:"autoApproval,omitempty"` + AutoApproval *PrivateLinkServicePropertiesAutoApproval // Whether the private link service is enabled for proxy protocol or not. - EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"` + EnableProxyProtocol *bool // The list of Fqdn. - Fqdns []*string `json:"fqdns,omitempty"` + Fqdns []*string // An array of private link service IP configurations. - IPConfigurations []*PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*PrivateLinkServiceIPConfiguration // An array of references to the load balancer IP configurations. - LoadBalancerFrontendIPConfigurations []*FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` + LoadBalancerFrontendIPConfigurations []*FrontendIPConfiguration // The visibility list of the private link service. - Visibility *PrivateLinkServicePropertiesVisibility `json:"visibility,omitempty"` + Visibility *PrivateLinkServicePropertiesVisibility // READ-ONLY; The alias of the private link service. - Alias *string `json:"alias,omitempty" azure:"ro"` + Alias *string // READ-ONLY; An array of references to the network interfaces created for this private link service. - NetworkInterfaces []*Interface `json:"networkInterfaces,omitempty" azure:"ro"` + NetworkInterfaces []*Interface // READ-ONLY; An array of list about connections to the private endpoint. - PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` + PrivateEndpointConnections []*PrivateEndpointConnection // READ-ONLY; The provisioning state of the private link service resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // PrivateLinkServicePropertiesAutoApproval - The auto-approval list of the private link service. type PrivateLinkServicePropertiesAutoApproval struct { // The list of subscriptions. - Subscriptions []*string `json:"subscriptions,omitempty"` + Subscriptions []*string } // PrivateLinkServicePropertiesVisibility - The visibility list of the private link service. type PrivateLinkServicePropertiesVisibility struct { // The list of subscriptions. - Subscriptions []*string `json:"subscriptions,omitempty"` + Subscriptions []*string } // PrivateLinkServiceVisibility - Response for the CheckPrivateLinkServiceVisibility API service call. type PrivateLinkServiceVisibility struct { // Private Link Service Visibility (True/False). - Visible *bool `json:"visible,omitempty"` + Visible *bool } // PrivateLinkServicesClientBeginCheckPrivateLinkServiceVisibilityByResourceGroupOptions contains the optional parameters @@ -11496,105 +11496,105 @@ type PrivateLinkServicesClientUpdatePrivateEndpointConnectionOptions struct { // Probe - A load balancer probe. type Probe struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access // the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of load balancer probe. - Properties *ProbePropertiesFormat `json:"properties,omitempty"` + Properties *ProbePropertiesFormat // 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; Type of the resource. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ProbePropertiesFormat - Load balancer probe resource. type ProbePropertiesFormat struct { // REQUIRED; The port for communicating the probe. Possible values range from 1 to 65535, inclusive. - Port *int32 `json:"port,omitempty"` + Port *int32 // REQUIRED; The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. // If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required // for the probe to be successful. - Protocol *ProbeProtocol `json:"protocol,omitempty"` + Protocol *ProbeProtocol // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly // less than half the allocated timeout period (in seconds) which allows two full // probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. - IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` + IntervalInSeconds *int32 // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. // This values allows endpoints to be taken out of rotation faster or slower than // the typical times used in Azure. - NumberOfProbes *int32 `json:"numberOfProbes,omitempty"` + NumberOfProbes *int32 // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. // After failing the number of consecutive probes equal to this value, the // endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in // rotation. - ProbeThreshold *int32 `json:"probeThreshold,omitempty"` + ProbeThreshold *int32 // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is // not allowed. There is no default value. - RequestPath *string `json:"requestPath,omitempty"` + RequestPath *string // READ-ONLY; The load balancer rules that use this probe. - LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"` + LoadBalancingRules []*SubResource // READ-ONLY; The provisioning state of the probe resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // Profile - Network profile resource. type Profile struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Network profile properties. - Properties *ProfilePropertiesFormat `json:"properties,omitempty"` + Properties *ProfilePropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ProfileListResult - Response for ListNetworkProfiles API service call. type ProfileListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of network profiles that exist in a resource group. - Value []*Profile `json:"value,omitempty"` + Value []*Profile } // ProfilePropertiesFormat - Network profile properties. type ProfilePropertiesFormat struct { // List of chid container network interface configurations. - ContainerNetworkInterfaceConfigurations []*ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfigurations,omitempty"` + ContainerNetworkInterfaceConfigurations []*ContainerNetworkInterfaceConfiguration // READ-ONLY; List of child container network interfaces. - ContainerNetworkInterfaces []*ContainerNetworkInterface `json:"containerNetworkInterfaces,omitempty" azure:"ro"` + ContainerNetworkInterfaces []*ContainerNetworkInterface // READ-ONLY; The provisioning state of the network profile resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the network profile resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // ProfilesClientBeginDeleteOptions contains the optional parameters for the ProfilesClient.BeginDelete method. @@ -11632,49 +11632,49 @@ type ProfilesClientUpdateTagsOptions struct { // PropagatedRouteTable - The list of RouteTables to advertise the routes to. type PropagatedRouteTable struct { // The list of resource ids of all the RouteTables. - IDs []*SubResource `json:"ids,omitempty"` + IDs []*SubResource // The list of labels. - Labels []*string `json:"labels,omitempty"` + Labels []*string } // ProtocolConfiguration - Configuration of the protocol. type ProtocolConfiguration struct { // HTTP configuration of the connectivity check. - HTTPConfiguration *HTTPConfiguration `json:"HTTPConfiguration,omitempty"` + HTTPConfiguration *HTTPConfiguration } // PublicIPAddress - Public IP address resource. type PublicIPAddress struct { // The extended location of the public ip address. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Public IP address properties. - Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"` + Properties *PublicIPAddressPropertiesFormat // The public IP address SKU. - SKU *PublicIPAddressSKU `json:"sku,omitempty"` + SKU *PublicIPAddressSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting the IP allocated for the resource needs to come from. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PublicIPAddressDNSSettings - Contains FQDN of the DNS record associated with the public IP address. @@ -11682,85 +11682,85 @@ type PublicIPAddressDNSSettings struct { // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified // domain name associated with the public IP address. If a domain name label is // specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. - DomainNameLabel *string `json:"domainNameLabel,omitempty"` + DomainNameLabel *string // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel // and the regionalized DNS zone. - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn // is specified, then a PTR DNS record is created pointing from the IP address in // the in-addr.arpa domain to the reverse FQDN. - ReverseFqdn *string `json:"reverseFqdn,omitempty"` + ReverseFqdn *string } // PublicIPAddressListResult - Response for ListPublicIpAddresses API service call. type PublicIPAddressListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of public IP addresses that exists in a resource group. - Value []*PublicIPAddress `json:"value,omitempty"` + Value []*PublicIPAddress } // PublicIPAddressPropertiesFormat - Public IP address properties. type PublicIPAddressPropertiesFormat struct { // The FQDN of the DNS record associated with the public IP address. - DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"` + DNSSettings *PublicIPAddressDNSSettings // The DDoS protection custom policy associated with the public IP address. - DdosSettings *DdosSettings `json:"ddosSettings,omitempty"` + DdosSettings *DdosSettings // Specify what happens to the public IP address when the VM using it is deleted - DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` + DeleteOption *DeleteOptions // The IP address associated with the public IP address resource. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // The list of tags associated with the public IP address. - IPTags []*IPTag `json:"ipTags,omitempty"` + IPTags []*IPTag // The idle timeout of the public IP address. - IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` + IdleTimeoutInMinutes *int32 // The linked public IP address of the public IP address resource. - LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"` + LinkedPublicIPAddress *PublicIPAddress // Migration phase of Public IP Address. - MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"` + MigrationPhase *PublicIPAddressMigrationPhase // The NatGateway for the Public IP address. - NatGateway *NatGateway `json:"natGateway,omitempty"` + NatGateway *NatGateway // The public IP address version. - PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAddressVersion *IPVersion // The public IP address allocation method. - PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` + PublicIPAllocationMethod *IPAllocationMethod // The Public IP Prefix this Public IP Address should be allocated from. - PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` + PublicIPPrefix *SubResource // The service public IP address of the public IP address resource. - ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"` + ServicePublicIPAddress *PublicIPAddress // READ-ONLY; The IP configuration associated with the public IP address. - IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty" azure:"ro"` + IPConfiguration *IPConfiguration // READ-ONLY; The provisioning state of the public IP address resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the public IP address resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // PublicIPAddressSKU - SKU of a public IP address. type PublicIPAddressSKU struct { // Name of a public IP address SKU. - Name *PublicIPAddressSKUName `json:"name,omitempty"` + Name *PublicIPAddressSKUName // Tier of a public IP address SKU. - Tier *PublicIPAddressSKUTier `json:"tier,omitempty"` + Tier *PublicIPAddressSKUTier } // PublicIPAddressesClientBeginCreateOrUpdateOptions contains the optional parameters for the PublicIPAddressesClient.BeginCreateOrUpdate @@ -11847,100 +11847,100 @@ type PublicIPAddressesClientUpdateTagsOptions struct { // PublicIPDdosProtectionStatusResult - Response for GetPublicIpAddressDdosProtectionStatusOperation API service call. type PublicIPDdosProtectionStatusResult struct { // DDoS protection plan Resource Id of a if IP address is protected through a plan. - DdosProtectionPlanID *string `json:"ddosProtectionPlanId,omitempty"` + DdosProtectionPlanID *string // Value indicating whether the IP address is DDoS workload protected or not. - IsWorkloadProtected *IsWorkloadProtected `json:"isWorkloadProtected,omitempty"` + IsWorkloadProtected *IsWorkloadProtected // IP Address of the Public IP Resource - PublicIPAddress *string `json:"publicIpAddress,omitempty"` + PublicIPAddress *string // Public IP ARM resource ID - PublicIPAddressID *string `json:"publicIpAddressId,omitempty"` + PublicIPAddressID *string } // PublicIPPrefix - Public IP prefix resource. type PublicIPPrefix struct { // The extended location of the public ip address. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Public IP prefix properties. - Properties *PublicIPPrefixPropertiesFormat `json:"properties,omitempty"` + Properties *PublicIPPrefixPropertiesFormat // The public IP prefix SKU. - SKU *PublicIPPrefixSKU `json:"sku,omitempty"` + SKU *PublicIPPrefixSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // A list of availability zones denoting the IP allocated for the resource needs to come from. - 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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PublicIPPrefixListResult - Response for ListPublicIpPrefixes API service call. type PublicIPPrefixListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of public IP prefixes that exists in a resource group. - Value []*PublicIPPrefix `json:"value,omitempty"` + Value []*PublicIPPrefix } // PublicIPPrefixPropertiesFormat - Public IP prefix properties. type PublicIPPrefixPropertiesFormat struct { // The customIpPrefix that this prefix is associated with. - CustomIPPrefix *SubResource `json:"customIPPrefix,omitempty"` + CustomIPPrefix *SubResource // The list of tags associated with the public IP prefix. - IPTags []*IPTag `json:"ipTags,omitempty"` + IPTags []*IPTag // NatGateway of Public IP Prefix. - NatGateway *NatGateway `json:"natGateway,omitempty"` + NatGateway *NatGateway // The Length of the Public IP Prefix. - PrefixLength *int32 `json:"prefixLength,omitempty"` + PrefixLength *int32 // The public IP address version. - PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` + PublicIPAddressVersion *IPVersion // READ-ONLY; The allocated Prefix. - IPPrefix *string `json:"ipPrefix,omitempty" azure:"ro"` + IPPrefix *string // READ-ONLY; The reference to load balancer frontend IP configuration associated with the public IP prefix. - LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty" azure:"ro"` + LoadBalancerFrontendIPConfiguration *SubResource // READ-ONLY; The provisioning state of the public IP prefix resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The list of all referenced PublicIPAddresses. - PublicIPAddresses []*ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty" azure:"ro"` + PublicIPAddresses []*ReferencedPublicIPAddress // READ-ONLY; The resource GUID property of the public IP prefix resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // PublicIPPrefixSKU - SKU of a public IP prefix. type PublicIPPrefixSKU struct { // Name of a public IP prefix SKU. - Name *PublicIPPrefixSKUName `json:"name,omitempty"` + Name *PublicIPPrefixSKUName // Tier of a public IP prefix SKU. - Tier *PublicIPPrefixSKUTier `json:"tier,omitempty"` + Tier *PublicIPPrefixSKUTier } // PublicIPPrefixesClientBeginCreateOrUpdateOptions contains the optional parameters for the PublicIPPrefixesClient.BeginCreateOrUpdate @@ -11980,159 +11980,159 @@ type PublicIPPrefixesClientUpdateTagsOptions struct { // QosDefinition - Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking. type QosDefinition struct { // Destination IP ranges. - DestinationIPRanges []*QosIPRange `json:"destinationIpRanges,omitempty"` + DestinationIPRanges []*QosIPRange // Destination port ranges. - DestinationPortRanges []*QosPortRange `json:"destinationPortRanges,omitempty"` + DestinationPortRanges []*QosPortRange // List of markings to be used in the configuration. - Markings []*int32 `json:"markings,omitempty"` + Markings []*int32 // RNM supported protocol types. - Protocol *ProtocolType `json:"protocol,omitempty"` + Protocol *ProtocolType // Source IP ranges. - SourceIPRanges []*QosIPRange `json:"sourceIpRanges,omitempty"` + SourceIPRanges []*QosIPRange // Sources port ranges. - SourcePortRanges []*QosPortRange `json:"sourcePortRanges,omitempty"` + SourcePortRanges []*QosPortRange } // QosIPRange - Qos Traffic Profiler IP Range properties. type QosIPRange struct { // End IP Address. - EndIP *string `json:"endIP,omitempty"` + EndIP *string // Start IP Address. - StartIP *string `json:"startIP,omitempty"` + StartIP *string } // QosPortRange - Qos Traffic Profiler Port range properties. type QosPortRange struct { // Qos Port Range end. - End *int32 `json:"end,omitempty"` + End *int32 // Qos Port Range start. - Start *int32 `json:"start,omitempty"` + Start *int32 } // QueryInboundNatRulePortMappingRequest - The request for a QueryInboundNatRulePortMapping API. Either IpConfiguration or // IpAddress should be set type QueryInboundNatRulePortMappingRequest struct { // IP address set in load balancer backend address. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // NetworkInterfaceIPConfiguration set in load balancer backend address. - IPConfiguration *SubResource `json:"ipConfiguration,omitempty"` + IPConfiguration *SubResource } // QueryRequestOptions - Query Request Options type QueryRequestOptions struct { // When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current // request) to retrieve the next page of data. - SkipToken *string `json:"skipToken,omitempty"` + SkipToken *string } // QueryResults - Query result type QueryResults struct { // Number of total records matching the query. - MatchingRecordsCount *int64 `json:"matchingRecordsCount,omitempty"` + MatchingRecordsCount *int64 // Array containing the results of the query - Signatures []*SingleQueryResult `json:"signatures,omitempty"` + Signatures []*SingleQueryResult } // QueryTroubleshootingParameters - Parameters that define the resource to query the troubleshooting result. type QueryTroubleshootingParameters struct { // REQUIRED; The target resource ID to query the troubleshooting result. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string } // RadiusServer - Radius Server Settings. type RadiusServer struct { // REQUIRED; The address of this radius server. - RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` + RadiusServerAddress *string // The initial score assigned to this radius server. - RadiusServerScore *int64 `json:"radiusServerScore,omitempty"` + RadiusServerScore *int64 // The secret used for this radius server. - RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` + RadiusServerSecret *string } // RecordSet - A collective group of information about the record set information. type RecordSet struct { // Fqdn that resolves to private endpoint ip address. - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // The private ip address of the private endpoint. - IPAddresses []*string `json:"ipAddresses,omitempty"` + IPAddresses []*string // Recordset name. - RecordSetName *string `json:"recordSetName,omitempty"` + RecordSetName *string // Resource record type. - RecordType *string `json:"recordType,omitempty"` + RecordType *string // Recordset time to live. - TTL *int32 `json:"ttl,omitempty"` + TTL *int32 // READ-ONLY; The provisioning state of the recordset. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ReferencedPublicIPAddress - Reference to a public IP address. type ReferencedPublicIPAddress struct { // The PublicIPAddress Reference. - ID *string `json:"id,omitempty"` + ID *string } // Resource - Common resource representation. type Resource struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceNavigationLink resource. type ResourceNavigationLink struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Resource navigation link properties format. - Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"` + Properties *ResourceNavigationLinkFormat // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceNavigationLinkFormat - Properties of ResourceNavigationLink. type ResourceNavigationLinkFormat struct { // Link to the external resource. - Link *string `json:"link,omitempty"` + Link *string // Resource type of the linked resource. - LinkedResourceType *string `json:"linkedResourceType,omitempty"` + LinkedResourceType *string // READ-ONLY; The provisioning state of the resource navigation link resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ResourceNavigationLinksClientListOptions contains the optional parameters for the ResourceNavigationLinksClient.List method. @@ -12143,133 +12143,133 @@ type ResourceNavigationLinksClientListOptions struct { // ResourceNavigationLinksListResult - Response for ResourceNavigationLinks_List operation. type ResourceNavigationLinksListResult struct { // The resource navigation links in a subnet. - Value []*ResourceNavigationLink `json:"value,omitempty"` + Value []*ResourceNavigationLink // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ResourceSet - The base resource set for visibility and auto-approval. type ResourceSet struct { // The list of subscriptions. - Subscriptions []*string `json:"subscriptions,omitempty"` + Subscriptions []*string } // RetentionPolicyParameters - Parameters that define the retention policy for flow log. type RetentionPolicyParameters struct { // Number of days to retain flow log records. - Days *int32 `json:"days,omitempty"` + Days *int32 // Flag to enable/disable retention. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool } // Route resource. type Route struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the route. - Properties *RoutePropertiesFormat `json:"properties,omitempty"` + Properties *RoutePropertiesFormat // The type of the resource. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // RouteFilter - Route Filter Resource. type RouteFilter struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the route filter. - Properties *RouteFilterPropertiesFormat `json:"properties,omitempty"` + Properties *RouteFilterPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RouteFilterListResult - Response for the ListRouteFilters API service call. type RouteFilterListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of route filters in a resource group. - Value []*RouteFilter `json:"value,omitempty"` + Value []*RouteFilter } // RouteFilterPropertiesFormat - Route Filter Resource. type RouteFilterPropertiesFormat struct { // Collection of RouteFilterRules contained within a route filter. - Rules []*RouteFilterRule `json:"rules,omitempty"` + Rules []*RouteFilterRule // READ-ONLY; A collection of references to express route circuit ipv6 peerings. - IPv6Peerings []*ExpressRouteCircuitPeering `json:"ipv6Peerings,omitempty" azure:"ro"` + IPv6Peerings []*ExpressRouteCircuitPeering // READ-ONLY; A collection of references to express route circuit peerings. - Peerings []*ExpressRouteCircuitPeering `json:"peerings,omitempty" azure:"ro"` + Peerings []*ExpressRouteCircuitPeering // READ-ONLY; The provisioning state of the route filter resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RouteFilterRule - Route Filter Rule Resource. type RouteFilterRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the route filter rule. - Properties *RouteFilterRulePropertiesFormat `json:"properties,omitempty"` + Properties *RouteFilterRulePropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // RouteFilterRuleListResult - Response for the ListRouteFilterRules API service call. type RouteFilterRuleListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of RouteFilterRules in a resource group. - Value []*RouteFilterRule `json:"value,omitempty"` + Value []*RouteFilterRule } // RouteFilterRulePropertiesFormat - Route Filter Rule Resource. type RouteFilterRulePropertiesFormat struct { // REQUIRED; The access type of the rule. - Access *Access `json:"access,omitempty"` + Access *Access // REQUIRED; The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. - Communities []*string `json:"communities,omitempty"` + Communities []*string // REQUIRED; The rule type of the rule. - RouteFilterRuleType *RouteFilterRuleType `json:"routeFilterRuleType,omitempty"` + RouteFilterRuleType *RouteFilterRuleType // READ-ONLY; The provisioning state of the route filter rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RouteFilterRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the RouteFilterRulesClient.BeginCreateOrUpdate @@ -12334,58 +12334,58 @@ type RouteFiltersClientUpdateTagsOptions struct { // RouteListResult - Response for the ListRoute API service call. type RouteListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of routes in a resource group. - Value []*Route `json:"value,omitempty"` + Value []*Route } // RouteMap - The RouteMap child resource of a Virtual hub. type RouteMap struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Properties of the RouteMap resource. - Properties *RouteMapProperties `json:"properties,omitempty"` + Properties *RouteMapProperties // 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; The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RouteMapProperties - Properties of RouteMap resource type RouteMapProperties struct { // List of connections which have this RoutMap associated for inbound traffic. - AssociatedInboundConnections []*string `json:"associatedInboundConnections,omitempty"` + AssociatedInboundConnections []*string // List of connections which have this RoutMap associated for outbound traffic. - AssociatedOutboundConnections []*string `json:"associatedOutboundConnections,omitempty"` + AssociatedOutboundConnections []*string // List of RouteMap rules to be applied. - Rules []*RouteMapRule `json:"rules,omitempty"` + Rules []*RouteMapRule // READ-ONLY; The provisioning state of the RouteMap resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RouteMapRule - A RouteMap Rule. type RouteMapRule struct { // List of actions which will be applied on a match. - Actions []*Action `json:"actions,omitempty"` + Actions []*Action // List of matching criterion which will be applied to traffic. - MatchCriteria []*Criterion `json:"matchCriteria,omitempty"` + MatchCriteria []*Criterion // The unique name for the rule. - Name *string `json:"name,omitempty"` + Name *string // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'. - NextStepIfMatched *NextStep `json:"nextStepIfMatched,omitempty"` + NextStepIfMatched *NextStep } // RouteMapsClientBeginCreateOrUpdateOptions contains the optional parameters for the RouteMapsClient.BeginCreateOrUpdate @@ -12414,70 +12414,70 @@ type RouteMapsClientListOptions struct { // RoutePropertiesFormat - Route resource. type RoutePropertiesFormat struct { // REQUIRED; The type of Azure hop the packet should be sent to. - NextHopType *RouteNextHopType `json:"nextHopType,omitempty"` + NextHopType *RouteNextHopType // The destination CIDR to which the route applies. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // A value indicating whether this route overrides overlapping BGP routes regardless of LPM. - HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` + HasBgpOverride *bool // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopIPAddress *string // READ-ONLY; The provisioning state of the route resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RouteTable - Route table resource. type RouteTable struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the route table. - Properties *RouteTablePropertiesFormat `json:"properties,omitempty"` + Properties *RouteTablePropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RouteTableListResult - Response for the ListRouteTable API service call. type RouteTableListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of route tables in a resource group. - Value []*RouteTable `json:"value,omitempty"` + Value []*RouteTable } // RouteTablePropertiesFormat - Route Table resource. type RouteTablePropertiesFormat struct { // Whether to disable the routes learned by BGP on that route table. True means disable. - DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"` + DisableBgpRoutePropagation *bool // Collection of routes contained within a route table. - Routes []*Route `json:"routes,omitempty"` + Routes []*Route // READ-ONLY; The provisioning state of the route table resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the route table. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; A collection of references to subnets. - Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"` + Subnets []*Subnet } // RouteTablesClientBeginCreateOrUpdateOptions contains the optional parameters for the RouteTablesClient.BeginCreateOrUpdate @@ -12539,37 +12539,37 @@ type RoutesClientListOptions struct { // RoutingConfiguration - Routing Configuration indicating the associated and propagated route tables for this connection. type RoutingConfiguration struct { // The resource id RouteTable associated with this RoutingConfiguration. - AssociatedRouteTable *SubResource `json:"associatedRouteTable,omitempty"` + AssociatedRouteTable *SubResource // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes. - InboundRouteMap *SubResource `json:"inboundRouteMap,omitempty"` + InboundRouteMap *SubResource // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes. - OutboundRouteMap *SubResource `json:"outboundRouteMap,omitempty"` + OutboundRouteMap *SubResource // The list of RouteTables to advertise the routes to. - PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"` + PropagatedRouteTables *PropagatedRouteTable // List of routes that control routing from VirtualHub into a virtual network connection. - VnetRoutes *VnetRoute `json:"vnetRoutes,omitempty"` + VnetRoutes *VnetRoute } // RoutingIntent - The routing intent child resource of a Virtual hub. type RoutingIntent struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the RoutingIntent resource. - Properties *RoutingIntentProperties `json:"properties,omitempty"` + Properties *RoutingIntentProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RoutingIntentClientBeginCreateOrUpdateOptions contains the optional parameters for the RoutingIntentClient.BeginCreateOrUpdate @@ -12598,55 +12598,55 @@ type RoutingIntentClientListOptions struct { // RoutingIntentProperties - The properties of a RoutingIntent resource. type RoutingIntentProperties struct { // List of routing policies. - RoutingPolicies []*RoutingPolicy `json:"routingPolicies,omitempty"` + RoutingPolicies []*RoutingPolicy // READ-ONLY; The provisioning state of the RoutingIntent resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // RoutingPolicy - The routing policy object used in a RoutingIntent resource. type RoutingPolicy struct { // REQUIRED; List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic). - Destinations []*string `json:"destinations,omitempty"` + Destinations []*string // REQUIRED; The unique name for the routing policy. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The next hop resource id on which this routing policy is applicable to. - NextHop *string `json:"nextHop,omitempty"` + NextHop *string } // Rule of type network. type Rule struct { // REQUIRED; Rule Type. - RuleType *FirewallPolicyRuleType `json:"ruleType,omitempty"` + RuleType *FirewallPolicyRuleType // Description of the rule. - Description *string `json:"description,omitempty"` + Description *string // List of destination IP addresses or Service Tags. - DestinationAddresses []*string `json:"destinationAddresses,omitempty"` + DestinationAddresses []*string // List of destination FQDNs. - DestinationFqdns []*string `json:"destinationFqdns,omitempty"` + DestinationFqdns []*string // List of destination IpGroups for this rule. - DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"` + DestinationIPGroups []*string // List of destination ports. - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Array of FirewallPolicyRuleNetworkProtocols. - IPProtocols []*FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"` + IPProtocols []*FirewallPolicyRuleNetworkProtocol // Name of the rule. - Name *string `json:"name,omitempty"` + Name *string // List of source IP addresses for this rule. - SourceAddresses []*string `json:"sourceAddresses,omitempty"` + SourceAddresses []*string // List of source IpGroups for this rule. - SourceIPGroups []*string `json:"sourceIpGroups,omitempty"` + SourceIPGroups []*string } // GetFirewallPolicyRule implements the FirewallPolicyRuleClassification interface for type Rule. @@ -12661,52 +12661,52 @@ func (r *Rule) GetFirewallPolicyRule() *FirewallPolicyRule { // SKU - The sku of this Bastion Host. type SKU struct { // The name of this Bastion Host. - Name *BastionHostSKUName `json:"name,omitempty"` + Name *BastionHostSKUName } // ScopeConnection - The Scope Connections resource type ScopeConnection struct { // The scope connection properties - Properties *ScopeConnectionProperties `json:"properties,omitempty"` + Properties *ScopeConnectionProperties // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ScopeConnectionListResult - List of scope connections. type ScopeConnectionListResult struct { // Gets the URL to get the next page of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of scope connections. - Value []*ScopeConnection `json:"value,omitempty"` + Value []*ScopeConnection } // ScopeConnectionProperties - Scope connection. type ScopeConnectionProperties struct { // A description of the scope connection. - Description *string `json:"description,omitempty"` + Description *string // Resource ID. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Tenant ID. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string // READ-ONLY; Connection State - ConnectionState *ScopeConnectionState `json:"connectionState,omitempty" azure:"ro"` + ConnectionState *ScopeConnectionState } // ScopeConnectionsClientCreateOrUpdateOptions contains the optional parameters for the ScopeConnectionsClient.CreateOrUpdate @@ -12738,43 +12738,43 @@ type ScopeConnectionsClientListOptions struct { // SecurityAdminConfiguration - Defines the security admin configuration type SecurityAdminConfiguration struct { // Indicates the properties for the network manager security admin configuration. - Properties *SecurityAdminConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *SecurityAdminConfigurationPropertiesFormat // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SecurityAdminConfigurationListResult - A list of network manager security admin configurations type SecurityAdminConfigurationListResult struct { // Gets the URL to get the next page of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Gets a page of security admin configurations - Value []*SecurityAdminConfiguration `json:"value,omitempty"` + Value []*SecurityAdminConfiguration } // SecurityAdminConfigurationPropertiesFormat - Defines the security admin configuration properties. type SecurityAdminConfigurationPropertiesFormat struct { // Enum list of network intent policy based services. - ApplyOnNetworkIntentPolicyBasedServices []*NetworkIntentPolicyBasedService `json:"applyOnNetworkIntentPolicyBasedServices,omitempty"` + ApplyOnNetworkIntentPolicyBasedServices []*NetworkIntentPolicyBasedService // A description of the security configuration. - Description *string `json:"description,omitempty"` + Description *string // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // SecurityAdminConfigurationsClientBeginDeleteOptions contains the optional parameters for the SecurityAdminConfigurationsClient.BeginDelete @@ -12813,92 +12813,92 @@ type SecurityAdminConfigurationsClientListOptions struct { // SecurityGroup - NetworkSecurityGroup resource. type SecurityGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the network security group. - Properties *SecurityGroupPropertiesFormat `json:"properties,omitempty"` + Properties *SecurityGroupPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SecurityGroupListResult - Response for ListNetworkSecurityGroups API service call. type SecurityGroupListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of NetworkSecurityGroup resources. - Value []*SecurityGroup `json:"value,omitempty"` + Value []*SecurityGroup } // SecurityGroupNetworkInterface - Network interface and all its associated security rules. type SecurityGroupNetworkInterface struct { // ID of the network interface. - ID *string `json:"id,omitempty"` + ID *string // All security rules associated with the network interface. - SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"` + SecurityRuleAssociations *SecurityRuleAssociations } // SecurityGroupPropertiesFormat - Network Security Group resource. type SecurityGroupPropertiesFormat struct { // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial // enablement will trigger re-evaluation. - FlushConnection *bool `json:"flushConnection,omitempty"` + FlushConnection *bool // A collection of security rules of the network security group. - SecurityRules []*SecurityRule `json:"securityRules,omitempty"` + SecurityRules []*SecurityRule // READ-ONLY; The default security rules of network security group. - DefaultSecurityRules []*SecurityRule `json:"defaultSecurityRules,omitempty" azure:"ro"` + DefaultSecurityRules []*SecurityRule // READ-ONLY; A collection of references to flow log resources. - FlowLogs []*FlowLog `json:"flowLogs,omitempty" azure:"ro"` + FlowLogs []*FlowLog // READ-ONLY; A collection of references to network interfaces. - NetworkInterfaces []*Interface `json:"networkInterfaces,omitempty" azure:"ro"` + NetworkInterfaces []*Interface // READ-ONLY; The provisioning state of the network security group resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the network security group resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; A collection of references to subnets. - Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"` + Subnets []*Subnet } // SecurityGroupResult - Network configuration diagnostic result corresponded provided traffic query. type SecurityGroupResult struct { // The network traffic is allowed or denied. - SecurityRuleAccessResult *SecurityRuleAccess `json:"securityRuleAccessResult,omitempty"` + SecurityRuleAccessResult *SecurityRuleAccess // READ-ONLY; List of results network security groups diagnostic. - EvaluatedNetworkSecurityGroups []*EvaluatedNetworkSecurityGroup `json:"evaluatedNetworkSecurityGroups,omitempty" azure:"ro"` + EvaluatedNetworkSecurityGroups []*EvaluatedNetworkSecurityGroup } // SecurityGroupViewParameters - Parameters that define the VM to check security groups for. type SecurityGroupViewParameters struct { // REQUIRED; ID of the target VM. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string } // SecurityGroupViewResult - The information about security rules applied to the specified VM. type SecurityGroupViewResult struct { // List of network interfaces on the specified VM. - NetworkInterfaces []*SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"` + NetworkInterfaces []*SecurityGroupNetworkInterface } // SecurityGroupsClientBeginCreateOrUpdateOptions contains the optional parameters for the SecurityGroupsClient.BeginCreateOrUpdate @@ -12938,49 +12938,49 @@ type SecurityGroupsClientUpdateTagsOptions struct { // SecurityPartnerProvider - Security Partner Provider resource. type SecurityPartnerProvider struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the Security Partner Provider. - Properties *SecurityPartnerProviderPropertiesFormat `json:"properties,omitempty"` + Properties *SecurityPartnerProviderPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SecurityPartnerProviderListResult - Response for ListSecurityPartnerProviders API service call. type SecurityPartnerProviderListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Security Partner Providers in a resource group. - Value []*SecurityPartnerProvider `json:"value,omitempty"` + Value []*SecurityPartnerProvider } // SecurityPartnerProviderPropertiesFormat - Properties of the Security Partner Provider. type SecurityPartnerProviderPropertiesFormat struct { // The security provider name. - SecurityProviderName *SecurityProviderName `json:"securityProviderName,omitempty"` + SecurityProviderName *SecurityProviderName // The virtualHub to which the Security Partner Provider belongs. - VirtualHub *SubResource `json:"virtualHub,omitempty"` + VirtualHub *SubResource // READ-ONLY; The connection status with the Security Partner Provider. - ConnectionStatus *SecurityPartnerProviderConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *SecurityPartnerProviderConnectionStatus // READ-ONLY; The provisioning state of the Security Partner Provider resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // SecurityPartnerProvidersClientBeginCreateOrUpdateOptions contains the optional parameters for the SecurityPartnerProvidersClient.BeginCreateOrUpdate @@ -13023,100 +13023,100 @@ type SecurityPartnerProvidersClientUpdateTagsOptions struct { // SecurityRule - Network security rule. type SecurityRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the security rule. - Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"` + Properties *SecurityRulePropertiesFormat // The type of the resource. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // SecurityRuleAssociations - All security rules associated with the network interface. type SecurityRuleAssociations struct { // Collection of default security rules of the network security group. - DefaultSecurityRules []*SecurityRule `json:"defaultSecurityRules,omitempty"` + DefaultSecurityRules []*SecurityRule // Collection of effective security rules. - EffectiveSecurityRules []*EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"` + EffectiveSecurityRules []*EffectiveNetworkSecurityRule // Network interface and it's custom security rules. - NetworkInterfaceAssociation *InterfaceAssociation `json:"networkInterfaceAssociation,omitempty"` + NetworkInterfaceAssociation *InterfaceAssociation // Subnet and it's custom security rules. - SubnetAssociation *SubnetAssociation `json:"subnetAssociation,omitempty"` + SubnetAssociation *SubnetAssociation } // SecurityRuleListResult - Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a // network security group. type SecurityRuleListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The security rules in a network security group. - Value []*SecurityRule `json:"value,omitempty"` + Value []*SecurityRule } // SecurityRulePropertiesFormat - Security rule resource. type SecurityRulePropertiesFormat struct { // REQUIRED; The network traffic is allowed or denied. - Access *SecurityRuleAccess `json:"access,omitempty"` + Access *SecurityRuleAccess // REQUIRED; The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. - Direction *SecurityRuleDirection `json:"direction,omitempty"` + Direction *SecurityRuleDirection // REQUIRED; Network protocol this rule applies to. - Protocol *SecurityRuleProtocol `json:"protocol,omitempty"` + Protocol *SecurityRuleProtocol // A description for this rule. Restricted to 140 chars. - Description *string `json:"description,omitempty"` + Description *string // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default // tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also // be used. - DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` + DestinationAddressPrefix *string // The destination address prefixes. CIDR or destination IP ranges. - DestinationAddressPrefixes []*string `json:"destinationAddressPrefixes,omitempty"` + DestinationAddressPrefixes []*string // The application security group specified as destination. - DestinationApplicationSecurityGroups []*ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"` + DestinationApplicationSecurityGroups []*ApplicationSecurityGroup // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. - DestinationPortRange *string `json:"destinationPortRange,omitempty"` + DestinationPortRange *string // The destination port ranges. - DestinationPortRanges []*string `json:"destinationPortRanges,omitempty"` + DestinationPortRanges []*string // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the // collection. The lower the priority number, the higher the priority of the rule. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', // 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress // rule, specifies where network traffic originates from. - SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` + SourceAddressPrefix *string // The CIDR or source IP ranges. - SourceAddressPrefixes []*string `json:"sourceAddressPrefixes,omitempty"` + SourceAddressPrefixes []*string // The application security group specified as source. - SourceApplicationSecurityGroups []*ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"` + SourceApplicationSecurityGroups []*ApplicationSecurityGroup // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. - SourcePortRange *string `json:"sourcePortRange,omitempty"` + SourcePortRange *string // The source port ranges. - SourcePortRanges []*string `json:"sourcePortRanges,omitempty"` + SourcePortRanges []*string // READ-ONLY; The provisioning state of the security rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // SecurityRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the SecurityRulesClient.BeginCreateOrUpdate @@ -13145,58 +13145,58 @@ type SecurityRulesClientListOptions struct { // SecurityRulesEvaluationResult - Network security rules evaluation result. type SecurityRulesEvaluationResult struct { // Value indicating whether destination is matched. - DestinationMatched *bool `json:"destinationMatched,omitempty"` + DestinationMatched *bool // Value indicating whether destination port is matched. - DestinationPortMatched *bool `json:"destinationPortMatched,omitempty"` + DestinationPortMatched *bool // Name of the network security rule. - Name *string `json:"name,omitempty"` + Name *string // Value indicating whether protocol is matched. - ProtocolMatched *bool `json:"protocolMatched,omitempty"` + ProtocolMatched *bool // Value indicating whether source is matched. - SourceMatched *bool `json:"sourceMatched,omitempty"` + SourceMatched *bool // Value indicating whether source port is matched. - SourcePortMatched *bool `json:"sourcePortMatched,omitempty"` + SourcePortMatched *bool } // ServiceAssociationLink resource. type ServiceAssociationLink struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Resource navigation link properties format. - Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"` + Properties *ServiceAssociationLinkPropertiesFormat // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ServiceAssociationLinkPropertiesFormat - Properties of ServiceAssociationLink. type ServiceAssociationLinkPropertiesFormat struct { // If true, the resource can be deleted. - AllowDelete *bool `json:"allowDelete,omitempty"` + AllowDelete *bool // Link to the external resource. - Link *string `json:"link,omitempty"` + Link *string // Resource type of the linked resource. - LinkedResourceType *string `json:"linkedResourceType,omitempty"` + LinkedResourceType *string // A list of locations. - Locations []*string `json:"locations,omitempty"` + Locations []*string // READ-ONLY; The provisioning state of the service association link resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ServiceAssociationLinksClientListOptions contains the optional parameters for the ServiceAssociationLinksClient.List method. @@ -13207,22 +13207,22 @@ type ServiceAssociationLinksClientListOptions struct { // ServiceAssociationLinksListResult - Response for ServiceAssociationLinks_List operation. type ServiceAssociationLinksListResult struct { // The service association links in a subnet. - Value []*ServiceAssociationLink `json:"value,omitempty"` + Value []*ServiceAssociationLink // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ServiceDelegationPropertiesFormat - Properties of a service delegation. type ServiceDelegationPropertiesFormat struct { // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string // READ-ONLY; The actions permitted to the service upon delegation. - Actions []*string `json:"actions,omitempty" azure:"ro"` + Actions []*string // READ-ONLY; The provisioning state of the service delegation resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ServiceEndpointPoliciesClientBeginCreateOrUpdateOptions contains the optional parameters for the ServiceEndpointPoliciesClient.BeginCreateOrUpdate @@ -13266,71 +13266,71 @@ type ServiceEndpointPoliciesClientUpdateTagsOptions struct { // ServiceEndpointPolicy - Service End point policy resource. type ServiceEndpointPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the service end point policy. - Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *ServiceEndpointPolicyPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Kind of service endpoint policy. This is metadata used for the Azure portal experience. - Kind *string `json:"kind,omitempty" azure:"ro"` + Kind *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ServiceEndpointPolicyDefinition - Service Endpoint policy definitions. type ServiceEndpointPolicyDefinition struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the service endpoint policy definition. - Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"` + Properties *ServiceEndpointPolicyDefinitionPropertiesFormat // The type of the resource. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // ServiceEndpointPolicyDefinitionListResult - Response for ListServiceEndpointPolicyDefinition API service call. Retrieves // all service endpoint policy definition that belongs to a service endpoint policy. type ServiceEndpointPolicyDefinitionListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The service endpoint policy definition in a service endpoint policy. - Value []*ServiceEndpointPolicyDefinition `json:"value,omitempty"` + Value []*ServiceEndpointPolicyDefinition } // ServiceEndpointPolicyDefinitionPropertiesFormat - Service Endpoint policy definition resource. type ServiceEndpointPolicyDefinitionPropertiesFormat struct { // A description for this rule. Restricted to 140 chars. - Description *string `json:"description,omitempty"` + Description *string // Service endpoint name. - Service *string `json:"service,omitempty"` + Service *string // A list of service resources. - ServiceResources []*string `json:"serviceResources,omitempty"` + ServiceResources []*string // READ-ONLY; The provisioning state of the service endpoint policy definition resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ServiceEndpointPolicyDefinitionsClientBeginCreateOrUpdateOptions contains the optional parameters for the ServiceEndpointPolicyDefinitionsClient.BeginCreateOrUpdate @@ -13362,58 +13362,58 @@ type ServiceEndpointPolicyDefinitionsClientListByResourceGroupOptions struct { // ServiceEndpointPolicyListResult - Response for ListServiceEndpointPolicies API service call. type ServiceEndpointPolicyListResult struct { // A list of ServiceEndpointPolicy resources. - Value []*ServiceEndpointPolicy `json:"value,omitempty"` + Value []*ServiceEndpointPolicy // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ServiceEndpointPolicyPropertiesFormat - Service Endpoint Policy resource. type ServiceEndpointPolicyPropertiesFormat struct { // A collection of contextual service endpoint policy. - ContextualServiceEndpointPolicies []*string `json:"contextualServiceEndpointPolicies,omitempty"` + ContextualServiceEndpointPolicies []*string // The alias indicating if the policy belongs to a service - ServiceAlias *string `json:"serviceAlias,omitempty"` + ServiceAlias *string // A collection of service endpoint policy definitions of the service endpoint policy. - ServiceEndpointPolicyDefinitions []*ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"` + ServiceEndpointPolicyDefinitions []*ServiceEndpointPolicyDefinition // READ-ONLY; The provisioning state of the service endpoint policy resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the service endpoint policy resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; A collection of references to subnets. - Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"` + Subnets []*Subnet } // ServiceEndpointPropertiesFormat - The service endpoint properties. type ServiceEndpointPropertiesFormat struct { // A list of locations. - Locations []*string `json:"locations,omitempty"` + Locations []*string // The type of the endpoint service. - Service *string `json:"service,omitempty"` + Service *string // READ-ONLY; The provisioning state of the service endpoint resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // ServiceTagInformation - The service tag information. type ServiceTagInformation struct { // READ-ONLY; The ID of service tag. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of service tag. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Properties of the service tag information. - Properties *ServiceTagInformationPropertiesFormat `json:"properties,omitempty" azure:"ro"` + Properties *ServiceTagInformationPropertiesFormat // READ-ONLY; The iteration number of service tag object for region. - ServiceTagChangeNumber *string `json:"serviceTagChangeNumber,omitempty" azure:"ro"` + ServiceTagChangeNumber *string } // ServiceTagInformationClientListOptions contains the optional parameters for the ServiceTagInformationClient.NewListPager @@ -13429,28 +13429,28 @@ type ServiceTagInformationClientListOptions struct { // tag information resources. type ServiceTagInformationListResult struct { // The list of service tag information resources. - Value []*ServiceTagInformation `json:"value,omitempty"` + Value []*ServiceTagInformation // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ServiceTagInformationPropertiesFormat - Properties of the service tag information. type ServiceTagInformationPropertiesFormat struct { // READ-ONLY; The list of IP address prefixes. - AddressPrefixes []*string `json:"addressPrefixes,omitempty" azure:"ro"` + AddressPrefixes []*string // READ-ONLY; The iteration number of service tag. - ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"` + ChangeNumber *string // READ-ONLY; The region of service tag. - Region *string `json:"region,omitempty" azure:"ro"` + Region *string // READ-ONLY; The state of the service tag. - State *string `json:"state,omitempty" azure:"ro"` + State *string // READ-ONLY; The name of system service. - SystemService *string `json:"systemService,omitempty" azure:"ro"` + SystemService *string } // ServiceTagsClientListOptions contains the optional parameters for the ServiceTagsClient.List method. @@ -13461,148 +13461,148 @@ type ServiceTagsClientListOptions struct { // ServiceTagsListResult - Response for the ListServiceTags API service call. type ServiceTagsListResult struct { // READ-ONLY; The iteration number. - ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"` + ChangeNumber *string // READ-ONLY; The name of the cloud. - Cloud *string `json:"cloud,omitempty" azure:"ro"` + Cloud *string // READ-ONLY; The ID of the cloud. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the cloud. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The URL to get next page of service tag information resources. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; The azure resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string // READ-ONLY; The list of service tag information resources. - Values []*ServiceTagInformation `json:"values,omitempty" azure:"ro"` + Values []*ServiceTagInformation } // SessionIDs - List of session IDs. type SessionIDs struct { // List of session IDs. - SessionIDs []*string `json:"sessionIds,omitempty"` + SessionIDs []*string } // SignatureOverridesFilterValuesQuery - Describes the filter values possibles for a given column type SignatureOverridesFilterValuesQuery struct { // Describes the name of the column which values will be returned - FilterName *string `json:"filterName,omitempty"` + FilterName *string } // SignatureOverridesFilterValuesResponse - Describes the list of all possible values for a specific filter value type SignatureOverridesFilterValuesResponse struct { // Describes the possible values - FilterValues []*string `json:"filterValues,omitempty"` + FilterValues []*string } // SignaturesOverrides - Contains all specific policy signatures overrides for the IDPS type SignaturesOverrides struct { // Will contain the resource id of the signature override resource - ID *string `json:"id,omitempty"` + ID *string // Contains the name of the resource (default) - Name *string `json:"name,omitempty"` + Name *string // Will contain the properties of the resource (the actual signature overrides) - Properties *SignaturesOverridesProperties `json:"properties,omitempty"` + Properties *SignaturesOverridesProperties // Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides - Type *string `json:"type,omitempty"` + Type *string } // SignaturesOverridesList - Describes an object containing an array with a single item type SignaturesOverridesList struct { // Describes a list consisting exactly one item describing the policy's signature override status - Value []*SignaturesOverrides `json:"value,omitempty"` + Value []*SignaturesOverrides } // SignaturesOverridesProperties - Will contain the properties of the resource (the actual signature overrides) type SignaturesOverridesProperties struct { // Dictionary of - Signatures map[string]*string `json:"signatures,omitempty"` + Signatures map[string]*string } type SingleQueryResult struct { // Describes what is the signature enforces - Description *string `json:"description,omitempty"` + Description *string // Describes the list of destination ports related to this signature - DestinationPorts []*string `json:"destinationPorts,omitempty"` + DestinationPorts []*string // Describes in which direction signature is being enforced: 0 - Inbound, 1 - OutBound, 2 - Bidirectional - Direction *FirewallPolicyIDPSSignatureDirection `json:"direction,omitempty"` + Direction *FirewallPolicyIDPSSignatureDirection // Describes the groups the signature belongs to - Group *string `json:"group,omitempty"` + Group *string // Describes if this override is inherited from base policy or not - InheritedFromParentPolicy *bool `json:"inheritedFromParentPolicy,omitempty"` + InheritedFromParentPolicy *bool // Describes the last updated time of the signature (provided from 3rd party vendor) - LastUpdated *string `json:"lastUpdated,omitempty"` + LastUpdated *string // The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny - Mode *FirewallPolicyIDPSSignatureMode `json:"mode,omitempty"` + Mode *FirewallPolicyIDPSSignatureMode // Describes the protocol the signatures is being enforced in - Protocol *string `json:"protocol,omitempty"` + Protocol *string // Describes the severity of signature: 1 - Low, 2 - Medium, 3 - High - Severity *FirewallPolicyIDPSSignatureSeverity `json:"severity,omitempty"` + Severity *FirewallPolicyIDPSSignatureSeverity // The ID of the signature - SignatureID *int32 `json:"signatureId,omitempty"` + SignatureID *int32 // Describes the list of source ports related to this signature - SourcePorts []*string `json:"sourcePorts,omitempty"` + SourcePorts []*string } // StaticMember Item. type StaticMember struct { // The Static Member properties - Properties *StaticMemberProperties `json:"properties,omitempty"` + Properties *StaticMemberProperties // 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; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The system metadata related to this resource. - SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` + SystemData *SystemData // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // StaticMemberListResult - Result of the request to list StaticMember. It contains a list of groups and a URL link to get // the next set of results. type StaticMemberListResult struct { // Gets the URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Gets a page of StaticMember - Value []*StaticMember `json:"value,omitempty"` + Value []*StaticMember } // StaticMemberProperties - Properties of static member. type StaticMemberProperties struct { // Resource Id. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // READ-ONLY; The provisioning state of the scope assignment resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Resource region. - Region *string `json:"region,omitempty" azure:"ro"` + Region *string } // StaticMembersClientCreateOrUpdateOptions contains the optional parameters for the StaticMembersClient.CreateOrUpdate method. @@ -13633,126 +13633,126 @@ type StaticMembersClientListOptions struct { // StaticRoute - List of all Static Routes. type StaticRoute struct { // List of all address prefixes. - AddressPrefixes []*string `json:"addressPrefixes,omitempty"` + AddressPrefixes []*string // The name of the StaticRoute that is unique within a VnetRoute. - Name *string `json:"name,omitempty"` + Name *string // The ip address of the next hop. - NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopIPAddress *string } // StaticRoutesConfig - Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection. type StaticRoutesConfig struct { // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke. - VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria `json:"vnetLocalRouteOverrideCriteria,omitempty"` + VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria // READ-ONLY; Boolean indicating whether static routes on this connection are automatically propagate to route tables which // this connection propagates to. - PropagateStaticRoutes *bool `json:"propagateStaticRoutes,omitempty" azure:"ro"` + PropagateStaticRoutes *bool } // SubResource - Reference to another subresource. type SubResource struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // Subnet in a virtual network resource. type Subnet struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the subnet. - Properties *SubnetPropertiesFormat `json:"properties,omitempty"` + Properties *SubnetPropertiesFormat // Resource type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // SubnetAssociation - Subnet and it's custom security rules. type SubnetAssociation struct { // Collection of custom security rules. - SecurityRules []*SecurityRule `json:"securityRules,omitempty"` + SecurityRules []*SecurityRule // READ-ONLY; Subnet ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // SubnetListResult - Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. type SubnetListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The subnets in a virtual network. - Value []*Subnet `json:"value,omitempty"` + Value []*Subnet } // SubnetPropertiesFormat - Properties of the subnet. type SubnetPropertiesFormat struct { // The address prefix for the subnet. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // List of address prefixes for the subnet. - AddressPrefixes []*string `json:"addressPrefixes,omitempty"` + AddressPrefixes []*string // Application gateway IP configurations of virtual network resource. - ApplicationGatewayIPConfigurations []*ApplicationGatewayIPConfiguration `json:"applicationGatewayIpConfigurations,omitempty"` + ApplicationGatewayIPConfigurations []*ApplicationGatewayIPConfiguration // An array of references to the delegations on the subnet. - Delegations []*Delegation `json:"delegations,omitempty"` + Delegations []*Delegation // Array of IpAllocation which reference this subnet. - IPAllocations []*SubResource `json:"ipAllocations,omitempty"` + IPAllocations []*SubResource // Nat gateway associated with this subnet. - NatGateway *SubResource `json:"natGateway,omitempty"` + NatGateway *SubResource // The reference to the NetworkSecurityGroup resource. - NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"` + NetworkSecurityGroup *SecurityGroup // Enable or Disable apply network policies on private end point in the subnet. - PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"` + PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies // Enable or Disable apply network policies on private link service in the subnet. - PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"` + PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies // The reference to the RouteTable resource. - RouteTable *RouteTable `json:"routeTable,omitempty"` + RouteTable *RouteTable // An array of service endpoint policies. - ServiceEndpointPolicies []*ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"` + ServiceEndpointPolicies []*ServiceEndpointPolicy // An array of service endpoints. - ServiceEndpoints []*ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` + ServiceEndpoints []*ServiceEndpointPropertiesFormat // READ-ONLY; Array of IP configuration profiles which reference this subnet. - IPConfigurationProfiles []*IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty" azure:"ro"` + IPConfigurationProfiles []*IPConfigurationProfile // READ-ONLY; An array of references to the network interface IP configurations using subnet. - IPConfigurations []*IPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"` + IPConfigurations []*IPConfiguration // READ-ONLY; An array of references to private endpoints. - PrivateEndpoints []*PrivateEndpoint `json:"privateEndpoints,omitempty" azure:"ro"` + PrivateEndpoints []*PrivateEndpoint // READ-ONLY; The provisioning state of the subnet resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; A read-only string identifying the intention of use for this subnet based on delegations and other user-defined // properties. - Purpose *string `json:"purpose,omitempty" azure:"ro"` + Purpose *string // READ-ONLY; An array of references to the external resources using subnet. - ResourceNavigationLinks []*ResourceNavigationLink `json:"resourceNavigationLinks,omitempty" azure:"ro"` + ResourceNavigationLinks []*ResourceNavigationLink // READ-ONLY; An array of references to services injecting into this subnet. - ServiceAssociationLinks []*ServiceAssociationLink `json:"serviceAssociationLinks,omitempty" azure:"ro"` + ServiceAssociationLinks []*ServiceAssociationLink } // SubnetsClientBeginCreateOrUpdateOptions contains the optional parameters for the SubnetsClient.BeginCreateOrUpdate method. @@ -13824,258 +13824,258 @@ type SubscriptionNetworkManagerConnectionsClientListOptions struct { // SwapResource to represent slot type on the specified cloud service. type SwapResource struct { // Swap resource properties - Properties *SwapResourceProperties `json:"properties,omitempty"` + Properties *SwapResourceProperties // READ-ONLY; Resource Id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SwapResourceListResult - SwapResource List with single entry to represent slot type on the specified cloud service. type SwapResourceListResult struct { - Value []*SwapResource `json:"value,omitempty"` + Value []*SwapResource } // SwapResourceProperties - Swap resource properties type SwapResourceProperties struct { // Specifies slot info on a cloud service - SlotType *SlotType `json:"slotType,omitempty"` + SlotType *SlotType } // 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 type of identity that last modified the resource. - 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 } // Topology of the specified resource group. type Topology struct { // A list of topology resources. - Resources []*TopologyResource `json:"resources,omitempty"` + Resources []*TopologyResource // READ-ONLY; The datetime when the topology was initially created for the resource group. - CreatedDateTime *time.Time `json:"createdDateTime,omitempty" azure:"ro"` + CreatedDateTime *time.Time // READ-ONLY; GUID representing the operation id. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The datetime when the topology was last modified. - LastModified *time.Time `json:"lastModified,omitempty" azure:"ro"` + LastModified *time.Time } // TopologyAssociation - Resources that have an association with the parent resource. type TopologyAssociation struct { // The association type of the child resource to the parent resource. - AssociationType *AssociationType `json:"associationType,omitempty"` + AssociationType *AssociationType // The name of the resource that is associated with the parent resource. - Name *string `json:"name,omitempty"` + Name *string // The ID of the resource that is associated with the parent resource. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string } // TopologyParameters - Parameters that define the representation of topology. type TopologyParameters struct { // The name of the target resource group to perform topology on. - TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"` + TargetResourceGroupName *string // The reference to the Subnet resource. - TargetSubnet *SubResource `json:"targetSubnet,omitempty"` + TargetSubnet *SubResource // The reference to the Virtual Network resource. - TargetVirtualNetwork *SubResource `json:"targetVirtualNetwork,omitempty"` + TargetVirtualNetwork *SubResource } // TopologyResource - The network resource topology information for the given resource group. type TopologyResource struct { // Holds the associations the resource has with other resources in the resource group. - Associations []*TopologyAssociation `json:"associations,omitempty"` + Associations []*TopologyAssociation // ID of the resource. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Name of the resource. - Name *string `json:"name,omitempty"` + Name *string } // TrafficAnalyticsConfigurationProperties - Parameters that define the configuration of traffic analytics. type TrafficAnalyticsConfigurationProperties struct { // Flag to enable/disable traffic analytics. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // The interval in minutes which would decide how frequently TA service should do flow analytics. - TrafficAnalyticsInterval *int32 `json:"trafficAnalyticsInterval,omitempty"` + TrafficAnalyticsInterval *int32 // The resource guid of the attached workspace. - WorkspaceID *string `json:"workspaceId,omitempty"` + WorkspaceID *string // The location of the attached workspace. - WorkspaceRegion *string `json:"workspaceRegion,omitempty"` + WorkspaceRegion *string // Resource Id of the attached workspace. - WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` + WorkspaceResourceID *string } // TrafficAnalyticsProperties - Parameters that define the configuration of traffic analytics. type TrafficAnalyticsProperties struct { // Parameters that define the configuration of traffic analytics. - NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"` + NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties } // TrafficSelectorPolicy - An traffic selector policy for a virtual network gateway connection. type TrafficSelectorPolicy struct { // REQUIRED; A collection of local address spaces in CIDR format. - LocalAddressRanges []*string `json:"localAddressRanges,omitempty"` + LocalAddressRanges []*string // REQUIRED; A collection of remote address spaces in CIDR format. - RemoteAddressRanges []*string `json:"remoteAddressRanges,omitempty"` + RemoteAddressRanges []*string } // TroubleshootingDetails - Information gained from troubleshooting of specified resource. type TroubleshootingDetails struct { // Details on troubleshooting results. - Detail *string `json:"detail,omitempty"` + Detail *string // The id of the get troubleshoot operation. - ID *string `json:"id,omitempty"` + ID *string // Reason type of failure. - ReasonType *string `json:"reasonType,omitempty"` + ReasonType *string // List of recommended actions. - RecommendedActions []*TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"` + RecommendedActions []*TroubleshootingRecommendedActions // A summary of troubleshooting. - Summary *string `json:"summary,omitempty"` + Summary *string } // TroubleshootingParameters - Parameters that define the resource to troubleshoot. type TroubleshootingParameters struct { // REQUIRED; Properties of the troubleshooting resource. - Properties *TroubleshootingProperties `json:"properties,omitempty"` + Properties *TroubleshootingProperties // REQUIRED; The target resource to troubleshoot. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string } // TroubleshootingProperties - Storage location provided for troubleshoot. type TroubleshootingProperties struct { // REQUIRED; The ID for the storage account to save the troubleshoot result. - StorageID *string `json:"storageId,omitempty"` + StorageID *string // REQUIRED; The path to the blob to save the troubleshoot result in. - StoragePath *string `json:"storagePath,omitempty"` + StoragePath *string } // TroubleshootingRecommendedActions - Recommended actions based on discovered issues. type TroubleshootingRecommendedActions struct { // ID of the recommended action. - ActionID *string `json:"actionId,omitempty"` + ActionID *string // Description of recommended actions. - ActionText *string `json:"actionText,omitempty"` + ActionText *string // The uri linking to a documentation for the recommended troubleshooting actions. - ActionURI *string `json:"actionUri,omitempty"` + ActionURI *string // The information from the URI for the recommended troubleshooting actions. - ActionURIText *string `json:"actionUriText,omitempty"` + ActionURIText *string } // TroubleshootingResult - Troubleshooting information gained from specified resource. type TroubleshootingResult struct { // The result code of the troubleshooting. - Code *string `json:"code,omitempty"` + Code *string // The end time of the troubleshooting. - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // Information from troubleshooting. - Results []*TroubleshootingDetails `json:"results,omitempty"` + Results []*TroubleshootingDetails // The start time of the troubleshooting. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time } // TunnelConnectionHealth - VirtualNetworkGatewayConnection properties. type TunnelConnectionHealth struct { // READ-ONLY; Virtual Network Gateway connection status. - ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *VirtualNetworkGatewayConnectionStatus // READ-ONLY; The Egress Bytes Transferred in this connection. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; The Ingress Bytes Transferred in this connection. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The time at which connection was established in Utc format. - LastConnectionEstablishedUTCTime *string `json:"lastConnectionEstablishedUtcTime,omitempty" azure:"ro"` + LastConnectionEstablishedUTCTime *string // READ-ONLY; Tunnel name. - Tunnel *string `json:"tunnel,omitempty" azure:"ro"` + Tunnel *string } // UnprepareNetworkPoliciesRequest - Details of UnprepareNetworkPolicies for Subnet. type UnprepareNetworkPoliciesRequest struct { // The name of the service for which subnet is being unprepared for. - ServiceName *string `json:"serviceName,omitempty"` + ServiceName *string } // Usage - The network resource usage. type Usage struct { // REQUIRED; The current value of the usage. - CurrentValue *int64 `json:"currentValue,omitempty"` + CurrentValue *int64 // REQUIRED; The limit of usage. - Limit *int64 `json:"limit,omitempty"` + Limit *int64 // REQUIRED; The name of the type of usage. - Name *UsageName `json:"name,omitempty"` + Name *UsageName // REQUIRED; An enum describing the unit of measurement. - Unit *UsageUnit `json:"unit,omitempty"` + Unit *UsageUnit // READ-ONLY; Resource identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string } // UsageName - The usage names. type UsageName struct { // A localized string describing the resource name. - LocalizedValue *string `json:"localizedValue,omitempty"` + LocalizedValue *string // A string describing the resource name. - Value *string `json:"value,omitempty"` + Value *string } // UsagesClientListOptions contains the optional parameters for the UsagesClient.NewListPager method. @@ -14086,318 +14086,318 @@ type UsagesClientListOptions struct { // UsagesListResult - The list usages operation response. type UsagesListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list network resource usages. - Value []*Usage `json:"value,omitempty"` + Value []*Usage } // VM - Describes a Virtual Machine. type VM struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNClientConfiguration - VpnClientConfiguration for P2S client. type VPNClientConfiguration struct { // The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. - AADAudience *string `json:"aadAudience,omitempty"` + AADAudience *string // The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. - AADIssuer *string `json:"aadIssuer,omitempty"` + AADIssuer *string // The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. - AADTenant *string `json:"aadTenant,omitempty"` + AADTenant *string // The radius server address property of the VirtualNetworkGateway resource for vpn client connection. - RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` + RadiusServerAddress *string // The radius secret property of the VirtualNetworkGateway resource for vpn client connection. - RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` + RadiusServerSecret *string // The radiusServers property for multiple radius server configuration. - RadiusServers []*RadiusServer `json:"radiusServers,omitempty"` + RadiusServers []*RadiusServer // VPN authentication types for the virtual network gateway.. - VPNAuthenticationTypes []*VPNAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` + VPNAuthenticationTypes []*VPNAuthenticationType // The reference to the address space resource which represents Address space for P2S VpnClient. - VPNClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` + VPNClientAddressPool *AddressSpace // VpnClientIpsecPolicies for virtual network gateway P2S client. - VPNClientIPSecPolicies []*IPSecPolicy `json:"vpnClientIpsecPolicies,omitempty"` + VPNClientIPSecPolicies []*IPSecPolicy // VpnClientProtocols for Virtual network gateway. - VPNClientProtocols []*VPNClientProtocol `json:"vpnClientProtocols,omitempty"` + VPNClientProtocols []*VPNClientProtocol // VpnClientRevokedCertificate for Virtual network gateway. - VPNClientRevokedCertificates []*VPNClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` + VPNClientRevokedCertificates []*VPNClientRevokedCertificate // VpnClientRootCertificate for virtual network gateway. - VPNClientRootCertificates []*VPNClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` + VPNClientRootCertificates []*VPNClientRootCertificate // per ip address pool connection policy for virtual network gateway P2S client. - VngClientConnectionConfigurations []*VngClientConnectionConfiguration `json:"vngClientConnectionConfigurations,omitempty"` + VngClientConnectionConfigurations []*VngClientConnectionConfiguration } // VPNClientConnectionHealth - VpnClientConnectionHealth properties. type VPNClientConnectionHealth struct { // List of allocated ip addresses to the connected p2s vpn clients. - AllocatedIPAddresses []*string `json:"allocatedIpAddresses,omitempty"` + AllocatedIPAddresses []*string // The total of p2s vpn clients connected at this time to this P2SVpnGateway. - VPNClientConnectionsCount *int32 `json:"vpnClientConnectionsCount,omitempty"` + VPNClientConnectionsCount *int32 // READ-ONLY; Total of the Egress Bytes Transferred in this connection. - TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty" azure:"ro"` + TotalEgressBytesTransferred *int64 // READ-ONLY; Total of the Ingress Bytes Transferred in this P2S Vpn connection. - TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty" azure:"ro"` + TotalIngressBytesTransferred *int64 } // VPNClientConnectionHealthDetail - VPN client connection health detail. type VPNClientConnectionHealthDetail struct { // READ-ONLY; The egress bytes per second. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; The egress packets per second. - EgressPacketsTransferred *int64 `json:"egressPacketsTransferred,omitempty" azure:"ro"` + EgressPacketsTransferred *int64 // READ-ONLY; The ingress bytes per second. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The ingress packets per second. - IngressPacketsTransferred *int64 `json:"ingressPacketsTransferred,omitempty" azure:"ro"` + IngressPacketsTransferred *int64 // READ-ONLY; The max band width. - MaxBandwidth *int64 `json:"maxBandwidth,omitempty" azure:"ro"` + MaxBandwidth *int64 // READ-ONLY; The max packets transferred per second. - MaxPacketsPerSecond *int64 `json:"maxPacketsPerSecond,omitempty" azure:"ro"` + MaxPacketsPerSecond *int64 // READ-ONLY; The assigned private Ip of a connected vpn client. - PrivateIPAddress *string `json:"privateIpAddress,omitempty" azure:"ro"` + PrivateIPAddress *string // READ-ONLY; The public Ip of a connected vpn client. - PublicIPAddress *string `json:"publicIpAddress,omitempty" azure:"ro"` + PublicIPAddress *string // READ-ONLY; The duration time of a connected vpn client. - VPNConnectionDuration *int64 `json:"vpnConnectionDuration,omitempty" azure:"ro"` + VPNConnectionDuration *int64 // READ-ONLY; The vpn client Id. - VPNConnectionID *string `json:"vpnConnectionId,omitempty" azure:"ro"` + VPNConnectionID *string // READ-ONLY; The start time of a connected vpn client. - VPNConnectionTime *string `json:"vpnConnectionTime,omitempty" azure:"ro"` + VPNConnectionTime *string // READ-ONLY; The user name of a connected vpn client. - VPNUserName *string `json:"vpnUserName,omitempty" azure:"ro"` + VPNUserName *string } // VPNClientConnectionHealthDetailListResult - List of virtual network gateway vpn client connection health. type VPNClientConnectionHealthDetailListResult struct { // List of vpn client connection health. - Value []*VPNClientConnectionHealthDetail `json:"value,omitempty"` + Value []*VPNClientConnectionHealthDetail } // VPNClientIPsecParameters - An IPSec parameters for a virtual network gateway P2S connection. type VPNClientIPsecParameters struct { // REQUIRED; The DH Group used in IKE Phase 1 for initial SA. - DhGroup *DhGroup `json:"dhGroup,omitempty"` + DhGroup *DhGroup // REQUIRED; The IPSec encryption algorithm (IKE phase 1). - IPSecEncryption *IPSecEncryption `json:"ipsecEncryption,omitempty"` + IPSecEncryption *IPSecEncryption // REQUIRED; The IPSec integrity algorithm (IKE phase 1). - IPSecIntegrity *IPSecIntegrity `json:"ipsecIntegrity,omitempty"` + IPSecIntegrity *IPSecIntegrity // REQUIRED; The IKE encryption algorithm (IKE phase 2). - IkeEncryption *IkeEncryption `json:"ikeEncryption,omitempty"` + IkeEncryption *IkeEncryption // REQUIRED; The IKE integrity algorithm (IKE phase 2). - IkeIntegrity *IkeIntegrity `json:"ikeIntegrity,omitempty"` + IkeIntegrity *IkeIntegrity // REQUIRED; The Pfs Group used in IKE Phase 2 for new child SA. - PfsGroup *PfsGroup `json:"pfsGroup,omitempty"` + PfsGroup *PfsGroup // REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client.. - SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"` + SaDataSizeKilobytes *int32 // REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client. - SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"` + SaLifeTimeSeconds *int32 } // VPNClientParameters - Vpn Client Parameters for package generation. type VPNClientParameters struct { // VPN client authentication method. - AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"` + AuthenticationMethod *AuthenticationMethod // A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external // radius based authentication with EAPTLS. - ClientRootCertificates []*string `json:"clientRootCertificates,omitempty"` + ClientRootCertificates []*string // VPN client Processor Architecture. - ProcessorArchitecture *ProcessorArchitecture `json:"processorArchitecture,omitempty"` + ProcessorArchitecture *ProcessorArchitecture // The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only // if external radius authentication has been configured with EAPTLS // authentication. - RadiusServerAuthCertificate *string `json:"radiusServerAuthCertificate,omitempty"` + RadiusServerAuthCertificate *string } // VPNClientRevokedCertificate - VPN client revoked certificate of virtual network gateway. type VPNClientRevokedCertificate struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the vpn client revoked certificate. - Properties *VPNClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *VPNClientRevokedCertificatePropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VPNClientRevokedCertificatePropertiesFormat - Properties of the revoked VPN client certificate of virtual network gateway. type VPNClientRevokedCertificatePropertiesFormat struct { // The revoked VPN client certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` + Thumbprint *string // READ-ONLY; The provisioning state of the VPN client revoked certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNClientRootCertificate - VPN client root certificate of virtual network gateway. type VPNClientRootCertificate struct { // REQUIRED; Properties of the vpn client root certificate. - Properties *VPNClientRootCertificatePropertiesFormat `json:"properties,omitempty"` + Properties *VPNClientRootCertificatePropertiesFormat // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VPNClientRootCertificatePropertiesFormat - Properties of SSL certificates of application gateway. type VPNClientRootCertificatePropertiesFormat struct { // REQUIRED; The certificate public data. - PublicCertData *string `json:"publicCertData,omitempty"` + PublicCertData *string // READ-ONLY; The provisioning state of the VPN client root certificate resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNConnection - VpnConnection Resource. type VPNConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the VPN connection. - Properties *VPNConnectionProperties `json:"properties,omitempty"` + Properties *VPNConnectionProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VPNConnectionPacketCaptureStartParameters - Vpn Connection packet capture parameters supplied to start packet capture on // gateway connection. type VPNConnectionPacketCaptureStartParameters struct { // Start Packet capture parameters on vpn connection. - FilterData *string `json:"filterData,omitempty"` + FilterData *string // List of site link connection names. - LinkConnectionNames []*string `json:"linkConnectionNames,omitempty"` + LinkConnectionNames []*string } // VPNConnectionPacketCaptureStopParameters - Vpn Connection packet capture parameters supplied to stop packet capture on // gateway connection. type VPNConnectionPacketCaptureStopParameters struct { // List of site link connection names. - LinkConnectionNames []*string `json:"linkConnectionNames,omitempty"` + LinkConnectionNames []*string // SAS url for packet capture on vpn connection. - SasURL *string `json:"sasUrl,omitempty"` + SasURL *string } // VPNConnectionProperties - Parameters for VpnConnection. type VPNConnectionProperties struct { // Expected bandwidth in MBPS. - ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"` + ConnectionBandwidth *int32 // DPD timeout in seconds for vpn connection. - DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"` + DpdTimeoutSeconds *int32 // EnableBgp flag. - EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgp *bool // Enable internet security. - EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` + EnableInternetSecurity *bool // EnableBgp flag. - EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` + EnableRateLimiting *bool // The IPSec Policies to be considered by this connection. - IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"` + IPSecPolicies []*IPSecPolicy // Id of the connected vpn site. - RemoteVPNSite *SubResource `json:"remoteVpnSite,omitempty"` + RemoteVPNSite *SubResource // The Routing Configuration indicating the associated and propagated route tables on this connection. - RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` + RoutingConfiguration *RoutingConfiguration // Routing weight for vpn connection. - RoutingWeight *int32 `json:"routingWeight,omitempty"` + RoutingWeight *int32 // SharedKey for the vpn connection. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // The Traffic Selector Policies to be considered by this connection. - TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` + TrafficSelectorPolicies []*TrafficSelectorPolicy // Use local azure ip to initiate connection. - UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UseLocalAzureIPAddress *bool // Enable policy-based traffic selectors. - UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + UsePolicyBasedTrafficSelectors *bool // Connection protocol used for this connection. - VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` + VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol // List of all vpn site link connections to the gateway. - VPNLinkConnections []*VPNSiteLinkConnection `json:"vpnLinkConnections,omitempty"` + VPNLinkConnections []*VPNSiteLinkConnection // READ-ONLY; The connection status. - ConnectionStatus *VPNConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *VPNConnectionStatus // READ-ONLY; Egress bytes transferred. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; Ingress bytes transferred. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The provisioning state of the VPN connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the VPNConnectionsClient.BeginCreateOrUpdate @@ -14445,136 +14445,136 @@ type VPNConnectionsClientListByVPNGatewayOptions struct { // VPNDeviceScriptParameters - Vpn device configuration script generation parameters. type VPNDeviceScriptParameters struct { // The device family for the vpn device. - DeviceFamily *string `json:"deviceFamily,omitempty"` + DeviceFamily *string // The firmware version for the vpn device. - FirmwareVersion *string `json:"firmwareVersion,omitempty"` + FirmwareVersion *string // The vendor for the vpn device. - Vendor *string `json:"vendor,omitempty"` + Vendor *string } // VPNGateway - VpnGateway Resource. type VPNGateway struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the VPN gateway. - Properties *VPNGatewayProperties `json:"properties,omitempty"` + Properties *VPNGatewayProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNGatewayIPConfiguration - IP Configuration of a VPN Gateway Resource. type VPNGatewayIPConfiguration struct { // The identifier of the IP configuration for a VPN Gateway. - ID *string `json:"id,omitempty"` + ID *string // The private IP address of this IP configuration. - PrivateIPAddress *string `json:"privateIpAddress,omitempty"` + PrivateIPAddress *string // The public IP address of this IP configuration. - PublicIPAddress *string `json:"publicIpAddress,omitempty"` + PublicIPAddress *string } // VPNGatewayNatRule - VpnGatewayNatRule Resource. type VPNGatewayNatRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the VpnGateway NAT rule. - Properties *VPNGatewayNatRuleProperties `json:"properties,omitempty"` + Properties *VPNGatewayNatRuleProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNGatewayNatRuleProperties - Parameters for VpnGatewayNatRule. type VPNGatewayNatRuleProperties struct { // The private IP address external mapping for NAT. - ExternalMappings []*VPNNatRuleMapping `json:"externalMappings,omitempty"` + ExternalMappings []*VPNNatRuleMapping // The IP Configuration ID this NAT rule applies to. - IPConfigurationID *string `json:"ipConfigurationId,omitempty"` + IPConfigurationID *string // The private IP address internal mapping for NAT. - InternalMappings []*VPNNatRuleMapping `json:"internalMappings,omitempty"` + InternalMappings []*VPNNatRuleMapping // The Source NAT direction of a VPN NAT. - Mode *VPNNatRuleMode `json:"mode,omitempty"` + Mode *VPNNatRuleMode // The type of NAT rule for VPN NAT. - Type *VPNNatRuleType `json:"type,omitempty"` + Type *VPNNatRuleType // READ-ONLY; List of egress VpnSiteLinkConnections. - EgressVPNSiteLinkConnections []*SubResource `json:"egressVpnSiteLinkConnections,omitempty" azure:"ro"` + EgressVPNSiteLinkConnections []*SubResource // READ-ONLY; List of ingress VpnSiteLinkConnections. - IngressVPNSiteLinkConnections []*SubResource `json:"ingressVpnSiteLinkConnections,omitempty" azure:"ro"` + IngressVPNSiteLinkConnections []*SubResource // READ-ONLY; The provisioning state of the NAT Rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNGatewayPacketCaptureStartParameters - Start packet capture parameters. type VPNGatewayPacketCaptureStartParameters struct { // Start Packet capture parameters on vpn gateway. - FilterData *string `json:"filterData,omitempty"` + FilterData *string } // VPNGatewayPacketCaptureStopParameters - Stop packet capture parameters. type VPNGatewayPacketCaptureStopParameters struct { // SAS url for packet capture on vpn gateway. - SasURL *string `json:"sasUrl,omitempty"` + SasURL *string } // VPNGatewayProperties - Parameters for VpnGateway. type VPNGatewayProperties struct { // Local network gateway's BGP speaker settings. - BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + BgpSettings *BgpSettings // List of all vpn connections to the gateway. - Connections []*VPNConnection `json:"connections,omitempty"` + Connections []*VPNConnection // Enable BGP routes translation for NAT on this VpnGateway. - EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` + EnableBgpRouteTranslationForNat *bool // Enable Routing Preference property for the Public IP Interface of the VpnGateway. - IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` + IsRoutingPreferenceInternet *bool // List of all the nat Rules associated with the gateway. - NatRules []*VPNGatewayNatRule `json:"natRules,omitempty"` + NatRules []*VPNGatewayNatRule // The scale unit for this vpn gateway. - VPNGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"` + VPNGatewayScaleUnit *int32 // The VirtualHub to which the gateway belongs. - VirtualHub *SubResource `json:"virtualHub,omitempty"` + VirtualHub *SubResource // READ-ONLY; List of all IPs configured on the gateway. - IPConfigurations []*VPNGatewayIPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"` + IPConfigurations []*VPNGatewayIPConfiguration // READ-ONLY; The provisioning state of the VPN gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the VPNGatewaysClient.BeginCreateOrUpdate @@ -14641,10 +14641,10 @@ type VPNGatewaysClientListOptions struct { // VPNLinkBgpSettings - BGP settings details for a link. type VPNLinkBgpSettings struct { // The BGP speaker's ASN. - Asn *int64 `json:"asn,omitempty"` + Asn *int64 // The BGP peering address and BGP identifier of this BGP speaker. - BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"` + BgpPeeringAddress *string } // VPNLinkConnectionsClientBeginGetIkeSasOptions contains the optional parameters for the VPNLinkConnectionsClient.BeginGetIkeSas @@ -14670,197 +14670,197 @@ type VPNLinkConnectionsClientListByVPNConnectionOptions struct { // VPNLinkProviderProperties - List of properties of a link provider. type VPNLinkProviderProperties struct { // Name of the link provider. - LinkProviderName *string `json:"linkProviderName,omitempty"` + LinkProviderName *string // Link speed. - LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"` + LinkSpeedInMbps *int32 } // VPNNatRuleMapping - Vpn NatRule mapping. type VPNNatRuleMapping struct { // Address space for Vpn NatRule mapping. - AddressSpace *string `json:"addressSpace,omitempty"` + AddressSpace *string // Port range for Vpn NatRule mapping. - PortRange *string `json:"portRange,omitempty"` + PortRange *string } // VPNPacketCaptureStartParameters - Start packet capture parameters on virtual network gateway. type VPNPacketCaptureStartParameters struct { // Start Packet capture parameters. - FilterData *string `json:"filterData,omitempty"` + FilterData *string } // VPNPacketCaptureStopParameters - Stop packet capture parameters. type VPNPacketCaptureStopParameters struct { // SAS url for packet capture on virtual network gateway. - SasURL *string `json:"sasUrl,omitempty"` + SasURL *string } // VPNProfileResponse - Vpn Profile Response for package generation. type VPNProfileResponse struct { // URL to the VPN profile. - ProfileURL *string `json:"profileUrl,omitempty"` + ProfileURL *string } // VPNServerConfigRadiusClientRootCertificate - Properties of the Radius client root certificate of VpnServerConfiguration. type VPNServerConfigRadiusClientRootCertificate struct { // The certificate name. - Name *string `json:"name,omitempty"` + Name *string // The Radius client root certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` + Thumbprint *string } // VPNServerConfigRadiusServerRootCertificate - Properties of Radius Server root certificate of VpnServerConfiguration. type VPNServerConfigRadiusServerRootCertificate struct { // The certificate name. - Name *string `json:"name,omitempty"` + Name *string // The certificate public data. - PublicCertData *string `json:"publicCertData,omitempty"` + PublicCertData *string } // VPNServerConfigVPNClientRevokedCertificate - Properties of the revoked VPN client certificate of VpnServerConfiguration. type VPNServerConfigVPNClientRevokedCertificate struct { // The certificate name. - Name *string `json:"name,omitempty"` + Name *string // The revoked VPN client certificate thumbprint. - Thumbprint *string `json:"thumbprint,omitempty"` + Thumbprint *string } // VPNServerConfigVPNClientRootCertificate - Properties of VPN client root certificate of VpnServerConfiguration. type VPNServerConfigVPNClientRootCertificate struct { // The certificate name. - Name *string `json:"name,omitempty"` + Name *string // The certificate public data. - PublicCertData *string `json:"publicCertData,omitempty"` + PublicCertData *string } // VPNServerConfiguration - VpnServerConfiguration Resource. type VPNServerConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the P2SVpnServer configuration. - Properties *VPNServerConfigurationProperties `json:"properties,omitempty"` + Properties *VPNServerConfigurationProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNServerConfigurationPolicyGroup - VpnServerConfigurationPolicyGroup Resource. type VPNServerConfigurationPolicyGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the VpnServerConfigurationPolicyGroup. - Properties *VPNServerConfigurationPolicyGroupProperties `json:"properties,omitempty"` + Properties *VPNServerConfigurationPolicyGroupProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNServerConfigurationPolicyGroupMember - VpnServerConfiguration PolicyGroup member type VPNServerConfigurationPolicyGroupMember struct { // The Vpn Policy member attribute type. - AttributeType *VPNPolicyMemberAttributeType `json:"attributeType,omitempty"` + AttributeType *VPNPolicyMemberAttributeType // The value of Attribute used for this VpnServerConfigurationPolicyGroupMember. - AttributeValue *string `json:"attributeValue,omitempty"` + AttributeValue *string // Name of the VpnServerConfigurationPolicyGroupMember. - Name *string `json:"name,omitempty"` + Name *string } // VPNServerConfigurationPolicyGroupProperties - Parameters for VpnServerConfigurationPolicyGroup. type VPNServerConfigurationPolicyGroupProperties struct { // Shows if this is a Default VpnServerConfigurationPolicyGroup or not. - IsDefault *bool `json:"isDefault,omitempty"` + IsDefault *bool // Multiple PolicyMembers for VpnServerConfigurationPolicyGroup. - PolicyMembers []*VPNServerConfigurationPolicyGroupMember `json:"policyMembers,omitempty"` + PolicyMembers []*VPNServerConfigurationPolicyGroupMember // Priority for VpnServerConfigurationPolicyGroup. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // READ-ONLY; List of references to P2SConnectionConfigurations. - P2SConnectionConfigurations []*SubResource `json:"p2SConnectionConfigurations,omitempty" azure:"ro"` + P2SConnectionConfigurations []*SubResource // READ-ONLY; The provisioning state of the VpnServerConfigurationPolicyGroup resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNServerConfigurationProperties - Parameters for VpnServerConfiguration. type VPNServerConfigurationProperties struct { // The set of aad vpn authentication parameters. - AADAuthenticationParameters *AADAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"` + AADAuthenticationParameters *AADAuthenticationParameters // List of all VpnServerConfigurationPolicyGroups. - ConfigurationPolicyGroups []*VPNServerConfigurationPolicyGroup `json:"configurationPolicyGroups,omitempty"` + ConfigurationPolicyGroups []*VPNServerConfigurationPolicyGroup // The name of the VpnServerConfiguration that is unique within a resource group. - Name *string `json:"name,omitempty"` + Name *string // Radius client root certificate of VpnServerConfiguration. - RadiusClientRootCertificates []*VPNServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"` + RadiusClientRootCertificates []*VPNServerConfigRadiusClientRootCertificate // The radius server address property of the VpnServerConfiguration resource for point to site client connection. - RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` + RadiusServerAddress *string // Radius Server root certificate of VpnServerConfiguration. - RadiusServerRootCertificates []*VPNServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"` + RadiusServerRootCertificates []*VPNServerConfigRadiusServerRootCertificate // The radius secret property of the VpnServerConfiguration resource for point to site client connection. - RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` + RadiusServerSecret *string // Multiple Radius Server configuration for VpnServerConfiguration. - RadiusServers []*RadiusServer `json:"radiusServers,omitempty"` + RadiusServers []*RadiusServer // VPN authentication types for the VpnServerConfiguration. - VPNAuthenticationTypes []*VPNAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` + VPNAuthenticationTypes []*VPNAuthenticationType // VpnClientIpsecPolicies for VpnServerConfiguration. - VPNClientIPSecPolicies []*IPSecPolicy `json:"vpnClientIpsecPolicies,omitempty"` + VPNClientIPSecPolicies []*IPSecPolicy // VPN client revoked certificate of VpnServerConfiguration. - VPNClientRevokedCertificates []*VPNServerConfigVPNClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` + VPNClientRevokedCertificates []*VPNServerConfigVPNClientRevokedCertificate // VPN client root certificate of VpnServerConfiguration. - VPNClientRootCertificates []*VPNServerConfigVPNClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` + VPNClientRootCertificates []*VPNServerConfigVPNClientRootCertificate // VPN protocols for the VpnServerConfiguration. - VPNProtocols []*VPNGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"` + VPNProtocols []*VPNGatewayTunnelingProtocol // 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; List of references to P2SVpnGateways. - P2SVPNGateways []*P2SVPNGateway `json:"p2SVpnGateways,omitempty" azure:"ro"` + P2SVPNGateways []*P2SVPNGateway // READ-ONLY; The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', // and 'Failed'. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // VPNServerConfigurationsAssociatedWithVirtualWanClientBeginListOptions contains the optional parameters for the VPNServerConfigurationsAssociatedWithVirtualWanClient.BeginList @@ -14910,130 +14910,130 @@ type VPNServerConfigurationsClientUpdateTagsOptions struct { // VPNServerConfigurationsResponse - VpnServerConfigurations list associated with VirtualWan Response. type VPNServerConfigurationsResponse struct { // List of VpnServerConfigurations associated with VirtualWan. - VPNServerConfigurationResourceIDs []*string `json:"vpnServerConfigurationResourceIds,omitempty"` + VPNServerConfigurationResourceIDs []*string } // VPNSite - VpnSite Resource. type VPNSite struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the VPN site. - Properties *VPNSiteProperties `json:"properties,omitempty"` + Properties *VPNSiteProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNSiteID - VpnSite Resource. type VPNSiteID struct { // READ-ONLY; The resource-uri of the vpn-site for which config is to be fetched. - VPNSite *string `json:"vpnSite,omitempty" azure:"ro"` + VPNSite *string } // VPNSiteLink - VpnSiteLink Resource. type VPNSiteLink struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the VPN site link. - Properties *VPNSiteLinkProperties `json:"properties,omitempty"` + Properties *VPNSiteLinkProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNSiteLinkConnection - VpnSiteLinkConnection Resource. type VPNSiteLinkConnection struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the VPN site link connection. - Properties *VPNSiteLinkConnectionProperties `json:"properties,omitempty"` + Properties *VPNSiteLinkConnectionProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VPNSiteLinkConnectionProperties - Parameters for VpnConnection. type VPNSiteLinkConnectionProperties struct { // Expected bandwidth in MBPS. - ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"` + ConnectionBandwidth *int32 // List of egress NatRules. - EgressNatRules []*SubResource `json:"egressNatRules,omitempty"` + EgressNatRules []*SubResource // EnableBgp flag. - EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgp *bool // EnableBgp flag. - EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"` + EnableRateLimiting *bool // The IPSec Policies to be considered by this connection. - IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"` + IPSecPolicies []*IPSecPolicy // List of ingress NatRules. - IngressNatRules []*SubResource `json:"ingressNatRules,omitempty"` + IngressNatRules []*SubResource // Routing weight for vpn connection. - RoutingWeight *int32 `json:"routingWeight,omitempty"` + RoutingWeight *int32 // SharedKey for the vpn connection. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // Use local azure ip to initiate connection. - UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UseLocalAzureIPAddress *bool // Enable policy-based traffic selectors. - UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + UsePolicyBasedTrafficSelectors *bool // Connection protocol used for this connection. - VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"` + VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol // vpnGatewayCustomBgpAddresses used by this connection. - VPNGatewayCustomBgpAddresses []*GatewayCustomBgpIPAddressIPConfiguration `json:"vpnGatewayCustomBgpAddresses,omitempty"` + VPNGatewayCustomBgpAddresses []*GatewayCustomBgpIPAddressIPConfiguration // Vpn link connection mode. - VPNLinkConnectionMode *VPNLinkConnectionMode `json:"vpnLinkConnectionMode,omitempty"` + VPNLinkConnectionMode *VPNLinkConnectionMode // Id of the connected vpn site link. - VPNSiteLink *SubResource `json:"vpnSiteLink,omitempty"` + VPNSiteLink *SubResource // READ-ONLY; The connection status. - ConnectionStatus *VPNConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *VPNConnectionStatus // READ-ONLY; Egress bytes transferred. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; Ingress bytes transferred. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The provisioning state of the VPN site link connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNSiteLinkConnectionsClientGetOptions contains the optional parameters for the VPNSiteLinkConnectionsClient.Get method. @@ -15044,19 +15044,19 @@ type VPNSiteLinkConnectionsClientGetOptions struct { // VPNSiteLinkProperties - Parameters for VpnSite. type VPNSiteLinkProperties struct { // The set of bgp properties. - BgpProperties *VPNLinkBgpSettings `json:"bgpProperties,omitempty"` + BgpProperties *VPNLinkBgpSettings // FQDN of vpn-site-link. - Fqdn *string `json:"fqdn,omitempty"` + Fqdn *string // The ip-address for the vpn-site-link. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // The link provider properties. - LinkProperties *VPNLinkProviderProperties `json:"linkProperties,omitempty"` + LinkProperties *VPNLinkProviderProperties // READ-ONLY; The provisioning state of the VPN site link resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNSiteLinksClientGetOptions contains the optional parameters for the VPNSiteLinksClient.Get method. @@ -15073,34 +15073,34 @@ type VPNSiteLinksClientListByVPNSiteOptions struct { // VPNSiteProperties - Parameters for VpnSite. type VPNSiteProperties struct { // The AddressSpace that contains an array of IP address ranges. - AddressSpace *AddressSpace `json:"addressSpace,omitempty"` + AddressSpace *AddressSpace // The set of bgp properties. - BgpProperties *BgpSettings `json:"bgpProperties,omitempty"` + BgpProperties *BgpSettings // The device properties. - DeviceProperties *DeviceProperties `json:"deviceProperties,omitempty"` + DeviceProperties *DeviceProperties // The ip-address for the vpn-site. - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // IsSecuritySite flag. - IsSecuritySite *bool `json:"isSecuritySite,omitempty"` + IsSecuritySite *bool // Office365 Policy. - O365Policy *O365PolicyProperties `json:"o365Policy,omitempty"` + O365Policy *O365PolicyProperties // The key for vpn-site that can be used for connections. - SiteKey *string `json:"siteKey,omitempty"` + SiteKey *string // List of all vpn site links. - VPNSiteLinks []*VPNSiteLink `json:"vpnSiteLinks,omitempty"` + VPNSiteLinks []*VPNSiteLink // The VirtualWAN to which the vpnSite belongs. - VirtualWan *SubResource `json:"virtualWan,omitempty"` + VirtualWan *SubResource // READ-ONLY; The provisioning state of the VPN site resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VPNSitesClientBeginCreateOrUpdateOptions contains the optional parameters for the VPNSitesClient.BeginCreateOrUpdate method. @@ -15146,40 +15146,40 @@ type VPNSitesConfigurationClientBeginDownloadOptions struct { // VerificationIPFlowParameters - Parameters that define the IP flow to be verified. type VerificationIPFlowParameters struct { // REQUIRED; The direction of the packet represented as a 5-tuple. - Direction *Direction `json:"direction,omitempty"` + Direction *Direction // REQUIRED; The local IP address. Acceptable values are valid IPv4 addresses. - LocalIPAddress *string `json:"localIPAddress,omitempty"` + LocalIPAddress *string // REQUIRED; The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, // which depends on the direction. - LocalPort *string `json:"localPort,omitempty"` + LocalPort *string // REQUIRED; Protocol to be verified on. - Protocol *IPFlowProtocol `json:"protocol,omitempty"` + Protocol *IPFlowProtocol // REQUIRED; The remote IP address. Acceptable values are valid IPv4 addresses. - RemoteIPAddress *string `json:"remoteIPAddress,omitempty"` + RemoteIPAddress *string // REQUIRED; The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source // port, which depends on the direction. - RemotePort *string `json:"remotePort,omitempty"` + RemotePort *string // REQUIRED; The ID of the target resource to perform next-hop on. - TargetResourceID *string `json:"targetResourceId,omitempty"` + TargetResourceID *string // The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. // Otherwise optional). - TargetNicResourceID *string `json:"targetNicResourceId,omitempty"` + TargetNicResourceID *string } // VerificationIPFlowResult - Results of IP flow verification on the target resource. type VerificationIPFlowResult struct { // Indicates whether the traffic is allowed or denied. - Access *Access `json:"access,omitempty"` + Access *Access // Name of the rule. If input is not matched against any security rule, it is not displayed. - RuleName *string `json:"ruleName,omitempty"` + RuleName *string } // VipSwapClientBeginCreateOptions contains the optional parameters for the VipSwapClient.BeginCreate method. @@ -15201,163 +15201,163 @@ type VipSwapClientListOptions struct { // VirtualAppliance - NetworkVirtualAppliance Resource. type VirtualAppliance struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The service principal that has read access to cloud-init and config blob. - Identity *ManagedServiceIdentity `json:"identity,omitempty"` + Identity *ManagedServiceIdentity // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the Network Virtual Appliance. - Properties *VirtualAppliancePropertiesFormat `json:"properties,omitempty"` + Properties *VirtualAppliancePropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualApplianceListResult - Response for ListNetworkVirtualAppliances API service call. type VirtualApplianceListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Network Virtual Appliances. - Value []*VirtualAppliance `json:"value,omitempty"` + Value []*VirtualAppliance } // VirtualApplianceNicProperties - Network Virtual Appliance NIC properties. type VirtualApplianceNicProperties struct { // READ-ONLY; NIC name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Private IP address. - PrivateIPAddress *string `json:"privateIpAddress,omitempty" azure:"ro"` + PrivateIPAddress *string // READ-ONLY; Public IP address. - PublicIPAddress *string `json:"publicIpAddress,omitempty" azure:"ro"` + PublicIPAddress *string } // VirtualAppliancePropertiesFormat - Network Virtual Appliance definition. type VirtualAppliancePropertiesFormat struct { // BootStrapConfigurationBlobs storage URLs. - BootStrapConfigurationBlobs []*string `json:"bootStrapConfigurationBlobs,omitempty"` + BootStrapConfigurationBlobs []*string // CloudInitConfiguration string in plain text. - CloudInitConfiguration *string `json:"cloudInitConfiguration,omitempty"` + CloudInitConfiguration *string // CloudInitConfigurationBlob storage URLs. - CloudInitConfigurationBlobs []*string `json:"cloudInitConfigurationBlobs,omitempty"` + CloudInitConfigurationBlobs []*string // The delegation for the Virtual Appliance - Delegation *DelegationProperties `json:"delegation,omitempty"` + Delegation *DelegationProperties // Network Virtual Appliance SKU. - NvaSKU *VirtualApplianceSKUProperties `json:"nvaSku,omitempty"` + NvaSKU *VirtualApplianceSKUProperties // The delegation for the Virtual Appliance - PartnerManagedResource *PartnerManagedResourceProperties `json:"partnerManagedResource,omitempty"` + PartnerManagedResource *PartnerManagedResourceProperties // Public key for SSH login. - SSHPublicKey *string `json:"sshPublicKey,omitempty"` + SSHPublicKey *string // VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported. - VirtualApplianceAsn *int64 `json:"virtualApplianceAsn,omitempty"` + VirtualApplianceAsn *int64 // The Virtual Hub where Network Virtual Appliance is being deployed. - VirtualHub *SubResource `json:"virtualHub,omitempty"` + VirtualHub *SubResource // READ-ONLY; Address Prefix. - AddressPrefix *string `json:"addressPrefix,omitempty" azure:"ro"` + AddressPrefix *string // READ-ONLY; The deployment type. PartnerManaged for the SaaS NVA - DeploymentType *string `json:"deploymentType,omitempty" azure:"ro"` + DeploymentType *string // READ-ONLY; List of references to InboundSecurityRules. - InboundSecurityRules []*SubResource `json:"inboundSecurityRules,omitempty" azure:"ro"` + InboundSecurityRules []*SubResource // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; List of Virtual Appliance Network Interfaces. - VirtualApplianceNics []*VirtualApplianceNicProperties `json:"virtualApplianceNics,omitempty" azure:"ro"` + VirtualApplianceNics []*VirtualApplianceNicProperties // READ-ONLY; List of references to VirtualApplianceSite. - VirtualApplianceSites []*SubResource `json:"virtualApplianceSites,omitempty" azure:"ro"` + VirtualApplianceSites []*SubResource } // VirtualApplianceSKU - Definition of the NetworkVirtualApplianceSkus resource. type VirtualApplianceSKU struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // NetworkVirtualApplianceSku properties. - Properties *VirtualApplianceSKUPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualApplianceSKUPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualApplianceSKUInstances - List of available Sku and instances. type VirtualApplianceSKUInstances struct { // READ-ONLY; Instance Count. - InstanceCount *int32 `json:"instanceCount,omitempty" azure:"ro"` + InstanceCount *int32 // READ-ONLY; Scale Unit. - ScaleUnit *string `json:"scaleUnit,omitempty" azure:"ro"` + ScaleUnit *string } // VirtualApplianceSKUListResult - Response for ListNetworkVirtualApplianceSkus API service call. type VirtualApplianceSKUListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Network Virtual Appliance Skus that are available. - Value []*VirtualApplianceSKU `json:"value,omitempty"` + Value []*VirtualApplianceSKU } // VirtualApplianceSKUProperties - Network Virtual Appliance Sku Properties. type VirtualApplianceSKUProperties struct { // Virtual Appliance Scale Unit. - BundledScaleUnit *string `json:"bundledScaleUnit,omitempty"` + BundledScaleUnit *string // Virtual Appliance Version. - MarketPlaceVersion *string `json:"marketPlaceVersion,omitempty"` + MarketPlaceVersion *string // Virtual Appliance Vendor. - Vendor *string `json:"vendor,omitempty"` + Vendor *string } // VirtualApplianceSKUPropertiesFormat - Properties specific to NetworkVirtualApplianceSkus. type VirtualApplianceSKUPropertiesFormat struct { // The list of scale units available. - AvailableScaleUnits []*VirtualApplianceSKUInstances `json:"availableScaleUnits,omitempty"` + AvailableScaleUnits []*VirtualApplianceSKUInstances // READ-ONLY; Available Network Virtual Appliance versions. - AvailableVersions []*string `json:"availableVersions,omitempty" azure:"ro"` + AvailableVersions []*string // READ-ONLY; Network Virtual Appliance Sku vendor. - Vendor *string `json:"vendor,omitempty" azure:"ro"` + Vendor *string } // VirtualApplianceSKUsClientGetOptions contains the optional parameters for the VirtualApplianceSKUsClient.Get method. @@ -15374,40 +15374,40 @@ type VirtualApplianceSKUsClientListOptions struct { // VirtualApplianceSite - Virtual Appliance Site resource. type VirtualApplianceSite struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the virtual appliance site. - Name *string `json:"name,omitempty"` + Name *string // The properties of the Virtual Appliance Sites. - Properties *VirtualApplianceSiteProperties `json:"properties,omitempty"` + Properties *VirtualApplianceSiteProperties // 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; Site type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualApplianceSiteListResult - Response for ListNetworkVirtualApplianceSites API service call. type VirtualApplianceSiteListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Network Virtual Appliance sites. - Value []*VirtualApplianceSite `json:"value,omitempty"` + Value []*VirtualApplianceSite } // VirtualApplianceSiteProperties - Properties of the rule group. type VirtualApplianceSiteProperties struct { // Address Prefix. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // Office 365 Policy. - O365Policy *Office365PolicyProperties `json:"o365Policy,omitempty"` + O365Policy *Office365PolicyProperties // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualApplianceSitesClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualApplianceSitesClient.BeginCreateOrUpdate @@ -15474,28 +15474,28 @@ type VirtualAppliancesClientUpdateTagsOptions struct { // VirtualHub Resource. type VirtualHub struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the virtual hub. - Properties *VirtualHubProperties `json:"properties,omitempty"` + Properties *VirtualHubProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server. - Kind *string `json:"kind,omitempty" azure:"ro"` + Kind *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualHubBgpConnectionClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubBgpConnectionClient.BeginCreateOrUpdate @@ -15540,32 +15540,32 @@ type VirtualHubBgpConnectionsClientListOptions struct { // VirtualHubEffectiveRoute - The effective route configured on the virtual hub or specified resource. type VirtualHubEffectiveRoute struct { // The list of address prefixes. - AddressPrefixes []*string `json:"addressPrefixes,omitempty"` + AddressPrefixes []*string // The ASPath of this route. - AsPath *string `json:"asPath,omitempty"` + AsPath *string // The type of the next hop. - NextHopType *string `json:"nextHopType,omitempty"` + NextHopType *string // The list of next hops. - NextHops []*string `json:"nextHops,omitempty"` + NextHops []*string // The origin of this route. - RouteOrigin *string `json:"routeOrigin,omitempty"` + RouteOrigin *string } // VirtualHubEffectiveRouteList - EffectiveRoutes List. type VirtualHubEffectiveRouteList struct { // The list of effective routes configured on the virtual hub or the specified resource. - Value []*VirtualHubEffectiveRoute `json:"value,omitempty"` + Value []*VirtualHubEffectiveRoute } // VirtualHubID - Virtual Hub identifier. type VirtualHubID struct { // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and // the ExpressRoute gateway resource reside in the same subscription. - ID *string `json:"id,omitempty"` + ID *string } // VirtualHubIPConfigurationClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubIPConfigurationClient.BeginCreateOrUpdate @@ -15597,112 +15597,112 @@ type VirtualHubIPConfigurationClientListOptions struct { // VirtualHubProperties - Parameters for VirtualHub. type VirtualHubProperties struct { // Address-prefix for this VirtualHub. - AddressPrefix *string `json:"addressPrefix,omitempty"` + AddressPrefix *string // Flag to control transit for VirtualRouter hub. - AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` + AllowBranchToBranchTraffic *bool // The azureFirewall associated with this VirtualHub. - AzureFirewall *SubResource `json:"azureFirewall,omitempty"` + AzureFirewall *SubResource // The expressRouteGateway associated with this VirtualHub. - ExpressRouteGateway *SubResource `json:"expressRouteGateway,omitempty"` + ExpressRouteGateway *SubResource // The hubRoutingPreference of this VirtualHub. - HubRoutingPreference *HubRoutingPreference `json:"hubRoutingPreference,omitempty"` + HubRoutingPreference *HubRoutingPreference // The P2SVpnGateway associated with this VirtualHub. - P2SVPNGateway *SubResource `json:"p2SVpnGateway,omitempty"` + P2SVPNGateway *SubResource // The preferred gateway to route on-prem traffic - PreferredRoutingGateway *PreferredRoutingGateway `json:"preferredRoutingGateway,omitempty"` + PreferredRoutingGateway *PreferredRoutingGateway // The routeTable associated with this virtual hub. - RouteTable *VirtualHubRouteTable `json:"routeTable,omitempty"` + RouteTable *VirtualHubRouteTable // The sku of this VirtualHub. - SKU *string `json:"sku,omitempty"` + SKU *string // The securityPartnerProvider associated with this VirtualHub. - SecurityPartnerProvider *SubResource `json:"securityPartnerProvider,omitempty"` + SecurityPartnerProvider *SubResource // The Security Provider name. - SecurityProviderName *string `json:"securityProviderName,omitempty"` + SecurityProviderName *string // The VpnGateway associated with this VirtualHub. - VPNGateway *SubResource `json:"vpnGateway,omitempty"` + VPNGateway *SubResource // List of all virtual hub route table v2s associated with this VirtualHub. - VirtualHubRouteTableV2S []*VirtualHubRouteTableV2 `json:"virtualHubRouteTableV2s,omitempty"` + VirtualHubRouteTableV2S []*VirtualHubRouteTableV2 // VirtualRouter ASN. - VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"` + VirtualRouterAsn *int64 // The VirtualHub Router autoscale configuration. - VirtualRouterAutoScaleConfiguration *VirtualRouterAutoScaleConfiguration `json:"virtualRouterAutoScaleConfiguration,omitempty"` + VirtualRouterAutoScaleConfiguration *VirtualRouterAutoScaleConfiguration // VirtualRouter IPs. - VirtualRouterIPs []*string `json:"virtualRouterIps,omitempty"` + VirtualRouterIPs []*string // The VirtualWAN to which the VirtualHub belongs. - VirtualWan *SubResource `json:"virtualWan,omitempty"` + VirtualWan *SubResource // READ-ONLY; List of references to Bgp Connections. - BgpConnections []*SubResource `json:"bgpConnections,omitempty" azure:"ro"` + BgpConnections []*SubResource // READ-ONLY; List of references to IpConfigurations. - IPConfigurations []*SubResource `json:"ipConfigurations,omitempty" azure:"ro"` + IPConfigurations []*SubResource // READ-ONLY; The provisioning state of the virtual hub resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; List of references to RouteMaps. - RouteMaps []*SubResource `json:"routeMaps,omitempty" azure:"ro"` + RouteMaps []*SubResource // READ-ONLY; The routing state. - RoutingState *RoutingState `json:"routingState,omitempty" azure:"ro"` + RoutingState *RoutingState } // VirtualHubRoute - VirtualHub route. type VirtualHubRoute struct { // List of all addressPrefixes. - AddressPrefixes []*string `json:"addressPrefixes,omitempty"` + AddressPrefixes []*string // NextHop ip address. - NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` + NextHopIPAddress *string } // VirtualHubRouteTable - VirtualHub route table. type VirtualHubRouteTable struct { // List of all routes. - Routes []*VirtualHubRoute `json:"routes,omitempty"` + Routes []*VirtualHubRoute } // VirtualHubRouteTableV2 Resource. type VirtualHubRouteTableV2 struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the virtual hub route table v2. - Properties *VirtualHubRouteTableV2Properties `json:"properties,omitempty"` + Properties *VirtualHubRouteTableV2Properties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VirtualHubRouteTableV2Properties - Parameters for VirtualHubRouteTableV2. type VirtualHubRouteTableV2Properties struct { // List of all connections attached to this route table v2. - AttachedConnections []*string `json:"attachedConnections,omitempty"` + AttachedConnections []*string // List of all routes. - Routes []*VirtualHubRouteV2 `json:"routes,omitempty"` + Routes []*VirtualHubRouteV2 // READ-ONLY; The provisioning state of the virtual hub route table v2 resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualHubRouteTableV2SClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubRouteTableV2SClient.BeginCreateOrUpdate @@ -15733,16 +15733,16 @@ type VirtualHubRouteTableV2SClientListOptions struct { // VirtualHubRouteV2 - VirtualHubRouteTableV2 route. type VirtualHubRouteV2 struct { // The type of destinations. - DestinationType *string `json:"destinationType,omitempty"` + DestinationType *string // List of all destinations. - Destinations []*string `json:"destinations,omitempty"` + Destinations []*string // The type of next hops. - NextHopType *string `json:"nextHopType,omitempty"` + NextHopType *string // NextHops ip address. - NextHops []*string `json:"nextHops,omitempty"` + NextHops []*string } // VirtualHubsClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubsClient.BeginCreateOrUpdate @@ -15805,305 +15805,305 @@ type VirtualHubsClientUpdateTagsOptions struct { // VirtualNetwork - Virtual Network resource. type VirtualNetwork struct { // The extended location of the virtual network. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the virtual network. - Properties *VirtualNetworkPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkBgpCommunities - Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this // VNET. type VirtualNetworkBgpCommunities struct { // REQUIRED; The BGP community associated with the virtual network. - VirtualNetworkCommunity *string `json:"virtualNetworkCommunity,omitempty"` + VirtualNetworkCommunity *string // READ-ONLY; The BGP community associated with the region of the virtual network. - RegionalCommunity *string `json:"regionalCommunity,omitempty" azure:"ro"` + RegionalCommunity *string } // VirtualNetworkConnectionGatewayReference - A reference to VirtualNetworkGateway or LocalNetworkGateway resource. type VirtualNetworkConnectionGatewayReference struct { // REQUIRED; The ID of VirtualNetworkGateway or LocalNetworkGateway resource. - ID *string `json:"id,omitempty"` + ID *string } // VirtualNetworkDdosProtectionStatusResult - Response for GetVirtualNetworkDdosProtectionStatusOperation. type VirtualNetworkDdosProtectionStatusResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The Ddos Protection Status Result for each public ip under a virtual network. - Value []*PublicIPDdosProtectionStatusResult `json:"value,omitempty"` + Value []*PublicIPDdosProtectionStatusResult } // VirtualNetworkEncryption - Indicates if encryption is enabled on virtual network and if VM without encryption is allowed // in encrypted VNet. type VirtualNetworkEncryption struct { // REQUIRED; Indicates if encryption is enabled on the virtual network. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // If the encrypted VNet allows VM that does not support encryption - Enforcement *VirtualNetworkEncryptionEnforcement `json:"enforcement,omitempty"` + Enforcement *VirtualNetworkEncryptionEnforcement } // VirtualNetworkGateway - A common class for general resource information. type VirtualNetworkGateway struct { // REQUIRED; Properties of the virtual network gateway. - Properties *VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayPropertiesFormat // The extended location of type local virtual network gateway. - ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` + ExtendedLocation *ExtendedLocation // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkGatewayConnection - A common class for general resource information. type VirtualNetworkGatewayConnection struct { // REQUIRED; Properties of the virtual network gateway connection. - Properties *VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayConnectionPropertiesFormat // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkGatewayConnectionListEntity - A common class for general resource information. type VirtualNetworkGatewayConnectionListEntity struct { // REQUIRED; Properties of the virtual network gateway connection. - Properties *VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayConnectionListEntityPropertiesFormat // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkGatewayConnectionListEntityPropertiesFormat - VirtualNetworkGatewayConnection properties. type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct { // REQUIRED; Gateway connection type. - ConnectionType *VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"` + ConnectionType *VirtualNetworkGatewayConnectionType // REQUIRED; The reference to virtual network gateway resource. - VirtualNetworkGateway1 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway1,omitempty"` + VirtualNetworkGateway1 *VirtualNetworkConnectionGatewayReference // The authorizationKey. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // The connection mode for this connection. - ConnectionMode *VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"` + ConnectionMode *VirtualNetworkGatewayConnectionMode // Connection protocol used for this connection. - ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"` + ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol // EnableBgp flag. - EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgp *bool // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be // enabled. - EnablePrivateLinkFastPath *bool `json:"enablePrivateLinkFastPath,omitempty"` + EnablePrivateLinkFastPath *bool // Bypass ExpressRoute Gateway for data forwarding. - ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` + ExpressRouteGatewayBypass *bool // GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. - GatewayCustomBgpIPAddresses []*GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"` + GatewayCustomBgpIPAddresses []*GatewayCustomBgpIPAddressIPConfiguration // The IPSec Policies to be considered by this connection. - IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"` + IPSecPolicies []*IPSecPolicy // The reference to local network gateway resource. - LocalNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"localNetworkGateway2,omitempty"` + LocalNetworkGateway2 *VirtualNetworkConnectionGatewayReference // The reference to peerings resource. - Peer *SubResource `json:"peer,omitempty"` + Peer *SubResource // The routing weight. - RoutingWeight *int32 `json:"routingWeight,omitempty"` + RoutingWeight *int32 // The IPSec shared key. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // The Traffic Selector Policies to be considered by this connection. - TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` + TrafficSelectorPolicies []*TrafficSelectorPolicy // Enable policy-based traffic selectors. - UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + UsePolicyBasedTrafficSelectors *bool // The reference to virtual network gateway resource. - VirtualNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway2,omitempty"` + VirtualNetworkGateway2 *VirtualNetworkConnectionGatewayReference // READ-ONLY; Virtual Network Gateway connection status. - ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *VirtualNetworkGatewayConnectionStatus // READ-ONLY; The egress bytes transferred in this connection. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; The ingress bytes transferred in this connection. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The provisioning state of the virtual network gateway connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the virtual network gateway connection resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; Collection of all tunnels' connection health status. - TunnelConnectionStatus []*TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty" azure:"ro"` + TunnelConnectionStatus []*TunnelConnectionHealth } // VirtualNetworkGatewayConnectionListResult - Response for the ListVirtualNetworkGatewayConnections API service call. type VirtualNetworkGatewayConnectionListResult struct { // A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - Value []*VirtualNetworkGatewayConnection `json:"value,omitempty"` + Value []*VirtualNetworkGatewayConnection // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VirtualNetworkGatewayConnectionPropertiesFormat - VirtualNetworkGatewayConnection properties. type VirtualNetworkGatewayConnectionPropertiesFormat struct { // REQUIRED; Gateway connection type. - ConnectionType *VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"` + ConnectionType *VirtualNetworkGatewayConnectionType // REQUIRED; The reference to virtual network gateway resource. - VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"` + VirtualNetworkGateway1 *VirtualNetworkGateway // The authorizationKey. - AuthorizationKey *string `json:"authorizationKey,omitempty"` + AuthorizationKey *string // The connection mode for this connection. - ConnectionMode *VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"` + ConnectionMode *VirtualNetworkGatewayConnectionMode // Connection protocol used for this connection. - ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"` + ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol // The dead peer detection timeout of this connection in seconds. - DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"` + DpdTimeoutSeconds *int32 // List of egress NatRules. - EgressNatRules []*SubResource `json:"egressNatRules,omitempty"` + EgressNatRules []*SubResource // EnableBgp flag. - EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgp *bool // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be // enabled. - EnablePrivateLinkFastPath *bool `json:"enablePrivateLinkFastPath,omitempty"` + EnablePrivateLinkFastPath *bool // Bypass ExpressRoute Gateway for data forwarding. - ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"` + ExpressRouteGatewayBypass *bool // GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. - GatewayCustomBgpIPAddresses []*GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"` + GatewayCustomBgpIPAddresses []*GatewayCustomBgpIPAddressIPConfiguration // The IPSec Policies to be considered by this connection. - IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"` + IPSecPolicies []*IPSecPolicy // List of ingress NatRules. - IngressNatRules []*SubResource `json:"ingressNatRules,omitempty"` + IngressNatRules []*SubResource // The reference to local network gateway resource. - LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"` + LocalNetworkGateway2 *LocalNetworkGateway // The reference to peerings resource. - Peer *SubResource `json:"peer,omitempty"` + Peer *SubResource // The routing weight. - RoutingWeight *int32 `json:"routingWeight,omitempty"` + RoutingWeight *int32 // The IPSec shared key. - SharedKey *string `json:"sharedKey,omitempty"` + SharedKey *string // The Traffic Selector Policies to be considered by this connection. - TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"` + TrafficSelectorPolicies []*TrafficSelectorPolicy // Use private local Azure IP for the connection. - UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"` + UseLocalAzureIPAddress *bool // Enable policy-based traffic selectors. - UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"` + UsePolicyBasedTrafficSelectors *bool // The reference to virtual network gateway resource. - VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"` + VirtualNetworkGateway2 *VirtualNetworkGateway // READ-ONLY; Virtual Network Gateway connection status. - ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"` + ConnectionStatus *VirtualNetworkGatewayConnectionStatus // READ-ONLY; The egress bytes transferred in this connection. - EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"` + EgressBytesTransferred *int64 // READ-ONLY; The ingress bytes transferred in this connection. - IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"` + IngressBytesTransferred *int64 // READ-ONLY; The provisioning state of the virtual network gateway connection resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the virtual network gateway connection resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string // READ-ONLY; Collection of all tunnels' connection health status. - TunnelConnectionStatus []*TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty" azure:"ro"` + TunnelConnectionStatus []*TunnelConnectionHealth } // VirtualNetworkGatewayConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGatewayConnectionsClient.BeginCreateOrUpdate @@ -16192,91 +16192,91 @@ type VirtualNetworkGatewayConnectionsClientListOptions struct { // VirtualNetworkGatewayIPConfiguration - IP configuration for virtual network gateway. type VirtualNetworkGatewayIPConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the virtual network gateway ip configuration. - Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VirtualNetworkGatewayIPConfigurationPropertiesFormat - Properties of VirtualNetworkGatewayIPConfiguration. type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct { // The private IP address allocation method. - PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` + PrivateIPAllocationMethod *IPAllocationMethod // The reference to the public IP resource. - PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` + PublicIPAddress *SubResource // The reference to the subnet resource. - Subnet *SubResource `json:"subnet,omitempty"` + Subnet *SubResource // READ-ONLY; Private IP Address for this gateway. - PrivateIPAddress *string `json:"privateIPAddress,omitempty" azure:"ro"` + PrivateIPAddress *string // READ-ONLY; The provisioning state of the virtual network gateway IP configuration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualNetworkGatewayListConnectionsResult - Response for the VirtualNetworkGatewayListConnections API service call. type VirtualNetworkGatewayListConnectionsResult struct { // A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - Value []*VirtualNetworkGatewayConnectionListEntity `json:"value,omitempty"` + Value []*VirtualNetworkGatewayConnectionListEntity // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VirtualNetworkGatewayListResult - Response for the ListVirtualNetworkGateways API service call. type VirtualNetworkGatewayListResult struct { // A list of VirtualNetworkGateway resources that exists in a resource group. - Value []*VirtualNetworkGateway `json:"value,omitempty"` + Value []*VirtualNetworkGateway // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // VirtualNetworkGatewayNatRule Resource. type VirtualNetworkGatewayNatRule struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the Virtual Network Gateway NAT rule. - Properties *VirtualNetworkGatewayNatRuleProperties `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayNatRuleProperties // 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; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkGatewayNatRuleProperties - Parameters for VirtualNetworkGatewayNatRule. type VirtualNetworkGatewayNatRuleProperties struct { // The private IP address external mapping for NAT. - ExternalMappings []*VPNNatRuleMapping `json:"externalMappings,omitempty"` + ExternalMappings []*VPNNatRuleMapping // The IP Configuration ID this NAT rule applies to. - IPConfigurationID *string `json:"ipConfigurationId,omitempty"` + IPConfigurationID *string // The private IP address internal mapping for NAT. - InternalMappings []*VPNNatRuleMapping `json:"internalMappings,omitempty"` + InternalMappings []*VPNNatRuleMapping // The Source NAT direction of a VPN NAT. - Mode *VPNNatRuleMode `json:"mode,omitempty"` + Mode *VPNNatRuleMode // The type of NAT rule for VPN NAT. - Type *VPNNatRuleType `json:"type,omitempty"` + Type *VPNNatRuleType // READ-ONLY; The provisioning state of the NAT Rule resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualNetworkGatewayNatRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGatewayNatRulesClient.BeginCreateOrUpdate @@ -16308,134 +16308,134 @@ type VirtualNetworkGatewayNatRulesClientListByVirtualNetworkGatewayOptions struc // VirtualNetworkGatewayPolicyGroup - Parameters for VirtualNetworkGatewayPolicyGroup. type VirtualNetworkGatewayPolicyGroup struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of tVirtualNetworkGatewayPolicyGroup. - Properties *VirtualNetworkGatewayPolicyGroupProperties `json:"properties,omitempty"` + Properties *VirtualNetworkGatewayPolicyGroupProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VirtualNetworkGatewayPolicyGroupMember - Vpn Client Connection configuration PolicyGroup member type VirtualNetworkGatewayPolicyGroupMember struct { // The Vpn Policy member attribute type. - AttributeType *VPNPolicyMemberAttributeType `json:"attributeType,omitempty"` + AttributeType *VPNPolicyMemberAttributeType // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember. - AttributeValue *string `json:"attributeValue,omitempty"` + AttributeValue *string // Name of the VirtualNetworkGatewayPolicyGroupMember. - Name *string `json:"name,omitempty"` + Name *string } // VirtualNetworkGatewayPolicyGroupProperties - Properties of VirtualNetworkGatewayPolicyGroup. type VirtualNetworkGatewayPolicyGroupProperties struct { // REQUIRED; Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not. - IsDefault *bool `json:"isDefault,omitempty"` + IsDefault *bool // REQUIRED; Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup. - PolicyMembers []*VirtualNetworkGatewayPolicyGroupMember `json:"policyMembers,omitempty"` + PolicyMembers []*VirtualNetworkGatewayPolicyGroupMember // REQUIRED; Priority for VirtualNetworkGatewayPolicyGroup. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // READ-ONLY; The provisioning state of the VirtualNetworkGatewayPolicyGroup resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; List of references to vngClientConnectionConfigurations. - VngClientConnectionConfigurations []*SubResource `json:"vngClientConnectionConfigurations,omitempty" azure:"ro"` + VngClientConnectionConfigurations []*SubResource } // VirtualNetworkGatewayPropertiesFormat - VirtualNetworkGateway properties. type VirtualNetworkGatewayPropertiesFormat struct { // ActiveActive flag. - Active *bool `json:"activeActive,omitempty"` + Active *bool // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity // to Azure Virtual WAN. - AllowRemoteVnetTraffic *bool `json:"allowRemoteVnetTraffic,omitempty"` + AllowRemoteVnetTraffic *bool // Configures this gateway to accept traffic from remote Virtual WAN networks. - AllowVirtualWanTraffic *bool `json:"allowVirtualWanTraffic,omitempty"` + AllowVirtualWanTraffic *bool // Virtual network gateway's BGP speaker settings. - BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` + BgpSettings *BgpSettings // The reference to the address space resource which represents the custom routes address space specified by the customer // for virtual network gateway and VpnClient. - CustomRoutes *AddressSpace `json:"customRoutes,omitempty"` + CustomRoutes *AddressSpace // disableIPSecReplayProtection flag. - DisableIPSecReplayProtection *bool `json:"disableIPSecReplayProtection,omitempty"` + DisableIPSecReplayProtection *bool // Whether BGP is enabled for this virtual network gateway or not. - EnableBgp *bool `json:"enableBgp,omitempty"` + EnableBgp *bool // EnableBgpRouteTranslationForNat flag. - EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"` + EnableBgpRouteTranslationForNat *bool // Whether dns forwarding is enabled or not. - EnableDNSForwarding *bool `json:"enableDnsForwarding,omitempty"` + EnableDNSForwarding *bool // Whether private IP needs to be enabled on this gateway for connections or not. - EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"` + EnablePrivateIPAddress *bool // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null // value in case of removing existing default site setting. - GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` + GatewayDefaultSite *SubResource // The type of this virtual network gateway. - GatewayType *VirtualNetworkGatewayType `json:"gatewayType,omitempty"` + GatewayType *VirtualNetworkGatewayType // IP configurations for virtual network gateway. - IPConfigurations []*VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` + IPConfigurations []*VirtualNetworkGatewayIPConfiguration // NatRules for virtual network gateway. - NatRules []*VirtualNetworkGatewayNatRule `json:"natRules,omitempty"` + NatRules []*VirtualNetworkGatewayNatRule // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. - SKU *VirtualNetworkGatewaySKU `json:"sku,omitempty"` + SKU *VirtualNetworkGatewaySKU // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. - VNetExtendedLocationResourceID *string `json:"vNetExtendedLocationResourceId,omitempty"` + VNetExtendedLocationResourceID *string // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations. - VPNClientConfiguration *VPNClientConfiguration `json:"vpnClientConfiguration,omitempty"` + VPNClientConfiguration *VPNClientConfiguration // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. - VPNGatewayGeneration *VPNGatewayGeneration `json:"vpnGatewayGeneration,omitempty"` + VPNGatewayGeneration *VPNGatewayGeneration // The type of this virtual network gateway. - VPNType *VPNType `json:"vpnType,omitempty"` + VPNType *VPNType // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup // for the gateway. - VirtualNetworkGatewayPolicyGroups []*VirtualNetworkGatewayPolicyGroup `json:"virtualNetworkGatewayPolicyGroups,omitempty"` + VirtualNetworkGatewayPolicyGroups []*VirtualNetworkGatewayPolicyGroup // READ-ONLY; The IP address allocated by the gateway to which dns requests can be sent. - InboundDNSForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty" azure:"ro"` + InboundDNSForwardingEndpoint *string // READ-ONLY; The provisioning state of the virtual network gateway resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the virtual network gateway resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // VirtualNetworkGatewaySKU - VirtualNetworkGatewaySku details. type VirtualNetworkGatewaySKU struct { // Gateway SKU name. - Name *VirtualNetworkGatewaySKUName `json:"name,omitempty"` + Name *VirtualNetworkGatewaySKUName // Gateway SKU tier. - Tier *VirtualNetworkGatewaySKUTier `json:"tier,omitempty"` + Tier *VirtualNetworkGatewaySKUTier // READ-ONLY; The capacity. - Capacity *int32 `json:"capacity,omitempty" azure:"ro"` + Capacity *int32 } // VirtualNetworkGatewaysClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGatewaysClient.BeginCreateOrUpdate @@ -16595,97 +16595,97 @@ type VirtualNetworkGatewaysClientVPNDeviceConfigurationScriptOptions struct { // VirtualNetworkListResult - Response for the ListVirtualNetworks API service call. type VirtualNetworkListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of VirtualNetwork resources in a resource group. - Value []*VirtualNetwork `json:"value,omitempty"` + Value []*VirtualNetwork } // VirtualNetworkListUsageResult - Response for the virtual networks GetUsage API service call. type VirtualNetworkListUsageResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // READ-ONLY; VirtualNetwork usage stats. - Value []*VirtualNetworkUsage `json:"value,omitempty" azure:"ro"` + Value []*VirtualNetworkUsage } // VirtualNetworkPeering - Peerings in a virtual network resource. type VirtualNetworkPeering struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the virtual network peering. - Properties *VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkPeeringPropertiesFormat // Resource type. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VirtualNetworkPeeringListResult - Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual // network. type VirtualNetworkPeeringListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The peerings in a virtual network. - Value []*VirtualNetworkPeering `json:"value,omitempty"` + Value []*VirtualNetworkPeering } // VirtualNetworkPeeringPropertiesFormat - Properties of the virtual network peering. type VirtualNetworkPeeringPropertiesFormat struct { // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. - AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"` + AllowForwardedTraffic *bool // If gateway links can be used in remote virtual networking to link to this virtual network. - AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"` + AllowGatewayTransit *bool // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. - AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"` + AllowVirtualNetworkAccess *bool // If we need to verify the provisioning state of the remote gateway. - DoNotVerifyRemoteGateways *bool `json:"doNotVerifyRemoteGateways,omitempty"` + DoNotVerifyRemoteGateways *bool // The status of the virtual network peering. - PeeringState *VirtualNetworkPeeringState `json:"peeringState,omitempty"` + PeeringState *VirtualNetworkPeeringState // The peering sync status of the virtual network peering. - PeeringSyncLevel *VirtualNetworkPeeringLevel `json:"peeringSyncLevel,omitempty"` + PeeringSyncLevel *VirtualNetworkPeeringLevel // The reference to the address space peered with the remote virtual network. - RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"` + RemoteAddressSpace *AddressSpace // The reference to the remote virtual network's Bgp Communities. - RemoteBgpCommunities *VirtualNetworkBgpCommunities `json:"remoteBgpCommunities,omitempty"` + RemoteBgpCommunities *VirtualNetworkBgpCommunities // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). // See here to register for the preview and learn more // (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). - RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"` + RemoteVirtualNetwork *SubResource // The reference to the current address space of the remote virtual network. - RemoteVirtualNetworkAddressSpace *AddressSpace `json:"remoteVirtualNetworkAddressSpace,omitempty"` + RemoteVirtualNetworkAddressSpace *AddressSpace // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering // is also true, virtual network will use gateways of remote virtual network // for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a // gateway. - UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"` + UseRemoteGateways *bool // READ-ONLY; The provisioning state of the virtual network peering resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The reference to the remote virtual network's encryption - RemoteVirtualNetworkEncryption *VirtualNetworkEncryption `json:"remoteVirtualNetworkEncryption,omitempty" azure:"ro"` + RemoteVirtualNetworkEncryption *VirtualNetworkEncryption // READ-ONLY; The resourceGuid property of the Virtual Network peering resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // VirtualNetworkPeeringsClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkPeeringsClient.BeginCreateOrUpdate @@ -16718,101 +16718,101 @@ type VirtualNetworkPeeringsClientListOptions struct { // VirtualNetworkPropertiesFormat - Properties of the virtual network. type VirtualNetworkPropertiesFormat struct { // The AddressSpace that contains an array of IP address ranges that can be used by subnets. - AddressSpace *AddressSpace `json:"addressSpace,omitempty"` + AddressSpace *AddressSpace // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"` + BgpCommunities *VirtualNetworkBgpCommunities // The DDoS protection plan associated with the virtual network. - DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"` + DdosProtectionPlan *SubResource // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network. - DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"` + DhcpOptions *DhcpOptions // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection // plan associated with the resource. - EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"` + EnableDdosProtection *bool // Indicates if VM protection is enabled for all the subnets in the virtual network. - EnableVMProtection *bool `json:"enableVmProtection,omitempty"` + EnableVMProtection *bool // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. - Encryption *VirtualNetworkEncryption `json:"encryption,omitempty"` + Encryption *VirtualNetworkEncryption // The FlowTimeout value (in minutes) for the Virtual Network - FlowTimeoutInMinutes *int32 `json:"flowTimeoutInMinutes,omitempty"` + FlowTimeoutInMinutes *int32 // Array of IpAllocation which reference this VNET. - IPAllocations []*SubResource `json:"ipAllocations,omitempty"` + IPAllocations []*SubResource // A list of subnets in a Virtual Network. - Subnets []*Subnet `json:"subnets,omitempty"` + Subnets []*Subnet // A list of peerings in a Virtual Network. - VirtualNetworkPeerings []*VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"` + VirtualNetworkPeerings []*VirtualNetworkPeering // READ-ONLY; A collection of references to flow log resources. - FlowLogs []*FlowLog `json:"flowLogs,omitempty" azure:"ro"` + FlowLogs []*FlowLog // READ-ONLY; The provisioning state of the virtual network resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resourceGuid property of the Virtual Network resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // VirtualNetworkTap - Virtual Network Tap resource. type VirtualNetworkTap struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Virtual Network Tap Properties. - Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualNetworkTapPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualNetworkTapListResult - Response for ListVirtualNetworkTap API service call. type VirtualNetworkTapListResult struct { // The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of VirtualNetworkTaps in a resource group. - Value []*VirtualNetworkTap `json:"value,omitempty"` + Value []*VirtualNetworkTap } // VirtualNetworkTapPropertiesFormat - Virtual Network Tap properties. type VirtualNetworkTapPropertiesFormat struct { // The reference to the private IP address on the internal Load Balancer that will receive the tap. - DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"` + DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration // The reference to the private IP Address of the collector nic that will receive the tap. - DestinationNetworkInterfaceIPConfiguration *InterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"` + DestinationNetworkInterfaceIPConfiguration *InterfaceIPConfiguration // The VXLAN destination port that will receive the tapped traffic. - DestinationPort *int32 `json:"destinationPort,omitempty"` + DestinationPort *int32 // READ-ONLY; Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped. - NetworkInterfaceTapConfigurations []*InterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty" azure:"ro"` + NetworkInterfaceTapConfigurations []*InterfaceTapConfiguration // READ-ONLY; The provisioning state of the virtual network tap resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; The resource GUID property of the virtual network tap resource. - ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"` + ResourceGUID *string } // VirtualNetworkTapsClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkTapsClient.BeginCreateOrUpdate @@ -16855,28 +16855,28 @@ type VirtualNetworkTapsClientUpdateTagsOptions struct { // VirtualNetworkUsage - Usage details for subnet. type VirtualNetworkUsage struct { // READ-ONLY; Indicates number of IPs used from the Subnet. - CurrentValue *float64 `json:"currentValue,omitempty" azure:"ro"` + CurrentValue *float64 // READ-ONLY; Subnet identifier. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Indicates the size of the subnet. - Limit *float64 `json:"limit,omitempty" azure:"ro"` + Limit *float64 // READ-ONLY; The name containing common and localized value for usage. - Name *VirtualNetworkUsageName `json:"name,omitempty" azure:"ro"` + Name *VirtualNetworkUsageName // READ-ONLY; Usage units. Returns 'Count'. - Unit *string `json:"unit,omitempty" azure:"ro"` + Unit *string } // VirtualNetworkUsageName - Usage strings container. type VirtualNetworkUsageName struct { // READ-ONLY; Localized subnet size and usage string. - LocalizedValue *string `json:"localizedValue,omitempty" azure:"ro"` + LocalizedValue *string // READ-ONLY; Subnet size and usage string. - Value *string `json:"value,omitempty" azure:"ro"` + Value *string } // VirtualNetworksClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworksClient.BeginCreateOrUpdate @@ -16939,79 +16939,79 @@ type VirtualNetworksClientUpdateTagsOptions struct { // VirtualRouter Resource. type VirtualRouter struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the Virtual Router. - Properties *VirtualRouterPropertiesFormat `json:"properties,omitempty"` + Properties *VirtualRouterPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualRouterAutoScaleConfiguration - The VirtualHub Router autoscale configuration. type VirtualRouterAutoScaleConfiguration struct { // The minimum number of scale units for VirtualHub Router. - MinCapacity *int32 `json:"minCapacity,omitempty"` + MinCapacity *int32 } // VirtualRouterListResult - Response for ListVirtualRouters API service call. type VirtualRouterListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of Virtual Routers. - Value []*VirtualRouter `json:"value,omitempty"` + Value []*VirtualRouter } // VirtualRouterPeering - Virtual Router Peering resource. type VirtualRouterPeering struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Name of the virtual router peering that is unique within a virtual router. - Name *string `json:"name,omitempty"` + Name *string // The properties of the Virtual Router Peering. - Properties *VirtualRouterPeeringProperties `json:"properties,omitempty"` + Properties *VirtualRouterPeeringProperties // 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; Peering type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualRouterPeeringListResult - Response for ListVirtualRouterPeerings API service call. type VirtualRouterPeeringListResult struct { // URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // List of VirtualRouterPeerings in a VirtualRouter. - Value []*VirtualRouterPeering `json:"value,omitempty"` + Value []*VirtualRouterPeering } // VirtualRouterPeeringProperties - Properties of the rule group. type VirtualRouterPeeringProperties struct { // Peer ASN. - PeerAsn *int64 `json:"peerAsn,omitempty"` + PeerAsn *int64 // Peer IP. - PeerIP *string `json:"peerIp,omitempty"` + PeerIP *string // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualRouterPeeringsClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualRouterPeeringsClient.BeginCreateOrUpdate @@ -17042,22 +17042,22 @@ type VirtualRouterPeeringsClientListOptions struct { // VirtualRouterPropertiesFormat - Virtual Router definition. type VirtualRouterPropertiesFormat struct { // The Gateway on which VirtualRouter is hosted. - HostedGateway *SubResource `json:"hostedGateway,omitempty"` + HostedGateway *SubResource // The Subnet on which VirtualRouter is hosted. - HostedSubnet *SubResource `json:"hostedSubnet,omitempty"` + HostedSubnet *SubResource // VirtualRouter ASN. - VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"` + VirtualRouterAsn *int64 // VirtualRouter IPs. - VirtualRouterIPs []*string `json:"virtualRouterIps,omitempty"` + VirtualRouterIPs []*string // READ-ONLY; List of references to VirtualRouterPeerings. - Peerings []*SubResource `json:"peerings,omitempty" azure:"ro"` + Peerings []*SubResource // READ-ONLY; The provisioning state of the resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // VirtualRoutersClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualRoutersClient.BeginCreateOrUpdate @@ -17093,79 +17093,79 @@ type VirtualRoutersClientListOptions struct { // VirtualWAN Resource. type VirtualWAN struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the virtual WAN. - Properties *VirtualWanProperties `json:"properties,omitempty"` + Properties *VirtualWanProperties // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // VirtualWanProperties - Parameters for VirtualWAN. type VirtualWanProperties struct { // True if branch to branch traffic is allowed. - AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"` + AllowBranchToBranchTraffic *bool // True if Vnet to Vnet traffic is allowed. - AllowVnetToVnetTraffic *bool `json:"allowVnetToVnetTraffic,omitempty"` + AllowVnetToVnetTraffic *bool // Vpn encryption to be disabled or not. - DisableVPNEncryption *bool `json:"disableVpnEncryption,omitempty"` + DisableVPNEncryption *bool // The type of the VirtualWAN. - Type *string `json:"type,omitempty"` + Type *string // READ-ONLY; The office local breakout category. - Office365LocalBreakoutCategory *OfficeTrafficCategory `json:"office365LocalBreakoutCategory,omitempty" azure:"ro"` + Office365LocalBreakoutCategory *OfficeTrafficCategory // READ-ONLY; The provisioning state of the virtual WAN resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; List of VpnSites in the VirtualWAN. - VPNSites []*SubResource `json:"vpnSites,omitempty" azure:"ro"` + VPNSites []*SubResource // READ-ONLY; List of VirtualHubs in the VirtualWAN. - VirtualHubs []*SubResource `json:"virtualHubs,omitempty" azure:"ro"` + VirtualHubs []*SubResource } // VirtualWanSecurityProvider - Collection of SecurityProviders. type VirtualWanSecurityProvider struct { // Name of the security provider. - Name *string `json:"name,omitempty"` + Name *string // Url of the security provider. - URL *string `json:"url,omitempty"` + URL *string // READ-ONLY; Name of the security provider. - Type *VirtualWanSecurityProviderType `json:"type,omitempty" azure:"ro"` + Type *VirtualWanSecurityProviderType } // VirtualWanSecurityProviders - Collection of SecurityProviders. type VirtualWanSecurityProviders struct { // List of VirtualWAN security providers. - SupportedProviders []*VirtualWanSecurityProvider `json:"supportedProviders,omitempty"` + SupportedProviders []*VirtualWanSecurityProvider } // VirtualWanVPNProfileParameters - Virtual Wan Vpn profile parameters Vpn profile generation. type VirtualWanVPNProfileParameters struct { // VPN client authentication method. - AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"` + AuthenticationMethod *AuthenticationMethod // VpnServerConfiguration partial resource uri with which VirtualWan is associated to. - VPNServerConfigurationResourceID *string `json:"vpnServerConfigurationResourceId,omitempty"` + VPNServerConfigurationResourceID *string } // VirtualWansClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualWansClient.BeginCreateOrUpdate @@ -17205,76 +17205,76 @@ type VirtualWansClientUpdateTagsOptions struct { // VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection. type VnetRoute struct { // List of all Static Routes. - StaticRoutes []*StaticRoute `json:"staticRoutes,omitempty"` + StaticRoutes []*StaticRoute // Configuration for static routes on this HubVnetConnection. - StaticRoutesConfig *StaticRoutesConfig `json:"staticRoutesConfig,omitempty"` + StaticRoutesConfig *StaticRoutesConfig // READ-ONLY; The list of references to HubBgpConnection objects. - BgpConnections []*SubResource `json:"bgpConnections,omitempty" azure:"ro"` + BgpConnections []*SubResource } // VngClientConnectionConfiguration - A vpn client connection configuration for client connection configuration. type VngClientConnectionConfiguration struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // The name of the resource that is unique within a resource group. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Properties of the vpn client root certificate. - Properties *VngClientConnectionConfigurationProperties `json:"properties,omitempty"` + Properties *VngClientConnectionConfigurationProperties // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // VngClientConnectionConfigurationProperties - Properties of VngClientConnectionConfiguration. type VngClientConnectionConfigurationProperties struct { // REQUIRED; The reference to the address space resource which represents Address space for P2S VpnClient. - VPNClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` + VPNClientAddressPool *AddressSpace // REQUIRED; List of references to virtualNetworkGatewayPolicyGroups - VirtualNetworkGatewayPolicyGroups []*SubResource `json:"virtualNetworkGatewayPolicyGroups,omitempty"` + VirtualNetworkGatewayPolicyGroups []*SubResource // READ-ONLY; The provisioning state of the VngClientConnectionConfiguration resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // Watcher - Network watcher in a resource group. type Watcher struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the network watcher. - Properties *WatcherPropertiesFormat `json:"properties,omitempty"` + Properties *WatcherPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WatcherListResult - Response for ListNetworkWatchers API service call. type WatcherListResult struct { // List of network watcher resources. - Value []*Watcher `json:"value,omitempty"` + Value []*Watcher } // WatcherPropertiesFormat - The network watcher properties. type WatcherPropertiesFormat struct { // READ-ONLY; The provisioning state of the network watcher resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // WatchersClientBeginCheckConnectivityOptions contains the optional parameters for the WatchersClient.BeginCheckConnectivity @@ -17391,25 +17391,25 @@ type WatchersClientUpdateTagsOptions struct { // WebApplicationFirewallCustomRule - Defines contents of a web application rule. type WebApplicationFirewallCustomRule struct { // REQUIRED; Type of Actions. - Action *WebApplicationFirewallAction `json:"action,omitempty"` + Action *WebApplicationFirewallAction // REQUIRED; List of match conditions. - MatchConditions []*MatchCondition `json:"matchConditions,omitempty"` + MatchConditions []*MatchCondition // REQUIRED; Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. - Priority *int32 `json:"priority,omitempty"` + Priority *int32 // REQUIRED; The rule type. - RuleType *WebApplicationFirewallRuleType `json:"ruleType,omitempty"` + RuleType *WebApplicationFirewallRuleType // The name of the resource that is unique within a policy. This name can be used to access the resource. - Name *string `json:"name,omitempty"` + Name *string // Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. - State *WebApplicationFirewallState `json:"state,omitempty"` + State *WebApplicationFirewallState // READ-ONLY; A unique read-only string that changes whenever the resource is updated. - Etag *string `json:"etag,omitempty" azure:"ro"` + Etag *string } // WebApplicationFirewallPoliciesClientBeginDeleteOptions contains the optional parameters for the WebApplicationFirewallPoliciesClient.BeginDelete @@ -17446,62 +17446,62 @@ type WebApplicationFirewallPoliciesClientListOptions struct { // WebApplicationFirewallPolicy - Defines web application firewall policy. type WebApplicationFirewallPolicy struct { // Resource ID. - ID *string `json:"id,omitempty"` + ID *string // Resource location. - Location *string `json:"location,omitempty"` + Location *string // Properties of the web application firewall policy. - Properties *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"` + Properties *WebApplicationFirewallPolicyPropertiesFormat // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*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; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // WebApplicationFirewallPolicyListResult - Result of the request to list WebApplicationFirewallPolicies. It contains a list // of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. type WebApplicationFirewallPolicyListResult struct { // READ-ONLY; URL to get the next set of WebApplicationFirewallPolicy objects if there are any. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; List of WebApplicationFirewallPolicies within a resource group. - Value []*WebApplicationFirewallPolicy `json:"value,omitempty" azure:"ro"` + Value []*WebApplicationFirewallPolicy } // WebApplicationFirewallPolicyPropertiesFormat - Defines web application firewall policy properties. type WebApplicationFirewallPolicyPropertiesFormat struct { // REQUIRED; Describes the managedRules structure. - ManagedRules *ManagedRulesDefinition `json:"managedRules,omitempty"` + ManagedRules *ManagedRulesDefinition // The custom rules inside the policy. - CustomRules []*WebApplicationFirewallCustomRule `json:"customRules,omitempty"` + CustomRules []*WebApplicationFirewallCustomRule // The PolicySettings for policy. - PolicySettings *PolicySettings `json:"policySettings,omitempty"` + PolicySettings *PolicySettings // READ-ONLY; A collection of references to application gateways. - ApplicationGateways []*ApplicationGateway `json:"applicationGateways,omitempty" azure:"ro"` + ApplicationGateways []*ApplicationGateway // READ-ONLY; A collection of references to application gateway http listeners. - HTTPListeners []*SubResource `json:"httpListeners,omitempty" azure:"ro"` + HTTPListeners []*SubResource // READ-ONLY; A collection of references to application gateway path rules. - PathBasedRules []*SubResource `json:"pathBasedRules,omitempty" azure:"ro"` + PathBasedRules []*SubResource // READ-ONLY; The provisioning state of the web application firewall policy resource. - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState // READ-ONLY; Resource status of the policy. - ResourceState *WebApplicationFirewallPolicyResourceState `json:"resourceState,omitempty" azure:"ro"` + ResourceState *WebApplicationFirewallPolicyResourceState } // WebCategoriesClientGetOptions contains the optional parameters for the WebCategoriesClient.Get method. diff --git a/sdk/resourcemanager/network/armnetwork/models_serde.go b/sdk/resourcemanager/network/armnetwork/models_serde.go index 25ad0e4b0b12..4c01ad60ed45 100644 --- a/sdk/resourcemanager/network/armnetwork/models_serde.go +++ b/sdk/resourcemanager/network/armnetwork/models_serde.go @@ -6855,7 +6855,7 @@ func (b BastionActiveSession) MarshalJSON() ([]byte, error) { populate(objectMap, "resourceType", b.ResourceType) populate(objectMap, "sessionDurationInMins", b.SessionDurationInMins) populate(objectMap, "sessionId", b.SessionID) - populate(objectMap, "startTime", &b.StartTime) + populateAny(objectMap, "startTime", b.StartTime) populate(objectMap, "targetHostName", b.TargetHostName) populate(objectMap, "targetIpAddress", b.TargetIPAddress) populate(objectMap, "targetResourceGroup", b.TargetResourceGroup) @@ -33647,6 +33647,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/notificationhubs/armnotificationhubs/CHANGELOG.md b/sdk/resourcemanager/notificationhubs/armnotificationhubs/CHANGELOG.md index 301453f39011..fbe9e32cd490 100644 --- a/sdk/resourcemanager/notificationhubs/armnotificationhubs/CHANGELOG.md +++ b/sdk/resourcemanager/notificationhubs/armnotificationhubs/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/notificationhubs/armnotificationhubs/autorest.md b/sdk/resourcemanager/notificationhubs/armnotificationhubs/autorest.md index cbce2c1cb8de..35d157573905 100644 --- a/sdk/resourcemanager/notificationhubs/armnotificationhubs/autorest.md +++ b/sdk/resourcemanager/notificationhubs/armnotificationhubs/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/notificationhubs/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/notificationhubs/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/notificationhubs/armnotificationhubs/constants.go b/sdk/resourcemanager/notificationhubs/armnotificationhubs/constants.go index c48f90aae498..5829fc7377cb 100644 --- a/sdk/resourcemanager/notificationhubs/armnotificationhubs/constants.go +++ b/sdk/resourcemanager/notificationhubs/armnotificationhubs/constants.go @@ -11,7 +11,7 @@ package armnotificationhubs const ( moduleName = "armnotificationhubs" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) type AccessRights string diff --git a/sdk/resourcemanager/notificationhubs/armnotificationhubs/models.go b/sdk/resourcemanager/notificationhubs/armnotificationhubs/models.go index 7c9aacbe3e5a..cd2de4d5ec7e 100644 --- a/sdk/resourcemanager/notificationhubs/armnotificationhubs/models.go +++ b/sdk/resourcemanager/notificationhubs/armnotificationhubs/models.go @@ -14,124 +14,124 @@ import "time" // AdmCredential - Description of a NotificationHub AdmCredential. type AdmCredential struct { // Properties of NotificationHub AdmCredential. - Properties *AdmCredentialProperties `json:"properties,omitempty"` + Properties *AdmCredentialProperties } // AdmCredentialProperties - Description of a NotificationHub AdmCredential. type AdmCredentialProperties struct { // The URL of the authorization token. - AuthTokenURL *string `json:"authTokenUrl,omitempty"` + AuthTokenURL *string // The client identifier. - ClientID *string `json:"clientId,omitempty"` + ClientID *string // The credential secret access key. - ClientSecret *string `json:"clientSecret,omitempty"` + ClientSecret *string } // ApnsCredential - Description of a NotificationHub ApnsCredential. type ApnsCredential struct { // Properties of NotificationHub ApnsCredential. - Properties *ApnsCredentialProperties `json:"properties,omitempty"` + Properties *ApnsCredentialProperties } // ApnsCredentialProperties - Description of a NotificationHub ApnsCredential. Note that there is no explicit switch between // Certificate and Token Authentication Modes. The mode is determined based on the properties passed in. type ApnsCredentialProperties struct { // The APNS certificate. Specify if using Certificate Authentication Mode. - ApnsCertificate *string `json:"apnsCertificate,omitempty"` + ApnsCertificate *string // The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify // if using Token Authentication Mode. - AppID *string `json:"appId,omitempty"` + AppID *string // The name of the application or BundleId. Specify if using Token Authentication Mode. - AppName *string `json:"appName,omitempty"` + AppName *string // The APNS certificate password if it exists. - CertificateKey *string `json:"certificateKey,omitempty"` + CertificateKey *string // The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. // If using Certificate Authentication Mode and Production specify // 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. // If using Token Authentication Mode and Production specify // 'https://api.push.apple.com:443/3/device'. - Endpoint *string `json:"endpoint,omitempty"` + Endpoint *string // A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode. - KeyID *string `json:"keyId,omitempty"` + KeyID *string // The APNS certificate thumbprint. Specify if using Certificate Authentication Mode. - Thumbprint *string `json:"thumbprint,omitempty"` + Thumbprint *string // Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode. - Token *string `json:"token,omitempty"` + Token *string } // BaiduCredential - Description of a NotificationHub BaiduCredential. type BaiduCredential struct { // Properties of NotificationHub BaiduCredential. - Properties *BaiduCredentialProperties `json:"properties,omitempty"` + Properties *BaiduCredentialProperties } // BaiduCredentialProperties - Description of a NotificationHub BaiduCredential. type BaiduCredentialProperties struct { // Baidu Api Key. - BaiduAPIKey *string `json:"baiduApiKey,omitempty"` + BaiduAPIKey *string // Baidu Endpoint. - BaiduEndPoint *string `json:"baiduEndPoint,omitempty"` + BaiduEndPoint *string // Baidu Secret Key - BaiduSecretKey *string `json:"baiduSecretKey,omitempty"` + BaiduSecretKey *string } // CheckAvailabilityParameters - Parameters supplied to the Check Name Availability for Namespace and NotificationHubs. type CheckAvailabilityParameters struct { // REQUIRED; Resource name - Name *string `json:"name,omitempty"` + Name *string // True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false. - IsAvailiable *bool `json:"isAvailiable,omitempty"` + IsAvailiable *bool // Resource location - Location *string `json:"location,omitempty"` + Location *string // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // CheckAvailabilityResult - Description of a CheckAvailability resource. type CheckAvailabilityResult struct { // True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false. - IsAvailiable *bool `json:"isAvailiable,omitempty"` + IsAvailiable *bool // Resource location - Location *string `json:"location,omitempty"` + Location *string // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ClientCheckNotificationHubAvailabilityOptions contains the optional parameters for the Client.CheckNotificationHubAvailability @@ -211,192 +211,192 @@ type ClientRegenerateKeysOptions struct { // DebugSendResponse - Description of a NotificationHub Resource. type DebugSendResponse struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the NotificationHub. - Properties *DebugSendResult `json:"properties,omitempty"` + Properties *DebugSendResult // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } type DebugSendResult struct { // send failure - Failure *float32 `json:"failure,omitempty"` + Failure *float32 // actual failure description - Results any `json:"results,omitempty"` + Results any // successful send - Success *float32 `json:"success,omitempty"` + Success *float32 } // ErrorResponse - Error response indicates NotificationHubs service is not able to process the incoming request. The reason // is provided in the error message. type ErrorResponse struct { // Error code. - Code *string `json:"code,omitempty"` + Code *string // Error message indicating why the operation failed. - Message *string `json:"message,omitempty"` + Message *string } // GCMCredential - Description of a NotificationHub GcmCredential. type GCMCredential struct { // Properties of NotificationHub GcmCredential. - Properties *GCMCredentialProperties `json:"properties,omitempty"` + Properties *GCMCredentialProperties } // GCMCredentialProperties - Description of a NotificationHub GcmCredential. type GCMCredentialProperties struct { // The FCM legacy endpoint. Default value is 'https://fcm.googleapis.com/fcm/send' - GCMEndpoint *string `json:"gcmEndpoint,omitempty"` + GCMEndpoint *string // The Google API key. - GoogleAPIKey *string `json:"googleApiKey,omitempty"` + GoogleAPIKey *string } // MpnsCredential - Description of a NotificationHub MpnsCredential. type MpnsCredential struct { // Properties of NotificationHub MpnsCredential. - Properties *MpnsCredentialProperties `json:"properties,omitempty"` + Properties *MpnsCredentialProperties } // MpnsCredentialProperties - Description of a NotificationHub MpnsCredential. type MpnsCredentialProperties struct { // The certificate key for this credential. - CertificateKey *string `json:"certificateKey,omitempty"` + CertificateKey *string // The MPNS certificate. - MpnsCertificate *string `json:"mpnsCertificate,omitempty"` + MpnsCertificate *string // The MPNS certificate Thumbprint - Thumbprint *string `json:"thumbprint,omitempty"` + Thumbprint *string } // NamespaceCreateOrUpdateParameters - Parameters supplied to the CreateOrUpdate Namespace operation. type NamespaceCreateOrUpdateParameters struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the Namespace. - Properties *NamespaceProperties `json:"properties,omitempty"` + Properties *NamespaceProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NamespaceListResult - The response of the List Namespace operation. type NamespaceListResult struct { // Link to the next set of results. Not empty if Value contains incomplete list of Namespaces - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Result of the List Namespace operation. - Value []*NamespaceResource `json:"value,omitempty"` + Value []*NamespaceResource } // NamespacePatchParameters - Parameters supplied to the Patch Namespace operation. type NamespacePatchParameters struct { // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // NamespaceProperties - Namespace properties. type NamespaceProperties struct { // The time the namespace was created. - CreatedAt *time.Time `json:"createdAt,omitempty"` + CreatedAt *time.Time // Whether or not the namespace is set as Critical. - Critical *bool `json:"critical,omitempty"` + Critical *bool // Data center for the namespace - DataCenter *string `json:"dataCenter,omitempty"` + DataCenter *string // Whether or not the namespace is currently enabled. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // The name of the namespace. - Name *string `json:"name,omitempty"` + Name *string // The namespace type. - NamespaceType *NamespaceType `json:"namespaceType,omitempty"` + NamespaceType *NamespaceType // Provisioning state of the Namespace. - ProvisioningState *string `json:"provisioningState,omitempty"` + ProvisioningState *string // Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia // East, Australia Southeast, Central US, East US, East US 2, West US, North // Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe - Region *string `json:"region,omitempty"` + Region *string // ScaleUnit where the namespace gets created - ScaleUnit *string `json:"scaleUnit,omitempty"` + ScaleUnit *string // Endpoint you can use to perform NotificationHub operations. - ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` + ServiceBusEndpoint *string // Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting - Status *string `json:"status,omitempty"` + Status *string // The Id of the Azure subscription associated with the namespace. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string // The time the namespace was updated. - UpdatedAt *time.Time `json:"updatedAt,omitempty"` + UpdatedAt *time.Time // READ-ONLY; Identifier for Azure Insights metrics - MetricID *string `json:"metricId,omitempty" azure:"ro"` + MetricID *string } // NamespaceResource - Description of a Namespace resource. type NamespaceResource struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the Namespace. - Properties *NamespaceProperties `json:"properties,omitempty"` + Properties *NamespaceProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NamespacesClientBeginDeleteOptions contains the optional parameters for the NamespacesClient.BeginDelete method. @@ -472,143 +472,143 @@ type NamespacesClientRegenerateKeysOptions struct { // NotificationHubCreateOrUpdateParameters - Parameters supplied to the CreateOrUpdate NotificationHub operation. type NotificationHubCreateOrUpdateParameters struct { // REQUIRED; Properties of the NotificationHub. - Properties *NotificationHubProperties `json:"properties,omitempty"` + Properties *NotificationHubProperties // Resource location - Location *string `json:"location,omitempty"` + Location *string // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NotificationHubListResult - The response of the List NotificationHub operation. type NotificationHubListResult struct { // Link to the next set of results. Not empty if Value contains incomplete list of NotificationHub - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Result of the List NotificationHub operation. - Value []*NotificationHubResource `json:"value,omitempty"` + Value []*NotificationHubResource } // NotificationHubPatchParameters - Parameters supplied to the patch NotificationHub operation. type NotificationHubPatchParameters struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the NotificationHub. - Properties *NotificationHubProperties `json:"properties,omitempty"` + Properties *NotificationHubProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // NotificationHubProperties - NotificationHub properties. type NotificationHubProperties struct { // The AdmCredential of the created NotificationHub - AdmCredential *AdmCredential `json:"admCredential,omitempty"` + AdmCredential *AdmCredential // The ApnsCredential of the created NotificationHub - ApnsCredential *ApnsCredential `json:"apnsCredential,omitempty"` + ApnsCredential *ApnsCredential // The AuthorizationRules of the created NotificationHub - AuthorizationRules []*SharedAccessAuthorizationRuleProperties `json:"authorizationRules,omitempty"` + AuthorizationRules []*SharedAccessAuthorizationRuleProperties // The BaiduCredential of the created NotificationHub - BaiduCredential *BaiduCredential `json:"baiduCredential,omitempty"` + BaiduCredential *BaiduCredential // The GcmCredential of the created NotificationHub - GCMCredential *GCMCredential `json:"gcmCredential,omitempty"` + GCMCredential *GCMCredential // The MpnsCredential of the created NotificationHub - MpnsCredential *MpnsCredential `json:"mpnsCredential,omitempty"` + MpnsCredential *MpnsCredential // The NotificationHub name. - Name *string `json:"name,omitempty"` + Name *string // The RegistrationTtl of the created NotificationHub - RegistrationTTL *string `json:"registrationTtl,omitempty"` + RegistrationTTL *string // The WnsCredential of the created NotificationHub - WnsCredential *WnsCredential `json:"wnsCredential,omitempty"` + WnsCredential *WnsCredential } // NotificationHubResource - Description of a NotificationHub Resource. type NotificationHubResource struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the NotificationHub. - Properties *NotificationHubProperties `json:"properties,omitempty"` + Properties *NotificationHubProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Operation - A NotificationHubs 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}/{operation} - Name *string `json:"name,omitempty" azure:"ro"` + Name *string } // OperationDisplay - The object that represents the operation. type OperationDisplay struct { // READ-ONLY; Operation type: Read, write, delete, etc. - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Service provider: Microsoft.NotificationHubs - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource on which the operation is performed: Invoice, etc. - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationListResult - Result of the request to list NotificationHubs 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 NotificationHubs operations supported by the Microsoft.NotificationHubs resource provider. - Value []*Operation `json:"value,omitempty" azure:"ro"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -619,199 +619,199 @@ type OperationsClientListOptions struct { // PnsCredentialsProperties - Description of a NotificationHub PNS Credentials. type PnsCredentialsProperties struct { // The AdmCredential of the created NotificationHub - AdmCredential *AdmCredential `json:"admCredential,omitempty"` + AdmCredential *AdmCredential // The ApnsCredential of the created NotificationHub - ApnsCredential *ApnsCredential `json:"apnsCredential,omitempty"` + ApnsCredential *ApnsCredential // The BaiduCredential of the created NotificationHub - BaiduCredential *BaiduCredential `json:"baiduCredential,omitempty"` + BaiduCredential *BaiduCredential // The GcmCredential of the created NotificationHub - GCMCredential *GCMCredential `json:"gcmCredential,omitempty"` + GCMCredential *GCMCredential // The MpnsCredential of the created NotificationHub - MpnsCredential *MpnsCredential `json:"mpnsCredential,omitempty"` + MpnsCredential *MpnsCredential // The WnsCredential of the created NotificationHub - WnsCredential *WnsCredential `json:"wnsCredential,omitempty"` + WnsCredential *WnsCredential } // PnsCredentialsResource - Description of a NotificationHub PNS Credentials. type PnsCredentialsResource struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // NotificationHub PNS Credentials. - Properties *PnsCredentialsProperties `json:"properties,omitempty"` + Properties *PnsCredentialsProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PolicykeyResource - Namespace/NotificationHub Regenerate Keys type PolicykeyResource struct { // Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary // Key/Secondary Key. - PolicyKey *string `json:"policyKey,omitempty"` + PolicyKey *string } type Resource struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ResourceListKeys - Namespace/NotificationHub Connection String type ResourceListKeys struct { // KeyName of the created AuthorizationRule - KeyName *string `json:"keyName,omitempty"` + KeyName *string // PrimaryConnectionString of the AuthorizationRule. - PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"` + PrimaryConnectionString *string // PrimaryKey of the created AuthorizationRule. - PrimaryKey *string `json:"primaryKey,omitempty"` + PrimaryKey *string // SecondaryConnectionString of the created AuthorizationRule - SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"` + SecondaryConnectionString *string // SecondaryKey of the created AuthorizationRule - SecondaryKey *string `json:"secondaryKey,omitempty"` + SecondaryKey *string } // SKU - The Sku description for a namespace type SKU struct { // REQUIRED; Name of the notification hub sku - Name *SKUName `json:"name,omitempty"` + Name *SKUName // The capacity of the resource - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // The Sku Family - Family *string `json:"family,omitempty"` + Family *string // The Sku size - Size *string `json:"size,omitempty"` + Size *string // The tier of particular sku - Tier *string `json:"tier,omitempty"` + Tier *string } // SharedAccessAuthorizationRuleCreateOrUpdateParameters - Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules. type SharedAccessAuthorizationRuleCreateOrUpdateParameters struct { // REQUIRED; Properties of the Namespace AuthorizationRules. - Properties *SharedAccessAuthorizationRuleProperties `json:"properties,omitempty"` + Properties *SharedAccessAuthorizationRuleProperties } // SharedAccessAuthorizationRuleListResult - The response of the List Namespace operation. type SharedAccessAuthorizationRuleListResult struct { // Link to the next set of results. Not empty if Value contains incomplete list of AuthorizationRules - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Result of the List AuthorizationRules operation. - Value []*SharedAccessAuthorizationRuleResource `json:"value,omitempty"` + Value []*SharedAccessAuthorizationRuleResource } // SharedAccessAuthorizationRuleProperties - SharedAccessAuthorizationRule properties. type SharedAccessAuthorizationRuleProperties struct { // The rights associated with the rule. - Rights []*AccessRights `json:"rights,omitempty"` + Rights []*AccessRights // READ-ONLY; A string that describes the claim type - ClaimType *string `json:"claimType,omitempty" azure:"ro"` + ClaimType *string // READ-ONLY; A string that describes the claim value - ClaimValue *string `json:"claimValue,omitempty" azure:"ro"` + ClaimValue *string // READ-ONLY; The created time for this rule - CreatedTime *string `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *string // READ-ONLY; A string that describes the authorization rule. - KeyName *string `json:"keyName,omitempty" azure:"ro"` + KeyName *string // READ-ONLY; The last modified time for this rule - ModifiedTime *string `json:"modifiedTime,omitempty" azure:"ro"` + ModifiedTime *string // READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token. - PrimaryKey *string `json:"primaryKey,omitempty" azure:"ro"` + PrimaryKey *string // READ-ONLY; The revision number for the rule - Revision *int32 `json:"revision,omitempty" azure:"ro"` + Revision *int32 // READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token. - SecondaryKey *string `json:"secondaryKey,omitempty" azure:"ro"` + SecondaryKey *string } // SharedAccessAuthorizationRuleResource - Description of a Namespace AuthorizationRules. type SharedAccessAuthorizationRuleResource struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties of the Namespace AuthorizationRule. - Properties *SharedAccessAuthorizationRuleProperties `json:"properties,omitempty"` + Properties *SharedAccessAuthorizationRuleProperties // The sku of the created namespace - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Id - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } type SubResource struct { // Resource Id - ID *string `json:"id,omitempty"` + ID *string } // WnsCredential - Description of a NotificationHub WnsCredential. type WnsCredential struct { // Properties of NotificationHub WnsCredential. - Properties *WnsCredentialProperties `json:"properties,omitempty"` + Properties *WnsCredentialProperties } // WnsCredentialProperties - Description of a NotificationHub WnsCredential. type WnsCredentialProperties struct { // The package ID for this credential. - PackageSid *string `json:"packageSid,omitempty"` + PackageSid *string // The secret key. - SecretKey *string `json:"secretKey,omitempty"` + SecretKey *string // The Windows Live endpoint. - WindowsLiveEndpoint *string `json:"windowsLiveEndpoint,omitempty"` + WindowsLiveEndpoint *string } diff --git a/sdk/resourcemanager/notificationhubs/armnotificationhubs/models_serde.go b/sdk/resourcemanager/notificationhubs/armnotificationhubs/models_serde.go index 6091d485a006..1c751efd31ae 100644 --- a/sdk/resourcemanager/notificationhubs/armnotificationhubs/models_serde.go +++ b/sdk/resourcemanager/notificationhubs/armnotificationhubs/models_serde.go @@ -379,7 +379,7 @@ func (d *DebugSendResponse) UnmarshalJSON(data []byte) error { func (d DebugSendResult) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "failure", d.Failure) - populate(objectMap, "results", &d.Results) + populateAny(objectMap, "results", d.Results) populate(objectMap, "success", d.Success) return json.Marshal(objectMap) } @@ -1669,6 +1669,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/oep/armoep/CHANGELOG.md b/sdk/resourcemanager/oep/armoep/CHANGELOG.md index ba69c3915f06..2d51616bbc48 100644 --- a/sdk/resourcemanager/oep/armoep/CHANGELOG.md +++ b/sdk/resourcemanager/oep/armoep/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.5.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 0.5.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/oep/armoep/autorest.md b/sdk/resourcemanager/oep/armoep/autorest.md index 7e040c263d29..3344ebc3b27d 100644 --- a/sdk/resourcemanager/oep/armoep/autorest.md +++ b/sdk/resourcemanager/oep/armoep/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/oep/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/oep/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.5.0 +module-version: 0.5.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/oep/armoep/constants.go b/sdk/resourcemanager/oep/armoep/constants.go index 83ad607c5816..dfafe2d636ff 100644 --- a/sdk/resourcemanager/oep/armoep/constants.go +++ b/sdk/resourcemanager/oep/armoep/constants.go @@ -11,7 +11,7 @@ package armoep const ( moduleName = "armoep" - moduleVersion = "v0.5.0" + moduleVersion = "v0.5.1" ) // ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. diff --git a/sdk/resourcemanager/oep/armoep/models.go b/sdk/resourcemanager/oep/armoep/models.go index 6d78b6aeff16..7a2380694609 100644 --- a/sdk/resourcemanager/oep/armoep/models.go +++ b/sdk/resourcemanager/oep/armoep/models.go @@ -14,100 +14,100 @@ import "time" // CheckNameAvailabilityRequest - The check availability request body. type CheckNameAvailabilityRequest struct { // The name of the resource for which availability needs to be checked. - Name *string `json:"name,omitempty"` + Name *string // The resource type. - Type *string `json:"type,omitempty"` + Type *string } // CheckNameAvailabilityResponse - The check availability result. type CheckNameAvailabilityResponse struct { // Detailed reason why the given name is available. - Message *string `json:"message,omitempty"` + Message *string // Indicates if the resource name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // The reason why the given name is not available. - Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` + Reason *CheckNameAvailabilityReason } // DataPartitionAddOrRemoveRequest - Defines the partition add/ delete action properties. type DataPartitionAddOrRemoveRequest struct { // Name of the data partition - Name *string `json:"name,omitempty"` + Name *string } // DataPartitionNames - The list of Energy services resource's Data Partition Names. type DataPartitionNames struct { - Name *string `json:"name,omitempty"` + Name *string } // DataPartitionProperties - Defines the properties of an individual data partition. type DataPartitionProperties struct { // Name of the data partition - Name *string `json:"name,omitempty"` + Name *string // Name of the data partition - ProvisioningState *string `json:"provisioningState,omitempty"` + ProvisioningState *string } // DataPartitionsList - List of data partitions type DataPartitionsList struct { - DataPartitionNames []*DataPartitionNames `json:"dataPartitionNames,omitempty"` + DataPartitionNames []*DataPartitionNames } // DataPartitionsListResult - List of data partitions. type DataPartitionsListResult struct { // List of data partitions along with their properties in a given OEP resource. - Value []*DataPartitionProperties `json:"value,omitempty"` + Value []*DataPartitionProperties } // EnergyResourceUpdate - The resource model definition used for updating a tracked ARM resource. type EnergyResourceUpdate struct { // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } type EnergyService struct { // REQUIRED; Geo-location where the resource lives. - Location *string `json:"location,omitempty"` - Properties *EnergyServiceProperties `json:"properties,omitempty"` + Location *string + Properties *EnergyServiceProperties // 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; 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 } // EnergyServiceList - The list of oep resources. type EnergyServiceList struct { // The link used to get the next page of oep resources list. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of oep resources. - Value []*EnergyService `json:"value,omitempty"` + Value []*EnergyService } type EnergyServiceProperties struct { - AuthAppID *string `json:"authAppId,omitempty"` - DataPartitionNames []*DataPartitionNames `json:"dataPartitionNames,omitempty"` + AuthAppID *string + DataPartitionNames []*DataPartitionNames // READ-ONLY - DNSName *string `json:"dnsName,omitempty" azure:"ro"` + DNSName *string // READ-ONLY - ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ProvisioningState } // EnergyServicesClientBeginAddPartitionOptions contains the optional parameters for the EnergyServicesClient.BeginAddPartition @@ -173,35 +173,35 @@ type EnergyServicesClientUpdateOptions 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 } // LocationsClientCheckNameAvailabilityOptions contains the optional parameters for the LocationsClient.CheckNameAvailability @@ -213,50 +213,50 @@ type LocationsClientCheckNameAvailabilityOptions struct { // 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 } // OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. @@ -267,35 +267,35 @@ type OperationsClientListOptions 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; 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 } // 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/oep/armoep/models_serde.go b/sdk/resourcemanager/oep/armoep/models_serde.go index d03fe92b6e33..ab7df9f411f0 100644 --- a/sdk/resourcemanager/oep/armoep/models_serde.go +++ b/sdk/resourcemanager/oep/armoep/models_serde.go @@ -372,7 +372,7 @@ func (e *EnergyServiceProperties) 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) } @@ -679,6 +679,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/operationalinsights/armoperationalinsights/CHANGELOG.md b/sdk/resourcemanager/operationalinsights/armoperationalinsights/CHANGELOG.md index c3cf4ab89104..8e1fde837eab 100644 --- a/sdk/resourcemanager/operationalinsights/armoperationalinsights/CHANGELOG.md +++ b/sdk/resourcemanager/operationalinsights/armoperationalinsights/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/operationalinsights/armoperationalinsights/autorest.md b/sdk/resourcemanager/operationalinsights/armoperationalinsights/autorest.md index 8f31b9aefc63..0cd354ebb767 100644 --- a/sdk/resourcemanager/operationalinsights/armoperationalinsights/autorest.md +++ b/sdk/resourcemanager/operationalinsights/armoperationalinsights/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/c767823fdfd9d5e96bad245e3ea4d14d94a716bb/specification/operationalinsights/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/c767823fdfd9d5e96bad245e3ea4d14d94a716bb/specification/operationalinsights/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/operationalinsights/armoperationalinsights/constants.go b/sdk/resourcemanager/operationalinsights/armoperationalinsights/constants.go index 6910fd423416..a4dbf691c1aa 100644 --- a/sdk/resourcemanager/operationalinsights/armoperationalinsights/constants.go +++ b/sdk/resourcemanager/operationalinsights/armoperationalinsights/constants.go @@ -11,7 +11,7 @@ package armoperationalinsights const ( moduleName = "armoperationalinsights" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // BillingType - Configures whether billing will be only on the cluster or each workspace will be billed by its proportional diff --git a/sdk/resourcemanager/operationalinsights/armoperationalinsights/models.go b/sdk/resourcemanager/operationalinsights/armoperationalinsights/models.go index ba5f1a56dfdf..197a49421030 100644 --- a/sdk/resourcemanager/operationalinsights/armoperationalinsights/models.go +++ b/sdk/resourcemanager/operationalinsights/armoperationalinsights/models.go @@ -14,40 +14,40 @@ import "time" // AssociatedWorkspace - The list of Log Analytics workspaces associated with the cluster. type AssociatedWorkspace struct { // READ-ONLY; The time of workspace association. - AssociateDate *string `json:"associateDate,omitempty" azure:"ro"` + AssociateDate *string // READ-ONLY; The ResourceId id the assigned workspace. - ResourceID *string `json:"resourceId,omitempty" azure:"ro"` + ResourceID *string // READ-ONLY; The id of the assigned workspace. - WorkspaceID *string `json:"workspaceId,omitempty" azure:"ro"` + WorkspaceID *string // READ-ONLY; The name id the assigned workspace. - WorkspaceName *string `json:"workspaceName,omitempty" azure:"ro"` + WorkspaceName *string } // AvailableServiceTier - Service Tier details. type AvailableServiceTier struct { // READ-ONLY; The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier. - CapacityReservationLevel *int64 `json:"capacityReservationLevel,omitempty" azure:"ro"` + CapacityReservationLevel *int64 // READ-ONLY; The default retention for the Service Tier, in days. - DefaultRetention *int64 `json:"defaultRetention,omitempty" azure:"ro"` + DefaultRetention *int64 // READ-ONLY; True if the Service Tier is enabled for the workspace. - Enabled *bool `json:"enabled,omitempty" azure:"ro"` + Enabled *bool // READ-ONLY; Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier. - LastSKUUpdate *string `json:"lastSkuUpdate,omitempty" azure:"ro"` + LastSKUUpdate *string // READ-ONLY; The maximum retention for the Service Tier, in days. - MaximumRetention *int64 `json:"maximumRetention,omitempty" azure:"ro"` + MaximumRetention *int64 // READ-ONLY; The minimum retention for the Service Tier, in days. - MinimumRetention *int64 `json:"minimumRetention,omitempty" azure:"ro"` + MinimumRetention *int64 // READ-ONLY; The name of the Service Tier. - ServiceTier *SKUNameEnum `json:"serviceTier,omitempty" azure:"ro"` + ServiceTier *SKUNameEnum } // AvailableServiceTiersClientListByWorkspaceOptions contains the optional parameters for the AvailableServiceTiersClient.ListByWorkspace @@ -59,130 +59,130 @@ type AvailableServiceTiersClientListByWorkspaceOptions struct { // AzureEntityResource - The resource model definition for an Azure Resource Manager resource with an etag. type AzureEntityResource struct { // READ-ONLY; Resource Etag. - 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 } // CapacityReservationProperties - The Capacity Reservation properties. type CapacityReservationProperties struct { // READ-ONLY; The last time Sku was updated. - LastSKUUpdate *string `json:"lastSkuUpdate,omitempty" azure:"ro"` + LastSKUUpdate *string // READ-ONLY; Minimum CapacityReservation value in GB. - MinCapacity *int64 `json:"minCapacity,omitempty" azure:"ro"` + MinCapacity *int64 } // Cluster - The top level Log Analytics cluster resource container. type Cluster struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // The identity of the resource. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Log Analytics cluster properties. - Properties *ClusterProperties `json:"properties,omitempty"` + Properties *ClusterProperties // The sku properties. - SKU *ClusterSKU `json:"sku,omitempty"` + SKU *ClusterSKU // 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 } // ClusterListResult - The list clusters operation response. type ClusterListResult struct { // The link used to get the next page of recommendations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of Log Analytics clusters. - Value []*Cluster `json:"value,omitempty"` + Value []*Cluster } // ClusterPatch - The top level Log Analytics cluster resource container. type ClusterPatch struct { // The identity of the resource. - Identity *Identity `json:"identity,omitempty"` + Identity *Identity // Log Analytics cluster properties. - Properties *ClusterPatchProperties `json:"properties,omitempty"` + Properties *ClusterPatchProperties // The sku properties. - SKU *ClusterSKU `json:"sku,omitempty"` + SKU *ClusterSKU // Resource tags. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ClusterPatchProperties - Log Analytics cluster patch properties. type ClusterPatchProperties struct { // The cluster's billing type. - BillingType *BillingType `json:"billingType,omitempty"` + BillingType *BillingType // The associated key properties. - KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` + KeyVaultProperties *KeyVaultProperties } // ClusterProperties - Cluster properties. type ClusterProperties struct { // The list of Log Analytics workspaces associated with the cluster - AssociatedWorkspaces []*AssociatedWorkspace `json:"associatedWorkspaces,omitempty"` + AssociatedWorkspaces []*AssociatedWorkspace // The cluster's billing type. - BillingType *BillingType `json:"billingType,omitempty"` + BillingType *BillingType // Additional properties for capacity reservation - CapacityReservationProperties *CapacityReservationProperties `json:"capacityReservationProperties,omitempty"` + CapacityReservationProperties *CapacityReservationProperties // Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer // support Availability Zones. This Property can not be modified after cluster // creation. Default value is 'true' if region supports Availability Zones. - IsAvailabilityZonesEnabled *bool `json:"isAvailabilityZonesEnabled,omitempty"` + IsAvailabilityZonesEnabled *bool // Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default // value is 'true' - IsDoubleEncryptionEnabled *bool `json:"isDoubleEncryptionEnabled,omitempty"` + IsDoubleEncryptionEnabled *bool // The associated key properties. - KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` + KeyVaultProperties *KeyVaultProperties // READ-ONLY; The ID associated with the cluster. - ClusterID *string `json:"clusterId,omitempty" azure:"ro"` + ClusterID *string // READ-ONLY; The cluster creation time - CreatedDate *string `json:"createdDate,omitempty" azure:"ro"` + CreatedDate *string // READ-ONLY; The last time the cluster was updated. - LastModifiedDate *string `json:"lastModifiedDate,omitempty" azure:"ro"` + LastModifiedDate *string // READ-ONLY; The provisioning state of the cluster. - ProvisioningState *ClusterEntityStatus `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *ClusterEntityStatus } // ClusterSKU - The cluster sku definition. type ClusterSKU struct { // The capacity value - Capacity *Capacity `json:"capacity,omitempty"` + Capacity *Capacity // The name of the SKU. - Name *ClusterSKUNameEnum `json:"name,omitempty"` + Name *ClusterSKUNameEnum } // ClustersClientBeginCreateOrUpdateOptions contains the optional parameters for the ClustersClient.BeginCreateOrUpdate method. @@ -222,52 +222,52 @@ type ClustersClientListOptions struct { // CoreSummary - The core summary of a search. type CoreSummary struct { // REQUIRED; The number of documents of a core summary. - NumberOfDocuments *int64 `json:"numberOfDocuments,omitempty"` + NumberOfDocuments *int64 // The status of a core summary. - Status *string `json:"status,omitempty"` + Status *string } // DataExport - The top level data export resource container. type DataExport struct { // data export properties. - Properties *DataExportProperties `json:"properties,omitempty"` + Properties *DataExportProperties // 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 } // DataExportListResult - Result of the request to list data exports. type DataExportListResult struct { // List of data export instances within a workspace.. - Value []*DataExport `json:"value,omitempty"` + Value []*DataExport } // DataExportProperties - Data Export properties. type DataExportProperties struct { // REQUIRED; An array of tables to export, for example: [“Heartbeat, SecurityEvent”]. - TableNames []*string `json:"tableNames,omitempty"` + TableNames []*string // The latest data export rule modification time. - CreatedDate *string `json:"createdDate,omitempty"` + CreatedDate *string // The data export rule ID. - DataExportID *string `json:"dataExportId,omitempty"` + DataExportID *string // destination properties. - Destination *Destination `json:"destination,omitempty"` + Destination *Destination // Active when enabled. - Enable *bool `json:"enable,omitempty"` + Enable *bool // Date and time when the export was last modified. - LastModifiedDate *string `json:"lastModifiedDate,omitempty"` + LastModifiedDate *string } // DataExportsClientCreateOrUpdateOptions contains the optional parameters for the DataExportsClient.CreateOrUpdate method. @@ -294,40 +294,40 @@ type DataExportsClientListByWorkspaceOptions struct { // DataSource - Datasources under OMS Workspace. type DataSource struct { // REQUIRED; The kind of the DataSource. - Kind *DataSourceKind `json:"kind,omitempty"` + Kind *DataSourceKind // REQUIRED; The data source properties in raw json format, each kind of data source have it's own schema. - Properties any `json:"properties,omitempty"` + Properties any // The ETag of the data source. - Etag *string `json:"etag,omitempty"` + Etag *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 } // DataSourceFilter - DataSource filter. Right now, only filter by kind is supported. type DataSourceFilter struct { // The kind of the DataSource. - Kind *DataSourceKind `json:"kind,omitempty"` + Kind *DataSourceKind } // DataSourceListResult - The list data source by workspace operation response. type DataSourceListResult struct { // The link (url) to the next page of datasources. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // A list of datasources. - Value []*DataSource `json:"value,omitempty"` + Value []*DataSource } // DataSourcesClientCreateOrUpdateOptions contains the optional parameters for the DataSourcesClient.CreateOrUpdate method. @@ -366,53 +366,53 @@ type DeletedWorkspacesClientListOptions struct { // Destination properties. type Destination struct { // REQUIRED; The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // destination meta data. - MetaData *DestinationMetaData `json:"metaData,omitempty"` + MetaData *DestinationMetaData // READ-ONLY; The type of the destination resource - Type *Type `json:"type,omitempty" azure:"ro"` + Type *Type } // DestinationMetaData - Destination meta data. type DestinationMetaData struct { // Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account. - EventHubName *string `json:"eventHubName,omitempty"` + EventHubName *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 } // GatewaysClientDeleteOptions contains the optional parameters for the GatewaysClient.Delete method. @@ -423,30 +423,30 @@ type GatewaysClientDeleteOptions struct { // Identity for the resource. type Identity struct { // REQUIRED; Type of managed service identity. - Type *IdentityType `json:"type,omitempty"` + Type *IdentityType // The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource // ids in the form: // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - UserAssignedIdentities map[string]*UserIdentityProperties `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]*UserIdentityProperties // 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 } // IntelligencePack - Intelligence Pack containing a string name and boolean indicating if it's enabled. type IntelligencePack struct { // The display name of the intelligence pack. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The enabled boolean for the intelligence pack. - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool // The name of the intelligence pack. - Name *string `json:"name,omitempty"` + Name *string } // IntelligencePacksClientDisableOptions contains the optional parameters for the IntelligencePacksClient.Disable method. @@ -467,54 +467,54 @@ type IntelligencePacksClientListOptions struct { // KeyVaultProperties - The key vault properties. type KeyVaultProperties struct { // The name of the key associated with the Log Analytics cluster. - KeyName *string `json:"keyName,omitempty"` + KeyName *string // Selected key minimum required size. - KeyRsaSize *int32 `json:"keyRsaSize,omitempty"` + KeyRsaSize *int32 // The Key Vault uri which holds they key associated with the Log Analytics cluster. - KeyVaultURI *string `json:"keyVaultUri,omitempty"` + KeyVaultURI *string // The version of the key associated with the Log Analytics cluster. - KeyVersion *string `json:"keyVersion,omitempty"` + KeyVersion *string } // LinkedService - The top level Linked service resource container. type LinkedService struct { // REQUIRED; The properties of the linked service. - Properties *LinkedServiceProperties `json:"properties,omitempty"` + Properties *LinkedServiceProperties // 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 } // LinkedServiceListResult - The list linked service operation response. type LinkedServiceListResult struct { // The list of linked service instances - Value []*LinkedService `json:"value,omitempty"` + Value []*LinkedService } // LinkedServiceProperties - Linked service properties. type LinkedServiceProperties struct { // The provisioning state of the linked service. - ProvisioningState *LinkedServiceEntityStatus `json:"provisioningState,omitempty"` + ProvisioningState *LinkedServiceEntityStatus // The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require // read access - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require // write access - WriteAccessResourceID *string `json:"writeAccessResourceId,omitempty"` + WriteAccessResourceID *string } // LinkedServicesClientBeginCreateOrUpdateOptions contains the optional parameters for the LinkedServicesClient.BeginCreateOrUpdate @@ -566,64 +566,64 @@ type LinkedStorageAccountsClientListByWorkspaceOptions struct { // LinkedStorageAccountsListResult - The list linked storage accounts service operation response. type LinkedStorageAccountsListResult struct { // A list of linked storage accounts instances. - Value []*LinkedStorageAccountsResource `json:"value,omitempty"` + Value []*LinkedStorageAccountsResource } // LinkedStorageAccountsProperties - Linked storage accounts properties. type LinkedStorageAccountsProperties struct { // Linked storage accounts resources ids. - StorageAccountIDs []*string `json:"storageAccountIds,omitempty"` + StorageAccountIDs []*string // READ-ONLY; Linked storage accounts type. - DataSourceType *DataSourceType `json:"dataSourceType,omitempty" azure:"ro"` + DataSourceType *DataSourceType } // LinkedStorageAccountsResource - Linked storage accounts top level resource container. type LinkedStorageAccountsResource struct { // REQUIRED; Linked storage accounts properties. - Properties *LinkedStorageAccountsProperties `json:"properties,omitempty"` + Properties *LinkedStorageAccountsProperties // 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 } // ManagementGroup - A management group that is connected to a workspace type ManagementGroup struct { // The properties of the management group. - Properties *ManagementGroupProperties `json:"properties,omitempty"` + Properties *ManagementGroupProperties } // ManagementGroupProperties - Management group properties. type ManagementGroupProperties struct { // The datetime that the management group was created. - Created *time.Time `json:"created,omitempty"` + Created *time.Time // The last datetime that the management group received data. - DataReceived *time.Time `json:"dataReceived,omitempty"` + DataReceived *time.Time // The unique ID of the management group. - ID *string `json:"id,omitempty"` + ID *string // Gets or sets a value indicating whether the management group is a gateway. - IsGateway *bool `json:"isGateway,omitempty"` + IsGateway *bool // The name of the management group. - Name *string `json:"name,omitempty"` + Name *string // The SKU of System Center that is managing the management group. - SKU *string `json:"sku,omitempty"` + SKU *string // The number of servers connected to the management group. - ServerCount *int32 `json:"serverCount,omitempty"` + ServerCount *int32 // The version of System Center that is managing the management group. - Version *string `json:"version,omitempty"` + Version *string } // ManagementGroupsClientListOptions contains the optional parameters for the ManagementGroupsClient.NewListPager method. @@ -634,64 +634,64 @@ type ManagementGroupsClientListOptions struct { // MetricName - The name of a metric. type MetricName struct { // The localized name of the metric. - LocalizedValue *string `json:"localizedValue,omitempty"` + LocalizedValue *string // The system name of the metric. - Value *string `json:"value,omitempty"` + Value *string } // Operation - Supported operation of OperationalInsights resource provider. type Operation struct { // Display metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Operation name: {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` + Name *string } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // Description of operation - Description *string `json:"description,omitempty"` + Description *string // Type of operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft OperationsManagement. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed etc. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of the request to list solution operations. type OperationListResult struct { // List of solution operations supported by the OperationsManagement resource provider. - Value []*Operation `json:"value,omitempty"` + Value []*Operation // 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 } // OperationStatus - The status of operation. type OperationStatus struct { // The end time of the operation. - EndTime *string `json:"endTime,omitempty"` + EndTime *string // The error detail of the operation if any. - Error *ErrorResponse `json:"error,omitempty"` + Error *ErrorResponse // The operation Id. - ID *string `json:"id,omitempty"` + ID *string // The operation name. - Name *string `json:"name,omitempty"` + Name *string // The start time of the operation. - StartTime *string `json:"startTime,omitempty"` + StartTime *string // The status of the operation. - Status *string `json:"status,omitempty"` + Status *string } // OperationStatusesClientGetOptions contains the optional parameters for the OperationStatusesClient.Get method. @@ -707,79 +707,79 @@ type OperationsClientListOptions struct { // PrivateLinkScopedResource - The private link scope resource reference. type PrivateLinkScopedResource struct { // The full resource Id of the private link scope resource. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // The private link scope unique Identifier. - ScopeID *string `json:"scopeId,omitempty"` + ScopeID *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 } // SavedSearch - Value object for saved search results. type SavedSearch struct { // REQUIRED; The properties of the saved search. - Properties *SavedSearchProperties `json:"properties,omitempty"` + Properties *SavedSearchProperties // The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag - Etag *string `json:"etag,omitempty"` + 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 } // SavedSearchProperties - Value object for saved search results. type SavedSearchProperties struct { // REQUIRED; The category of the saved search. This helps the user to find a saved search faster. - Category *string `json:"category,omitempty"` + Category *string // REQUIRED; Saved search display name. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // REQUIRED; The query expression for the saved search. - Query *string `json:"query,omitempty"` + Query *string // The function alias if query serves as a function. - FunctionAlias *string `json:"functionAlias,omitempty"` + FunctionAlias *string // The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 // = defaultvalue1, param-name2:type2 = defaultvalue2'. For more examples and // proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions. - FunctionParameters *string `json:"functionParameters,omitempty"` + FunctionParameters *string // The tags attached to the saved search. - Tags []*Tag `json:"tags,omitempty"` + Tags []*Tag // The version number of the query language. The current version is 2 and is the default. - Version *int64 `json:"version,omitempty"` + Version *int64 } // SavedSearchesClientCreateOrUpdateOptions contains the optional parameters for the SavedSearchesClient.CreateOrUpdate method. @@ -806,7 +806,7 @@ type SavedSearchesClientListByWorkspaceOptions struct { // SavedSearchesListResult - The saved search list operation response. type SavedSearchesListResult struct { // The array of result values. - Value []*SavedSearch `json:"value,omitempty"` + Value []*SavedSearch } // SchemaClientGetOptions contains the optional parameters for the SchemaClient.Get method. @@ -817,115 +817,115 @@ type SchemaClientGetOptions struct { // SearchGetSchemaResponse - The get schema operation response. type SearchGetSchemaResponse struct { // The metadata from search results. - Metadata *SearchMetadata `json:"metadata,omitempty"` + Metadata *SearchMetadata // The array of result values. - Value []*SearchSchemaValue `json:"value,omitempty"` + Value []*SearchSchemaValue } // SearchMetadata - Metadata for search results. type SearchMetadata struct { // The aggregated grouping fields. - AggregatedGroupingFields *string `json:"aggregatedGroupingFields,omitempty"` + AggregatedGroupingFields *string // The aggregated value field. - AggregatedValueField *string `json:"aggregatedValueField,omitempty"` + AggregatedValueField *string // The core summaries. - CoreSummaries []*CoreSummary `json:"coreSummaries,omitempty"` + CoreSummaries []*CoreSummary // The ETag of the search results. - ETag *string `json:"eTag,omitempty"` + ETag *string // The id of the search results request. - ID *string `json:"id,omitempty"` + ID *string // The time of last update. - LastUpdated *time.Time `json:"lastUpdated,omitempty"` + LastUpdated *time.Time // The max of all aggregates returned in the result set. - Max *int64 `json:"max,omitempty"` + Max *int64 // The request time. - RequestTime *int64 `json:"requestTime,omitempty"` + RequestTime *int64 // The search result type. - ResultType *string `json:"resultType,omitempty"` + ResultType *string // The schema. - Schema *SearchMetadataSchema `json:"schema,omitempty"` + Schema *SearchMetadataSchema // The request id of the search. - SearchID *string `json:"requestId,omitempty"` + SearchID *string // How the results are sorted. - Sort []*SearchSort `json:"sort,omitempty"` + Sort []*SearchSort // The start time for the search. - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time // The status of the search results. - Status *string `json:"status,omitempty"` + Status *string // The sum of all aggregates returned in the result set. - Sum *int64 `json:"sum,omitempty"` + Sum *int64 // The number of top search results. - Top *int64 `json:"top,omitempty"` + Top *int64 // The total number of search results. - Total *int64 `json:"total,omitempty"` + Total *int64 } // SearchMetadataSchema - Schema metadata for search. type SearchMetadataSchema struct { // The name of the metadata schema. - Name *string `json:"name,omitempty"` + Name *string // The version of the metadata schema. - Version *int32 `json:"version,omitempty"` + Version *int32 } // SearchSchemaValue - Value object for schema results. type SearchSchemaValue struct { // REQUIRED; The boolean that indicates whether or not the field is a facet. - Facet *bool `json:"facet,omitempty"` + Facet *bool // REQUIRED; The boolean that indicates the field is searchable as free text. - Indexed *bool `json:"indexed,omitempty"` + Indexed *bool // REQUIRED; The boolean that indicates whether or not the field is stored. - Stored *bool `json:"stored,omitempty"` + Stored *bool // The display name of the schema. - DisplayName *string `json:"displayName,omitempty"` + DisplayName *string // The name of the schema. - Name *string `json:"name,omitempty"` + Name *string // The array of workflows containing the field. - OwnerType []*string `json:"ownerType,omitempty"` + OwnerType []*string // The type. - Type *string `json:"type,omitempty"` + Type *string } // SearchSort - The sort parameters for search. type SearchSort struct { // The name of the field the search query is sorted on. - Name *string `json:"name,omitempty"` + Name *string // The sort order of the search. - Order *SearchSortEnum `json:"order,omitempty"` + Order *SearchSortEnum } // SharedKeys - The shared keys for a workspace. type SharedKeys struct { // The primary shared key of a workspace. - PrimarySharedKey *string `json:"primarySharedKey,omitempty"` + PrimarySharedKey *string // The secondary shared key of a workspace. - SecondarySharedKey *string `json:"secondarySharedKey,omitempty"` + SecondarySharedKey *string } // SharedKeysClientGetSharedKeysOptions contains the optional parameters for the SharedKeysClient.GetSharedKeys method. @@ -941,31 +941,31 @@ type SharedKeysClientRegenerateOptions struct { // StorageAccount - Describes a storage account connection. type StorageAccount struct { // REQUIRED; The Azure Resource Manager ID of the storage account resource. - ID *string `json:"id,omitempty"` + ID *string // REQUIRED; The storage account key. - Key *string `json:"key,omitempty"` + Key *string } // StorageInsight - The top level storage insight resource container. type StorageInsight struct { // The ETag of the storage insight. - ETag *string `json:"eTag,omitempty"` + ETag *string // Storage insight properties. - Properties *StorageInsightProperties `json:"properties,omitempty"` + Properties *StorageInsightProperties // 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 } // StorageInsightConfigsClientCreateOrUpdateOptions contains the optional parameters for the StorageInsightConfigsClient.CreateOrUpdate @@ -993,56 +993,56 @@ type StorageInsightConfigsClientListByWorkspaceOptions struct { // StorageInsightListResult - The list storage insights operation response. type StorageInsightListResult struct { // The link (url) to the next page of results. - ODataNextLink *string `json:"@odata.nextLink,omitempty"` + ODataNextLink *string // A list of storage insight items. - Value []*StorageInsight `json:"value,omitempty"` + Value []*StorageInsight } // StorageInsightProperties - Storage insight properties. type StorageInsightProperties struct { // REQUIRED; The storage account connection details - StorageAccount *StorageAccount `json:"storageAccount,omitempty"` + StorageAccount *StorageAccount // The names of the blob containers that the workspace should read - Containers []*string `json:"containers,omitempty"` + Containers []*string // The names of the Azure tables that the workspace should read - Tables []*string `json:"tables,omitempty"` + Tables []*string // READ-ONLY; The status of the storage insight - Status *StorageInsightStatus `json:"status,omitempty" azure:"ro"` + Status *StorageInsightStatus } // StorageInsightStatus - The status of the storage insight. type StorageInsightStatus struct { // REQUIRED; The state of the storage insight connection to the workspace - State *StorageInsightState `json:"state,omitempty"` + State *StorageInsightState // Description of the state of the storage insight. - Description *string `json:"description,omitempty"` + Description *string } // Table - Workspace data table definition. type Table struct { // Table properties. - Properties *TableProperties `json:"properties,omitempty"` + Properties *TableProperties // 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 } // TableProperties - Table properties. type TableProperties struct { // The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace // retention. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` + RetentionInDays *int32 } // TablesClientGetOptions contains the optional parameters for the TablesClient.Get method. @@ -1063,56 +1063,56 @@ type TablesClientUpdateOptions struct { // TablesListResult - The list tables operation response. type TablesListResult struct { // A list of data tables. - Value []*Table `json:"value,omitempty"` + Value []*Table } // Tag - A tag of a saved search. type Tag struct { // REQUIRED; The tag name. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The tag value. - Value *string `json:"value,omitempty"` + Value *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 } // UsageMetric - A metric describing the usage of a resource. type UsageMetric struct { // The current value of the metric. - CurrentValue *float64 `json:"currentValue,omitempty"` + CurrentValue *float64 // The quota limit for the metric. - Limit *float64 `json:"limit,omitempty"` + Limit *float64 // The name of the metric. - Name *MetricName `json:"name,omitempty"` + Name *MetricName // The time that the metric's value will reset. - NextResetTime *time.Time `json:"nextResetTime,omitempty"` + NextResetTime *time.Time // The quota period that determines the length of time between value resets. - QuotaPeriod *string `json:"quotaPeriod,omitempty"` + QuotaPeriod *string // The units used for the metric. - Unit *string `json:"unit,omitempty"` + Unit *string } // UsagesClientListOptions contains the optional parameters for the UsagesClient.NewListPager method. @@ -1123,46 +1123,46 @@ type UsagesClientListOptions struct { // UserIdentityProperties - User assigned identity properties. type UserIdentityProperties 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 } // Workspace - The top level Workspace resource container. type Workspace struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // The etag of the workspace. - Etag *string `json:"etag,omitempty"` + Etag *string // Workspace properties. - Properties *WorkspaceProperties `json:"properties,omitempty"` + Properties *WorkspaceProperties // 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 } // WorkspaceCapping - The daily volume cap for ingestion. type WorkspaceCapping struct { // The workspace daily quota for ingestion. - DailyQuotaGb *float64 `json:"dailyQuotaGb,omitempty"` + DailyQuotaGb *float64 // READ-ONLY; The status of data ingestion for this workspace. - DataIngestionStatus *DataIngestionStatus `json:"dataIngestionStatus,omitempty" azure:"ro"` + DataIngestionStatus *DataIngestionStatus // READ-ONLY; The time when the quota will be rest. - QuotaNextResetTime *string `json:"quotaNextResetTime,omitempty" azure:"ro"` + QuotaNextResetTime *string } // WorkspaceFeatures - Workspace features. @@ -1171,123 +1171,123 @@ type WorkspaceFeatures struct { AdditionalProperties map[string]any // Dedicated LA cluster resourceId that is linked to the workspaces. - ClusterResourceID *string `json:"clusterResourceId,omitempty"` + ClusterResourceID *string // Disable Non-AAD based Auth. - DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` + DisableLocalAuth *bool // Flag that indicate if data should be exported. - EnableDataExport *bool `json:"enableDataExport,omitempty"` + EnableDataExport *bool // Flag that indicate which permission to use - resource or workspace or both. - EnableLogAccessUsingOnlyResourcePermissions *bool `json:"enableLogAccessUsingOnlyResourcePermissions,omitempty"` + EnableLogAccessUsingOnlyResourcePermissions *bool // Flag that describes if we want to remove the data after 30 days. - ImmediatePurgeDataOn30Days *bool `json:"immediatePurgeDataOn30Days,omitempty"` + ImmediatePurgeDataOn30Days *bool } // WorkspaceListManagementGroupsResult - The list workspace management groups operation response. type WorkspaceListManagementGroupsResult struct { // Gets or sets a list of management groups attached to the workspace. - Value []*ManagementGroup `json:"value,omitempty"` + Value []*ManagementGroup } // WorkspaceListResult - The list workspaces operation response. type WorkspaceListResult struct { // A list of workspaces. - Value []*Workspace `json:"value,omitempty"` + Value []*Workspace } // WorkspaceListUsagesResult - The list workspace usages operation response. type WorkspaceListUsagesResult struct { // Gets or sets a list of usage metrics for a workspace. - Value []*UsageMetric `json:"value,omitempty"` + Value []*UsageMetric } // WorkspacePatch - The top level Workspace resource container. type WorkspacePatch struct { // Workspace properties. - Properties *WorkspaceProperties `json:"properties,omitempty"` + Properties *WorkspaceProperties // Resource tags. Optional. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource Etag. - 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 } // WorkspaceProperties - Workspace properties. type WorkspaceProperties struct { // Workspace features. - Features *WorkspaceFeatures `json:"features,omitempty"` + Features *WorkspaceFeatures // Indicates whether customer managed storage is mandatory for query management. - ForceCmkForQuery *bool `json:"forceCmkForQuery,omitempty"` + ForceCmkForQuery *bool // The provisioning state of the workspace. - ProvisioningState *WorkspaceEntityStatus `json:"provisioningState,omitempty"` + ProvisioningState *WorkspaceEntityStatus // The network access type for accessing Log Analytics ingestion. - PublicNetworkAccessForIngestion *PublicNetworkAccessType `json:"publicNetworkAccessForIngestion,omitempty"` + PublicNetworkAccessForIngestion *PublicNetworkAccessType // The network access type for accessing Log Analytics query. - PublicNetworkAccessForQuery *PublicNetworkAccessType `json:"publicNetworkAccessForQuery,omitempty"` + PublicNetworkAccessForQuery *PublicNetworkAccessType // The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details. - RetentionInDays *int32 `json:"retentionInDays,omitempty"` + RetentionInDays *int32 // The SKU of the workspace. - SKU *WorkspaceSKU `json:"sku,omitempty"` + SKU *WorkspaceSKU // The daily volume cap for ingestion. - WorkspaceCapping *WorkspaceCapping `json:"workspaceCapping,omitempty"` + WorkspaceCapping *WorkspaceCapping // READ-ONLY; Workspace creation date. - CreatedDate *string `json:"createdDate,omitempty" azure:"ro"` + CreatedDate *string // READ-ONLY; This is a read-only property. Represents the ID associated with the workspace. - CustomerID *string `json:"customerId,omitempty" azure:"ro"` + CustomerID *string // READ-ONLY; Workspace modification date. - ModifiedDate *string `json:"modifiedDate,omitempty" azure:"ro"` + ModifiedDate *string // READ-ONLY; List of linked private link scope resources. - PrivateLinkScopedResources []*PrivateLinkScopedResource `json:"privateLinkScopedResources,omitempty" azure:"ro"` + PrivateLinkScopedResources []*PrivateLinkScopedResource } // WorkspacePurgeBody - Describes the body of a purge request for an App Insights Workspace type WorkspacePurgeBody struct { // REQUIRED; The set of columns and filters (queries) to run over them to purge the resulting data. - Filters []*WorkspacePurgeBodyFilters `json:"filters,omitempty"` + Filters []*WorkspacePurgeBodyFilters // REQUIRED; Table from which to purge data. - Table *string `json:"table,omitempty"` + Table *string } // WorkspacePurgeBodyFilters - User-defined filters to return data which will be purged from the table. type WorkspacePurgeBodyFilters struct { // The column of the table over which the given query should run - Column *string `json:"column,omitempty"` + Column *string // When filtering over custom dimensions, this key will be used as the name of the custom dimension. - Key *string `json:"key,omitempty"` + Key *string // A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, // <=, between, and have the same behavior as they would in a KQL query. - Operator *string `json:"operator,omitempty"` + Operator *string // the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or // array of values. - Value any `json:"value,omitempty"` + Value any } // WorkspacePurgeClientGetPurgeStatusOptions contains the optional parameters for the WorkspacePurgeClient.GetPurgeStatus @@ -1304,25 +1304,25 @@ type WorkspacePurgeClientPurgeOptions struct { // WorkspacePurgeResponse - Response containing operationId for a specific purge action. type WorkspacePurgeResponse struct { // REQUIRED; Id to use when querying for status for a particular purge operation. - OperationID *string `json:"operationId,omitempty"` + OperationID *string } // WorkspacePurgeStatusResponse - Response containing status for a specific purge operation. type WorkspacePurgeStatusResponse struct { // REQUIRED; Status of the operation represented by the requested Id. - Status *PurgeState `json:"status,omitempty"` + Status *PurgeState } // WorkspaceSKU - The SKU (tier) of a workspace. type WorkspaceSKU struct { // REQUIRED; The name of the SKU. - Name *WorkspaceSKUNameEnum `json:"name,omitempty"` + Name *WorkspaceSKUNameEnum // The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected. - CapacityReservationLevel *CapacityReservationLevel `json:"capacityReservationLevel,omitempty"` + CapacityReservationLevel *CapacityReservationLevel // READ-ONLY; The last time when the sku was updated. - LastSKUUpdate *string `json:"lastSkuUpdate,omitempty" azure:"ro"` + LastSKUUpdate *string } // WorkspacesClientBeginCreateOrUpdateOptions contains the optional parameters for the WorkspacesClient.BeginCreateOrUpdate diff --git a/sdk/resourcemanager/operationalinsights/armoperationalinsights/models_serde.go b/sdk/resourcemanager/operationalinsights/armoperationalinsights/models_serde.go index 23f0b947e4e0..fa0e6adcc765 100644 --- a/sdk/resourcemanager/operationalinsights/armoperationalinsights/models_serde.go +++ b/sdk/resourcemanager/operationalinsights/armoperationalinsights/models_serde.go @@ -577,7 +577,7 @@ func (d DataSource) MarshalJSON() ([]byte, error) { populate(objectMap, "id", d.ID) populate(objectMap, "kind", d.Kind) populate(objectMap, "name", d.Name) - populate(objectMap, "properties", &d.Properties) + populateAny(objectMap, "properties", d.Properties) populate(objectMap, "tags", d.Tags) populate(objectMap, "type", d.Type) return json.Marshal(objectMap) @@ -744,7 +744,7 @@ func (d *DestinationMetaData) 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) } @@ -2710,7 +2710,7 @@ func (w WorkspacePurgeBodyFilters) MarshalJSON() ([]byte, error) { populate(objectMap, "column", w.Column) populate(objectMap, "key", w.Key) populate(objectMap, "operator", w.Operator) - populate(objectMap, "value", &w.Value) + populateAny(objectMap, "value", w.Value) return json.Marshal(objectMap) } @@ -2842,6 +2842,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/operationsmanagement/armoperationsmanagement/CHANGELOG.md b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/CHANGELOG.md index 2a9f84fc98ec..b967aff06eed 100644 --- a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/CHANGELOG.md +++ b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.7.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 0.7.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/autorest.md b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/autorest.md index b08593fd8513..d0601a5411c3 100644 --- a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/autorest.md +++ b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/operationsmanagement/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/operationsmanagement/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.7.0 +module-version: 0.7.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/constants.go b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/constants.go index 1a97dbc2acc9..8766986f649f 100644 --- a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/constants.go +++ b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/constants.go @@ -11,5 +11,5 @@ package armoperationsmanagement const ( moduleName = "armoperationsmanagement" - moduleVersion = "v0.7.0" + moduleVersion = "v0.7.1" ) diff --git a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models.go b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models.go index 5eaefd4a8e23..7bf9d23477a6 100644 --- a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models.go +++ b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models.go @@ -12,55 +12,55 @@ package armoperationsmanagement // ArmTemplateParameter - Parameter to pass to ARM template type ArmTemplateParameter struct { // name of the parameter. - Name *string `json:"name,omitempty"` + Name *string // value for the parameter. In Jtoken - Value *string `json:"value,omitempty"` + Value *string } // CodeMessageError - The error body contract. type CodeMessageError struct { // The error details for a failed request. - Error *CodeMessageErrorError `json:"error,omitempty"` + Error *CodeMessageErrorError } // CodeMessageErrorError - The error details for a failed request. type CodeMessageErrorError struct { // The error type. - Code *string `json:"code,omitempty"` + Code *string // The error message. - Message *string `json:"message,omitempty"` + Message *string } // ManagementAssociation - The container for solution. type ManagementAssociation struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties for ManagementAssociation object supported by the OperationsManagement resource provider. - Properties *ManagementAssociationProperties `json:"properties,omitempty"` + Properties *ManagementAssociationProperties // READ-ONLY; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagementAssociationProperties - ManagementAssociation properties supported by the OperationsManagement resource provider. type ManagementAssociationProperties struct { // REQUIRED; The applicationId of the appliance for this association. - ApplicationID *string `json:"applicationId,omitempty"` + ApplicationID *string } // ManagementAssociationPropertiesList - the list of ManagementAssociation response type ManagementAssociationPropertiesList struct { // List of Management Association properties within the subscription. - Value []*ManagementAssociation `json:"value,omitempty"` + Value []*ManagementAssociation } // ManagementAssociationsClientCreateOrUpdateOptions contains the optional parameters for the ManagementAssociationsClient.CreateOrUpdate @@ -89,43 +89,43 @@ type ManagementAssociationsClientListBySubscriptionOptions struct { // ManagementConfiguration - The container for solution. type ManagementConfiguration struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Properties for ManagementConfiguration object supported by the OperationsManagement resource provider. - Properties *ManagementConfigurationProperties `json:"properties,omitempty"` + Properties *ManagementConfigurationProperties // READ-ONLY; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // ManagementConfigurationProperties - ManagementConfiguration properties supported by the OperationsManagement resource provider. type ManagementConfigurationProperties struct { // REQUIRED; Parameters to run the ARM template - Parameters []*ArmTemplateParameter `json:"parameters,omitempty"` + Parameters []*ArmTemplateParameter // REQUIRED; The type of the parent resource. - ParentResourceType *string `json:"parentResourceType,omitempty"` + ParentResourceType *string // REQUIRED; The Json object containing the ARM template to deploy - Template any `json:"template,omitempty"` + Template any // The applicationId of the appliance for this Management. - ApplicationID *string `json:"applicationId,omitempty"` + ApplicationID *string // READ-ONLY; The provisioning state for the ManagementConfiguration. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // ManagementConfigurationPropertiesList - the list of ManagementConfiguration response type ManagementConfigurationPropertiesList struct { // List of Management Configuration properties within the subscription. - Value []*ManagementConfiguration `json:"value,omitempty"` + Value []*ManagementConfiguration } // ManagementConfigurationsClientCreateOrUpdateOptions contains the optional parameters for the ManagementConfigurationsClient.CreateOrUpdate @@ -154,28 +154,28 @@ type ManagementConfigurationsClientListBySubscriptionOptions struct { // Operation - Supported operation of OperationsManagement resource provider. type Operation struct { // Display metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Operation name: {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` + Name *string } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // Type of operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` + Operation *string // Service provider: Microsoft OperationsManagement. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource on which the operation is performed etc. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationListResult - Result of the request to list solution operations. type OperationListResult struct { // List of solution operations supported by the OperationsManagement resource provider. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -186,31 +186,31 @@ type OperationsClientListOptions struct { // Solution - The container for solution. type Solution struct { // Resource location - Location *string `json:"location,omitempty"` + Location *string // Plan for solution object supported by the OperationsManagement resource provider. - Plan *SolutionPlan `json:"plan,omitempty"` + Plan *SolutionPlan // Properties for solution object supported by the OperationsManagement resource provider. - Properties *SolutionProperties `json:"properties,omitempty"` + Properties *SolutionProperties // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // READ-ONLY; Resource ID. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Resource name. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SolutionPatch - The properties of a Solution that can be patched. type SolutionPatch struct { // Resource tags - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // SolutionPlan - Plan for solution object supported by the OperationsManagement resource provider. @@ -218,39 +218,39 @@ type SolutionPlan struct { // name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). // SolutionType part is case sensitive. For third party solution, it can be // anything. - Name *string `json:"name,omitempty"` + Name *string // name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. // This is case sensitive - Product *string `json:"product,omitempty"` + Product *string // promotionCode, Not really used now, can you left as empty - PromotionCode *string `json:"promotionCode,omitempty"` + PromotionCode *string // Publisher name. For gallery solution, it is Microsoft. - Publisher *string `json:"publisher,omitempty"` + Publisher *string } // SolutionProperties - Solution properties supported by the OperationsManagement resource provider. type SolutionProperties struct { // REQUIRED; The azure resourceId for the workspace where the solution will be deployed/enabled. - WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` + WorkspaceResourceID *string // The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when // the solution is deleted. - ContainedResources []*string `json:"containedResources,omitempty"` + ContainedResources []*string // The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution. - ReferencedResources []*string `json:"referencedResources,omitempty"` + ReferencedResources []*string // READ-ONLY; The provisioning state for the solution. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // SolutionPropertiesList - the list of solution response type SolutionPropertiesList struct { // List of solution properties within the subscription. - Value []*Solution `json:"value,omitempty"` + Value []*Solution } // SolutionsClientBeginCreateOrUpdateOptions contains the optional parameters for the SolutionsClient.BeginCreateOrUpdate diff --git a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models_serde.go b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models_serde.go index 7d9ff0938f8f..5ef869f5daa4 100644 --- a/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models_serde.go +++ b/sdk/resourcemanager/operationsmanagement/armoperationsmanagement/models_serde.go @@ -252,7 +252,7 @@ func (m ManagementConfigurationProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "parameters", m.Parameters) populate(objectMap, "parentResourceType", m.ParentResourceType) populate(objectMap, "provisioningState", m.ProvisioningState) - populate(objectMap, "template", &m.Template) + populateAny(objectMap, "template", m.Template) return json.Marshal(objectMap) } @@ -601,6 +601,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/orbital/armorbital/CHANGELOG.md b/sdk/resourcemanager/orbital/armorbital/CHANGELOG.md index 5bde20e3daa3..c23a29aa6d79 100644 --- a/sdk/resourcemanager/orbital/armorbital/CHANGELOG.md +++ b/sdk/resourcemanager/orbital/armorbital/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 2.0.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 2.0.0 (2023-03-24) ### Breaking Changes diff --git a/sdk/resourcemanager/orbital/armorbital/autorest.md b/sdk/resourcemanager/orbital/armorbital/autorest.md index 35e1712e454b..985808dbc1dd 100644 --- a/sdk/resourcemanager/orbital/armorbital/autorest.md +++ b/sdk/resourcemanager/orbital/armorbital/autorest.md @@ -8,5 +8,5 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/1e7b408f3323e7f5424745718fe62c7a043a2337/specification/orbital/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/1e7b408f3323e7f5424745718fe62c7a043a2337/specification/orbital/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 2.0.0 +module-version: 2.0.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/orbital/armorbital/constants.go b/sdk/resourcemanager/orbital/armorbital/constants.go index c7363b1e9848..5a180c5e6a08 100644 --- a/sdk/resourcemanager/orbital/armorbital/constants.go +++ b/sdk/resourcemanager/orbital/armorbital/constants.go @@ -11,7 +11,7 @@ package armorbital const ( moduleName = "armorbital" - moduleVersion = "v2.0.0" + moduleVersion = "v2.0.1" ) // ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. diff --git a/sdk/resourcemanager/orbital/armorbital/models.go b/sdk/resourcemanager/orbital/armorbital/models.go index 1686ffd20b40..20774d07b82b 100644 --- a/sdk/resourcemanager/orbital/armorbital/models.go +++ b/sdk/resourcemanager/orbital/armorbital/models.go @@ -14,137 +14,137 @@ import "time" // AuthorizedGroundstation - Authorized groundstation. type AuthorizedGroundstation struct { // REQUIRED; Date of authorization expiration. - ExpirationDate *time.Time `json:"expirationDate,omitempty"` + ExpirationDate *time.Time // REQUIRED; Groundstation name. - GroundStation *string `json:"groundStation,omitempty"` + GroundStation *string } // AvailableContacts - Customer retrieves list of Available Contacts for a spacecraft resource. Later, one of the available // contact can be selected to create a contact. type AvailableContacts struct { // Properties of Contact resource. - Properties *AvailableContactsProperties `json:"properties,omitempty"` + Properties *AvailableContactsProperties // The reference to the spacecraft resource. - Spacecraft *AvailableContactsSpacecraft `json:"spacecraft,omitempty"` + Spacecraft *AvailableContactsSpacecraft // READ-ONLY; Name of Azure Ground Station. - GroundStationName *string `json:"groundStationName,omitempty" azure:"ro"` + GroundStationName *string } // AvailableContactsListResult - Response for the ListAvailableContacts API service call. type AvailableContactsListResult struct { // A list of available contacts. - Value []*AvailableContacts `json:"value,omitempty"` + Value []*AvailableContacts // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // AvailableContactsProperties - Properties of Contact resource. type AvailableContactsProperties struct { // READ-ONLY; Azimuth of the antenna at the end of the contact in decimal degrees. - EndAzimuthDegrees *float32 `json:"endAzimuthDegrees,omitempty" azure:"ro"` + EndAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact end. - EndElevationDegrees *float32 `json:"endElevationDegrees,omitempty" azure:"ro"` + EndElevationDegrees *float32 // READ-ONLY; Maximum elevation of the antenna during the contact in decimal degrees. - MaximumElevationDegrees *float32 `json:"maximumElevationDegrees,omitempty" azure:"ro"` + MaximumElevationDegrees *float32 // READ-ONLY; Time to lost receiving a signal (ISO 8601 UTC standard). - RxEndTime *time.Time `json:"rxEndTime,omitempty" azure:"ro"` + RxEndTime *time.Time // READ-ONLY; Earliest time to receive a signal (ISO 8601 UTC standard). - RxStartTime *time.Time `json:"rxStartTime,omitempty" azure:"ro"` + RxStartTime *time.Time // READ-ONLY; Azimuth of the antenna at the start of the contact in decimal degrees. - StartAzimuthDegrees *float32 `json:"startAzimuthDegrees,omitempty" azure:"ro"` + StartAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact start. - StartElevationDegrees *float32 `json:"startElevationDegrees,omitempty" azure:"ro"` + StartElevationDegrees *float32 // READ-ONLY; Time at which antenna transmit will be disabled (ISO 8601 UTC standard). - TxEndTime *time.Time `json:"txEndTime,omitempty" azure:"ro"` + TxEndTime *time.Time // READ-ONLY; Time at which antenna transmit will be enabled (ISO 8601 UTC standard). - TxStartTime *time.Time `json:"txStartTime,omitempty" azure:"ro"` + TxStartTime *time.Time } // AvailableContactsSpacecraft - The reference to the spacecraft resource. type AvailableContactsSpacecraft struct { // REQUIRED; Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // AvailableGroundStation - Ground Stations available to schedule Contacts. type AvailableGroundStation struct { // REQUIRED; The properties bag for this resource. - Properties *AvailableGroundStationProperties `json:"properties,omitempty"` + Properties *AvailableGroundStationProperties // Azure region. - Location *string `json:"location,omitempty"` + Location *string // READ-ONLY; ID of groundStation. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Name of the ground station. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Resource type. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // AvailableGroundStationListResult - Response for the AvailableGroundStations API service call. type AvailableGroundStationListResult struct { // A list of ground station resources. - Value []*AvailableGroundStation `json:"value,omitempty"` + Value []*AvailableGroundStation // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // AvailableGroundStationProperties - The properties bag for this resource. type AvailableGroundStationProperties struct { // Altitude of the ground station. - AltitudeMeters *float32 `json:"altitudeMeters,omitempty"` + AltitudeMeters *float32 // City of ground station. - City *string `json:"city,omitempty"` + City *string // Latitude of the ground station in decimal degrees. - LatitudeDegrees *float32 `json:"latitudeDegrees,omitempty"` + LatitudeDegrees *float32 // Longitude of the ground station in decimal degrees. - LongitudeDegrees *float32 `json:"longitudeDegrees,omitempty"` + LongitudeDegrees *float32 // Ground station provider name. - ProviderName *string `json:"providerName,omitempty"` + ProviderName *string // Release Status of a ground station. - ReleaseMode *ReleaseMode `json:"releaseMode,omitempty"` + ReleaseMode *ReleaseMode } // AvailableGroundStationPropertiesAutoGenerated - Properties object for Available groundstation. type AvailableGroundStationPropertiesAutoGenerated struct { // Altitude of the ground station. - AltitudeMeters *float32 `json:"altitudeMeters,omitempty"` + AltitudeMeters *float32 // City of ground station. - City *string `json:"city,omitempty"` + City *string // Latitude of the ground station in decimal degrees. - LatitudeDegrees *float32 `json:"latitudeDegrees,omitempty"` + LatitudeDegrees *float32 // Longitude of the ground station in decimal degrees. - LongitudeDegrees *float32 `json:"longitudeDegrees,omitempty"` + LongitudeDegrees *float32 // Ground station provider name. - ProviderName *string `json:"providerName,omitempty"` + ProviderName *string // Release Status of a ground station. - ReleaseMode *ReleaseMode `json:"releaseMode,omitempty"` + ReleaseMode *ReleaseMode } // AvailableGroundStationsClientListByCapabilityOptions contains the optional parameters for the AvailableGroundStationsClient.NewListByCapabilityPager @@ -156,205 +156,205 @@ type AvailableGroundStationsClientListByCapabilityOptions struct { // Contact - Customer creates a contact resource for a spacecraft resource. type Contact struct { // REQUIRED; Properties of the Contact Resource. - Properties *ContactsProperties `json:"properties,omitempty"` + Properties *ContactsProperties // 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 } // ContactInstanceProperties - Contact Instance Properties. type ContactInstanceProperties struct { // READ-ONLY; Azimuth of the antenna at the end of the contact in decimal degrees. - EndAzimuthDegrees *float32 `json:"endAzimuthDegrees,omitempty" azure:"ro"` + EndAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact end. - EndElevationDegrees *float32 `json:"endElevationDegrees,omitempty" azure:"ro"` + EndElevationDegrees *float32 // READ-ONLY; Maximum elevation of the antenna during the contact in decimal degrees. - MaximumElevationDegrees *float32 `json:"maximumElevationDegrees,omitempty" azure:"ro"` + MaximumElevationDegrees *float32 // READ-ONLY; Time to lost receiving a signal (ISO 8601 UTC standard). - RxEndTime *time.Time `json:"rxEndTime,omitempty" azure:"ro"` + RxEndTime *time.Time // READ-ONLY; Earliest time to receive a signal (ISO 8601 UTC standard). - RxStartTime *time.Time `json:"rxStartTime,omitempty" azure:"ro"` + RxStartTime *time.Time // READ-ONLY; Azimuth of the antenna at the start of the contact in decimal degrees. - StartAzimuthDegrees *float32 `json:"startAzimuthDegrees,omitempty" azure:"ro"` + StartAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact start. - StartElevationDegrees *float32 `json:"startElevationDegrees,omitempty" azure:"ro"` + StartElevationDegrees *float32 // READ-ONLY; Time at which antenna transmit will be disabled (ISO 8601 UTC standard). - TxEndTime *time.Time `json:"txEndTime,omitempty" azure:"ro"` + TxEndTime *time.Time // READ-ONLY; Time at which antenna transmit will be enabled (ISO 8601 UTC standard). - TxStartTime *time.Time `json:"txStartTime,omitempty" azure:"ro"` + TxStartTime *time.Time } // ContactListResult - Response for the ListContacts API service call. type ContactListResult struct { // A list of contact resources in a resource group. - Value []*Contact `json:"value,omitempty"` + Value []*Contact // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ContactParameters - Parameters that define the contact resource. type ContactParameters struct { // REQUIRED; The reference to the contact profile resource. - ContactProfile *ContactParametersContactProfile `json:"contactProfile,omitempty"` + ContactProfile *ContactParametersContactProfile // REQUIRED; End time of a contact (ISO 8601 UTC standard). - EndTime *time.Time `json:"endTime,omitempty"` + EndTime *time.Time // REQUIRED; Name of Azure Ground Station. - GroundStationName *string `json:"groundStationName,omitempty"` + GroundStationName *string // REQUIRED; Start time of a contact (ISO 8601 UTC standard). - StartTime *time.Time `json:"startTime,omitempty"` + StartTime *time.Time } // ContactParametersContactProfile - The reference to the contact profile resource. type ContactParametersContactProfile struct { // REQUIRED; Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // ContactProfile - Customer creates a Contact Profile Resource, which will contain all of the configurations required for // scheduling a contact. type ContactProfile struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Properties of the contact profile resource. - Properties *ContactProfileProperties `json:"properties,omitempty"` + Properties *ContactProfileProperties // 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; 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 } // ContactProfileLink - Contact Profile Link. type ContactProfileLink struct { // REQUIRED; Contact Profile Link Channel. - Channels []*ContactProfileLinkChannel `json:"channels,omitempty"` + Channels []*ContactProfileLinkChannel // REQUIRED; Direction (Uplink or Downlink). - Direction *Direction `json:"direction,omitempty"` + Direction *Direction // REQUIRED; Link name. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; Polarization. e.g. (RHCP, LHCP). - Polarization *Polarization `json:"polarization,omitempty"` + Polarization *Polarization // Effective Isotropic Radiated Power (EIRP) in dBW. It is the required EIRP by the customer. Not used yet. - EirpdBW *float32 `json:"eirpdBW,omitempty"` + EirpdBW *float32 // Gain to noise temperature in db/K. It is the required G/T by the customer. Not used yet. - GainOverTemperature *float32 `json:"gainOverTemperature,omitempty"` + GainOverTemperature *float32 } // ContactProfileLinkChannel - Contact Profile Link Channel. type ContactProfileLinkChannel struct { // REQUIRED; Bandwidth in MHz. - BandwidthMHz *float32 `json:"bandwidthMHz,omitempty"` + BandwidthMHz *float32 // REQUIRED; Center Frequency in MHz. - CenterFrequencyMHz *float32 `json:"centerFrequencyMHz,omitempty"` + CenterFrequencyMHz *float32 // REQUIRED; Customer end point to store and retrieve data during a contact with the spacecraft. - EndPoint *EndPoint `json:"endPoint,omitempty"` + EndPoint *EndPoint // REQUIRED; Channel name. - Name *string `json:"name,omitempty"` + Name *string // Currently unused. - DecodingConfiguration *string `json:"decodingConfiguration,omitempty"` + DecodingConfiguration *string // Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. Only valid for downlink directions. If // provided, the modem connects to the customer endpoint and sends demodulated data // instead of a VITA.49 stream. - DemodulationConfiguration *string `json:"demodulationConfiguration,omitempty"` + DemodulationConfiguration *string // Currently unused. - EncodingConfiguration *string `json:"encodingConfiguration,omitempty"` + EncodingConfiguration *string // Copy of the modem configuration file such as Kratos QRadio. Only valid for uplink directions. If provided, the modem connects // to the customer endpoint and accepts commands from the customer instead of // a VITA.49 stream. - ModulationConfiguration *string `json:"modulationConfiguration,omitempty"` + ModulationConfiguration *string } // ContactProfileListResult - Response for the ListContactProfiles API service call. type ContactProfileListResult struct { // A list of contact profile resources in a resource group. - Value []*ContactProfile `json:"value,omitempty"` + Value []*ContactProfile // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // ContactProfileProperties - Properties of the contact profile resource. type ContactProfileProperties struct { // REQUIRED; Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. - Links []*ContactProfileLink `json:"links,omitempty"` + Links []*ContactProfileLink // REQUIRED; Network configuration of customer virtual network. - NetworkConfiguration *ContactProfilesPropertiesNetworkConfiguration `json:"networkConfiguration,omitempty"` + NetworkConfiguration *ContactProfilesPropertiesNetworkConfiguration // Auto-tracking configuration. - AutoTrackingConfiguration *AutoTrackingConfiguration `json:"autoTrackingConfiguration,omitempty"` + AutoTrackingConfiguration *AutoTrackingConfiguration // ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to // send telemetry into the hub. - EventHubURI *string `json:"eventHubUri,omitempty"` + EventHubURI *string // Minimum viable elevation for the contact in decimal degrees. Used for listing the available contacts with a spacecraft // at a given ground station. - MinimumElevationDegrees *float32 `json:"minimumElevationDegrees,omitempty"` + MinimumElevationDegrees *float32 // Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given // ground station. - MinimumViableContactDuration *string `json:"minimumViableContactDuration,omitempty"` + MinimumViableContactDuration *string // The current state of the resource's creation, deletion, or modification. - ProvisioningState *ContactProfilesPropertiesProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *ContactProfilesPropertiesProvisioningState // Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. - ThirdPartyConfigurations []*ContactProfileThirdPartyConfiguration `json:"thirdPartyConfigurations,omitempty"` + ThirdPartyConfigurations []*ContactProfileThirdPartyConfiguration } // ContactProfileThirdPartyConfiguration - Contact Profile third-party partner configuration. type ContactProfileThirdPartyConfiguration struct { // REQUIRED; Name of string referencing the configuration describing contact set-up for a particular mission. Expected values // are those which have been created in collaboration with the partner network. - MissionConfiguration *string `json:"missionConfiguration,omitempty"` + MissionConfiguration *string // REQUIRED; Name of the third-party provider. - ProviderName *string `json:"providerName,omitempty"` + ProviderName *string } // ContactProfilesClientBeginCreateOrUpdateOptions contains the optional parameters for the ContactProfilesClient.BeginCreateOrUpdate @@ -404,38 +404,38 @@ type ContactProfilesClientListOptions struct { // ContactProfilesProperties - List of Contact Profile Resource Properties. type ContactProfilesProperties struct { // REQUIRED; Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. - Links []*ContactProfileLink `json:"links,omitempty"` + Links []*ContactProfileLink // REQUIRED; Network configuration of customer virtual network. - NetworkConfiguration *ContactProfilesPropertiesNetworkConfiguration `json:"networkConfiguration,omitempty"` + NetworkConfiguration *ContactProfilesPropertiesNetworkConfiguration // Auto-tracking configuration. - AutoTrackingConfiguration *AutoTrackingConfiguration `json:"autoTrackingConfiguration,omitempty"` + AutoTrackingConfiguration *AutoTrackingConfiguration // ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to // send telemetry into the hub. - EventHubURI *string `json:"eventHubUri,omitempty"` + EventHubURI *string // Minimum viable elevation for the contact in decimal degrees. Used for listing the available contacts with a spacecraft // at a given ground station. - MinimumElevationDegrees *float32 `json:"minimumElevationDegrees,omitempty"` + MinimumElevationDegrees *float32 // Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given // ground station. - MinimumViableContactDuration *string `json:"minimumViableContactDuration,omitempty"` + MinimumViableContactDuration *string // The current state of the resource's creation, deletion, or modification. - ProvisioningState *ContactProfilesPropertiesProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *ContactProfilesPropertiesProvisioningState // Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. - ThirdPartyConfigurations []*ContactProfileThirdPartyConfiguration `json:"thirdPartyConfigurations,omitempty"` + ThirdPartyConfigurations []*ContactProfileThirdPartyConfiguration } // ContactProfilesPropertiesNetworkConfiguration - Network configuration of customer virtual network. type ContactProfilesPropertiesNetworkConfiguration struct { // REQUIRED; ARM resource identifier of the subnet delegated to the Microsoft.Orbital/orbitalGateways. Needs to be at least // a class C subnet, and should not have any IP created in it. - SubnetID *string `json:"subnetId,omitempty"` + SubnetID *string } // ContactsClientBeginCreateOptions contains the optional parameters for the ContactsClient.BeginCreate method. @@ -467,210 +467,210 @@ type ContactsClientListOptions struct { // ContactsProperties - Properties of the Contact Resource. type ContactsProperties struct { // REQUIRED; The reference to the contact profile resource. - ContactProfile *ContactsPropertiesContactProfile `json:"contactProfile,omitempty"` + ContactProfile *ContactsPropertiesContactProfile // REQUIRED; Azure Ground Station name. - GroundStationName *string `json:"groundStationName,omitempty"` + GroundStationName *string // REQUIRED; Reservation end time of a contact (ISO 8601 UTC standard). - ReservationEndTime *time.Time `json:"reservationEndTime,omitempty"` + ReservationEndTime *time.Time // REQUIRED; Reservation start time of a contact (ISO 8601 UTC standard). - ReservationStartTime *time.Time `json:"reservationStartTime,omitempty"` + ReservationStartTime *time.Time // The current state of the resource's creation, deletion, or modification. - ProvisioningState *ContactsPropertiesProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *ContactsPropertiesProvisioningState // READ-ONLY; The configuration associated with the allocated antenna. - AntennaConfiguration *ContactsPropertiesAntennaConfiguration `json:"antennaConfiguration,omitempty" azure:"ro"` + AntennaConfiguration *ContactsPropertiesAntennaConfiguration // READ-ONLY; Azimuth of the antenna at the end of the contact in decimal degrees. - EndAzimuthDegrees *float32 `json:"endAzimuthDegrees,omitempty" azure:"ro"` + EndAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact end. - EndElevationDegrees *float32 `json:"endElevationDegrees,omitempty" azure:"ro"` + EndElevationDegrees *float32 // READ-ONLY; Any error message while scheduling a contact. - ErrorMessage *string `json:"errorMessage,omitempty" azure:"ro"` + ErrorMessage *string // READ-ONLY; Maximum elevation of the antenna during the contact in decimal degrees. - MaximumElevationDegrees *float32 `json:"maximumElevationDegrees,omitempty" azure:"ro"` + MaximumElevationDegrees *float32 // READ-ONLY; Receive end time of a contact (ISO 8601 UTC standard). - RxEndTime *time.Time `json:"rxEndTime,omitempty" azure:"ro"` + RxEndTime *time.Time // READ-ONLY; Receive start time of a contact (ISO 8601 UTC standard). - RxStartTime *time.Time `json:"rxStartTime,omitempty" azure:"ro"` + RxStartTime *time.Time // READ-ONLY; Azimuth of the antenna at the start of the contact in decimal degrees. - StartAzimuthDegrees *float32 `json:"startAzimuthDegrees,omitempty" azure:"ro"` + StartAzimuthDegrees *float32 // READ-ONLY; Spacecraft elevation above the horizon at contact start. - StartElevationDegrees *float32 `json:"startElevationDegrees,omitempty" azure:"ro"` + StartElevationDegrees *float32 // READ-ONLY; Status of a contact. - Status *ContactsStatus `json:"status,omitempty" azure:"ro"` + Status *ContactsStatus // READ-ONLY; Transmit end time of a contact (ISO 8601 UTC standard). - TxEndTime *time.Time `json:"txEndTime,omitempty" azure:"ro"` + TxEndTime *time.Time // READ-ONLY; Transmit start time of a contact (ISO 8601 UTC standard). - TxStartTime *time.Time `json:"txStartTime,omitempty" azure:"ro"` + TxStartTime *time.Time } // ContactsPropertiesAntennaConfiguration - The configuration associated with the allocated antenna. type ContactsPropertiesAntennaConfiguration struct { // The destination IP a packet can be sent to. This would for example be the TCP endpoint you would send data to. - DestinationIP *string `json:"destinationIp,omitempty"` + DestinationIP *string // List of Source IP - SourceIPs []*string `json:"sourceIps,omitempty"` + SourceIPs []*string } // ContactsPropertiesContactProfile - The reference to the contact profile resource. type ContactsPropertiesContactProfile struct { // REQUIRED; Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // EndPoint - Customer end point to store and retrieve data during a contact with the spacecraft. type EndPoint struct { // REQUIRED; Name of an end point. - EndPointName *string `json:"endPointName,omitempty"` + EndPointName *string // REQUIRED; IP Address (IPv4). - IPAddress *string `json:"ipAddress,omitempty"` + IPAddress *string // REQUIRED; TCP port to listen on to receive data. - Port *string `json:"port,omitempty"` + Port *string // REQUIRED; Protocol either UDP or TCP. - Protocol *Protocol `json:"protocol,omitempty"` + Protocol *Protocol } // 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 } // 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 - Operation Result Entity. type OperationResult struct { // Operation result error properties. - Error *OperationResultErrorProperties `json:"error,omitempty"` + Error *OperationResultErrorProperties // Operation result properties. - Properties any `json:"properties,omitempty"` + Properties any // READ-ONLY; The operation end time (ISO 8601 UTC standard). - EndTime *time.Time `json:"endTime,omitempty" azure:"ro"` + EndTime *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; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Percentage completed. - PercentComplete *float64 `json:"percentComplete,omitempty" azure:"ro"` + PercentComplete *float64 // READ-ONLY; The operation start time (ISO 8601 UTC standard). - StartTime *time.Time `json:"startTime,omitempty" azure:"ro"` + StartTime *time.Time // READ-ONLY; The status of operation. - Status *Status `json:"status,omitempty" azure:"ro"` + Status *Status // READ-ONLY; A list of results when the operation returns multiple results. - Value []any `json:"value,omitempty" azure:"ro"` + Value []any } // OperationResultErrorProperties - Operation result error properties. type OperationResultErrorProperties struct { // READ-ONLY; The code of the error. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; The error message. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string } // OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method. @@ -688,106 +688,106 @@ type OperationsResultsClientBeginGetOptions struct { // 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; 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 } // 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; 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 } // ResourceIDListResult - Response for an API service call that lists the resource IDs of resources associated with another // resource. type ResourceIDListResult struct { // A list of Azure Resource IDs. - Value []*ResourceIDListResultValueItem `json:"value,omitempty"` + Value []*ResourceIDListResultValueItem // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } type ResourceIDListResultValueItem struct { // The Azure Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // ResourceReference - Resource Reference. type ResourceReference struct { // REQUIRED; Resource ID. - ID *string `json:"id,omitempty"` + ID *string } // Spacecraft - Customer creates a spacecraft resource to schedule a contact. type Spacecraft struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Spacecraft Properties - Properties *SpacecraftsProperties `json:"properties,omitempty"` + Properties *SpacecraftsProperties // 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; 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 } // SpacecraftLink - List of authorized spacecraft links per ground station and the expiration date of the authorization. type SpacecraftLink struct { // REQUIRED; Bandwidth in MHz. - BandwidthMHz *float32 `json:"bandwidthMHz,omitempty"` + BandwidthMHz *float32 // REQUIRED; Center Frequency in MHz. - CenterFrequencyMHz *float32 `json:"centerFrequencyMHz,omitempty"` + CenterFrequencyMHz *float32 // REQUIRED; Direction (Uplink or Downlink). - Direction *Direction `json:"direction,omitempty"` + Direction *Direction // REQUIRED; Link name. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; Polarization. e.g. (RHCP, LHCP). - Polarization *Polarization `json:"polarization,omitempty"` + Polarization *Polarization // READ-ONLY; Authorized Ground Stations - Authorizations []*AuthorizedGroundstation `json:"authorizations,omitempty" azure:"ro"` + Authorizations []*AuthorizedGroundstation } // SpacecraftListResult - Response for the ListSpacecrafts API service call. type SpacecraftListResult struct { // A list of spacecraft resources in a resource group. - Value []*Spacecraft `json:"value,omitempty"` + Value []*Spacecraft // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string } // SpacecraftsClientBeginCreateOrUpdateOptions contains the optional parameters for the SpacecraftsClient.BeginCreateOrUpdate @@ -843,69 +843,69 @@ type SpacecraftsClientListOptions struct { // SpacecraftsProperties - List of Spacecraft Resource Properties. type SpacecraftsProperties struct { // REQUIRED; Immutable list of Spacecraft links. - Links []*SpacecraftLink `json:"links,omitempty"` + Links []*SpacecraftLink // REQUIRED; Title line of the two-line element set (TLE). - TitleLine *string `json:"titleLine,omitempty"` + TitleLine *string // REQUIRED; Line 1 of the two-line element set (TLE). - TleLine1 *string `json:"tleLine1,omitempty"` + TleLine1 *string // REQUIRED; Line 2 of the two-line element set (TLE). - TleLine2 *string `json:"tleLine2,omitempty"` + TleLine2 *string // NORAD ID of the spacecraft. - NoradID *string `json:"noradId,omitempty"` + NoradID *string // The current state of the resource's creation, deletion, or modification. - ProvisioningState *SpacecraftsPropertiesProvisioningState `json:"provisioningState,omitempty"` + ProvisioningState *SpacecraftsPropertiesProvisioningState } // 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; 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 } diff --git a/sdk/resourcemanager/orbital/armorbital/models_serde.go b/sdk/resourcemanager/orbital/armorbital/models_serde.go index b509abb3e161..d96482f8d59b 100644 --- a/sdk/resourcemanager/orbital/armorbital/models_serde.go +++ b/sdk/resourcemanager/orbital/armorbital/models_serde.go @@ -1109,7 +1109,7 @@ func (e *EndPoint) 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) } @@ -1329,7 +1329,7 @@ func (o OperationResult) MarshalJSON() ([]byte, error) { populate(objectMap, "name", o.Name) populate(objectMap, "nextLink", o.NextLink) populate(objectMap, "percentComplete", o.PercentComplete) - populate(objectMap, "properties", &o.Properties) + populateAny(objectMap, "properties", o.Properties) populateTimeRFC3339(objectMap, "startTime", o.StartTime) populate(objectMap, "status", o.Status) populate(objectMap, "value", o.Value) @@ -1884,6 +1884,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/policyinsights/armpolicyinsights/CHANGELOG.md b/sdk/resourcemanager/policyinsights/armpolicyinsights/CHANGELOG.md index 3bea55775555..dd348ac5d7d0 100644 --- a/sdk/resourcemanager/policyinsights/armpolicyinsights/CHANGELOG.md +++ b/sdk/resourcemanager/policyinsights/armpolicyinsights/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.7.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 0.7.0 (2023-03-31) ### Features Added diff --git a/sdk/resourcemanager/policyinsights/armpolicyinsights/autorest.md b/sdk/resourcemanager/policyinsights/armpolicyinsights/autorest.md index 86ad23cc0825..5a3de8a4a32d 100644 --- a/sdk/resourcemanager/policyinsights/armpolicyinsights/autorest.md +++ b/sdk/resourcemanager/policyinsights/armpolicyinsights/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/05a9cdab363b8ec824094ee73950c04594325172/specification/policyinsights/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/05a9cdab363b8ec824094ee73950c04594325172/specification/policyinsights/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.7.0 +module-version: 0.7.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/policyinsights/armpolicyinsights/constants.go b/sdk/resourcemanager/policyinsights/armpolicyinsights/constants.go index e6ccc9f0ff5f..cb0cd697c428 100644 --- a/sdk/resourcemanager/policyinsights/armpolicyinsights/constants.go +++ b/sdk/resourcemanager/policyinsights/armpolicyinsights/constants.go @@ -11,7 +11,7 @@ package armpolicyinsights const ( moduleName = "armpolicyinsights" - moduleVersion = "v0.7.0" + moduleVersion = "v0.7.1" ) // ComplianceState - The compliance state that should be set on the resource. diff --git a/sdk/resourcemanager/policyinsights/armpolicyinsights/models.go b/sdk/resourcemanager/policyinsights/armpolicyinsights/models.go index c9d990d35ae1..0776bc7edf4b 100644 --- a/sdk/resourcemanager/policyinsights/armpolicyinsights/models.go +++ b/sdk/resourcemanager/policyinsights/armpolicyinsights/models.go @@ -14,76 +14,76 @@ import "time" // Attestation - An attestation resource. type Attestation struct { // REQUIRED; Properties for the attestation. - Properties *AttestationProperties `json:"properties,omitempty"` + Properties *AttestationProperties // 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 } // AttestationEvidence - A piece of evidence supporting the compliance state set in the attestation. type AttestationEvidence struct { // The description for this piece of evidence. - Description *string `json:"description,omitempty"` + Description *string // The URI location of the evidence. - SourceURI *string `json:"sourceUri,omitempty"` + SourceURI *string } // AttestationListResult - List of attestations. type AttestationListResult struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of attestation definitions. - Value []*Attestation `json:"value,omitempty" azure:"ro"` + Value []*Attestation } // AttestationProperties - The properties of an attestation resource. type AttestationProperties struct { // REQUIRED; The resource ID of the policy assignment that the attestation is setting the state for. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"` + PolicyAssignmentID *string // The time the evidence was assessed - AssessmentDate *time.Time `json:"assessmentDate,omitempty"` + AssessmentDate *time.Time // Comments describing why this attestation was created. - Comments *string `json:"comments,omitempty"` + Comments *string // The compliance state that should be set on the resource. - ComplianceState *ComplianceState `json:"complianceState,omitempty"` + ComplianceState *ComplianceState // The evidence supporting the compliance state set in this attestation. - Evidence []*AttestationEvidence `json:"evidence,omitempty"` + Evidence []*AttestationEvidence // The time the compliance state should expire. - ExpiresOn *time.Time `json:"expiresOn,omitempty"` + ExpiresOn *time.Time // Additional metadata for this attestation - Metadata any `json:"metadata,omitempty"` + Metadata any // The person responsible for setting the state of the resource. This value is typically an Azure Active Directory object // ID. - Owner *string `json:"owner,omitempty"` + Owner *string // The policy definition reference ID from a policy set definition that the attestation is setting the state for. If the policy // assignment assigns a policy set definition the attestation can choose a // definition within the set definition with this property or omit this and set the state for the entire set definition. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"` + PolicyDefinitionReferenceID *string // READ-ONLY; The time the compliance state was last changed in this attestation. - LastComplianceStateChangeAt *time.Time `json:"lastComplianceStateChangeAt,omitempty" azure:"ro"` + LastComplianceStateChangeAt *time.Time // READ-ONLY; The status of the attestation. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // AttestationsClientBeginCreateOrUpdateAtResourceGroupOptions contains the optional parameters for the AttestationsClient.BeginCreateOrUpdateAtResourceGroup @@ -164,58 +164,58 @@ type AttestationsClientListForSubscriptionOptions struct { // evaluated. type CheckManagementGroupRestrictionsRequest struct { // The list of fields and values that should be evaluated for potential restrictions. - PendingFields []*PendingField `json:"pendingFields,omitempty"` + PendingFields []*PendingField // The information about the resource that will be evaluated. - ResourceDetails *CheckRestrictionsResourceDetails `json:"resourceDetails,omitempty"` + ResourceDetails *CheckRestrictionsResourceDetails } // CheckRestrictionsRequest - The check policy restrictions parameters describing the resource that is being evaluated. type CheckRestrictionsRequest struct { // REQUIRED; The information about the resource that will be evaluated. - ResourceDetails *CheckRestrictionsResourceDetails `json:"resourceDetails,omitempty"` + ResourceDetails *CheckRestrictionsResourceDetails // The list of fields and values that should be evaluated for potential restrictions. - PendingFields []*PendingField `json:"pendingFields,omitempty"` + PendingFields []*PendingField } // CheckRestrictionsResourceDetails - The information about the resource that will be evaluated. type CheckRestrictionsResourceDetails struct { // REQUIRED; The resource content. This should include whatever properties are already known and can be a partial set of all // resource properties. - ResourceContent any `json:"resourceContent,omitempty"` + ResourceContent any // The api-version of the resource content. - APIVersion *string `json:"apiVersion,omitempty"` + APIVersion *string // The scope where the resource is being created. For example, if the resource is a child resource this would be the parent // resource's resource ID. - Scope *string `json:"scope,omitempty"` + Scope *string } // CheckRestrictionsResult - The result of a check policy restrictions evaluation on a resource. type CheckRestrictionsResult struct { // READ-ONLY; Evaluation results for the provided partial resource content. - ContentEvaluationResult *CheckRestrictionsResultContentEvaluationResult `json:"contentEvaluationResult,omitempty" azure:"ro"` + ContentEvaluationResult *CheckRestrictionsResultContentEvaluationResult // READ-ONLY; The restrictions that will be placed on various fields in the resource by policy. - FieldRestrictions []*FieldRestrictions `json:"fieldRestrictions,omitempty" azure:"ro"` + FieldRestrictions []*FieldRestrictions } // CheckRestrictionsResultContentEvaluationResult - Evaluation results for the provided partial resource content. type CheckRestrictionsResultContentEvaluationResult struct { // Policy evaluation results against the given resource content. This will indicate if the partial content that was provided // will be denied as-is. - PolicyEvaluations []*PolicyEvaluationResult `json:"policyEvaluations,omitempty"` + PolicyEvaluations []*PolicyEvaluationResult } // ComplianceDetail - The compliance state rollup. type ComplianceDetail struct { // The compliance state. - ComplianceState *string `json:"complianceState,omitempty"` + ComplianceState *string // Summarized count value for this compliance state. - Count *int32 `json:"count,omitempty"` + Count *int32 } // ComponentEventDetails - Component event details. @@ -224,25 +224,25 @@ type ComponentEventDetails struct { AdditionalProperties map[string]any // Component Id. - ID *string `json:"id,omitempty"` + ID *string // Component name. - Name *string `json:"name,omitempty"` + Name *string // Policy definition action, i.e. effect. - PolicyDefinitionAction *string `json:"policyDefinitionAction,omitempty"` + PolicyDefinitionAction *string // Principal object ID for the user who initiated the resource component operation that triggered the policy event. - PrincipalOid *string `json:"principalOid,omitempty"` + PrincipalOid *string // Tenant ID for the policy event record. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string // Timestamp for component policy event record. - Timestamp *time.Time `json:"timestamp,omitempty"` + Timestamp *time.Time // Component type. - Type *string `json:"type,omitempty"` + Type *string } // ComponentStateDetails - Component state details. @@ -251,172 +251,172 @@ type ComponentStateDetails struct { AdditionalProperties map[string]any // Component compliance state. - ComplianceState *string `json:"complianceState,omitempty"` + ComplianceState *string // Component Id. - ID *string `json:"id,omitempty"` + ID *string // Component name. - Name *string `json:"name,omitempty"` + Name *string // Component compliance evaluation timestamp. - Timestamp *time.Time `json:"timestamp,omitempty"` + Timestamp *time.Time // Component type. - Type *string `json:"type,omitempty"` + Type *string } // ErrorDefinition - Error definition. type ErrorDefinition struct { // READ-ONLY; Additional scenario specific error details. - AdditionalInfo []*TypedErrorInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*TypedErrorInfo // READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Internal error details. - Details []*ErrorDefinition `json:"details,omitempty" azure:"ro"` + Details []*ErrorDefinition // READ-ONLY; Description of the error. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The target of the error. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorDefinitionAutoGenerated - Error definition. type ErrorDefinitionAutoGenerated struct { // READ-ONLY; Additional scenario specific error details. - AdditionalInfo []*TypedErrorInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*TypedErrorInfo // READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Internal error details. - Details []*ErrorDefinitionAutoGenerated `json:"details,omitempty" azure:"ro"` + Details []*ErrorDefinitionAutoGenerated // READ-ONLY; Description of the error. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The target of the error. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorDefinitionAutoGenerated2 - Error definition. type ErrorDefinitionAutoGenerated2 struct { // READ-ONLY; Additional scenario specific error details. - AdditionalInfo []*TypedErrorInfo `json:"additionalInfo,omitempty" azure:"ro"` + AdditionalInfo []*TypedErrorInfo // READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Internal error details. - Details []*ErrorDefinitionAutoGenerated2 `json:"details,omitempty" azure:"ro"` + Details []*ErrorDefinitionAutoGenerated2 // READ-ONLY; Description of the error. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string // READ-ONLY; The target of the error. - Target *string `json:"target,omitempty" azure:"ro"` + Target *string } // ErrorResponse - Error response. type ErrorResponse struct { // The error details. - Error *ErrorDefinition `json:"error,omitempty"` + Error *ErrorDefinition } // ErrorResponseAutoGenerated - Error response. type ErrorResponseAutoGenerated struct { // The error details. - Error *ErrorDefinitionAutoGenerated `json:"error,omitempty"` + Error *ErrorDefinitionAutoGenerated } // ErrorResponseAutoGenerated2 - Error response. type ErrorResponseAutoGenerated2 struct { // The error details. - Error *ErrorDefinitionAutoGenerated2 `json:"error,omitempty"` + Error *ErrorDefinitionAutoGenerated2 } // ExpressionEvaluationDetails - Evaluation details of policy language expressions. type ExpressionEvaluationDetails struct { // Expression evaluated. - Expression *string `json:"expression,omitempty"` + Expression *string // Value of the expression. - ExpressionValue any `json:"expressionValue,omitempty"` + ExpressionValue any // Operator to compare the expression value and the target value. - Operator *string `json:"operator,omitempty"` + Operator *string // Property path if the expression is a field or an alias. - Path *string `json:"path,omitempty"` + Path *string // Evaluation result. - Result *string `json:"result,omitempty"` + Result *string // Target value to be compared with the expression value. - TargetValue any `json:"targetValue,omitempty"` + TargetValue any // READ-ONLY; The kind of expression that was evaluated. - ExpressionKind *string `json:"expressionKind,omitempty" azure:"ro"` + ExpressionKind *string } // FieldRestriction - The restrictions on a field imposed by a specific policy. type FieldRestriction struct { // READ-ONLY; The value that policy will set for the field if the user does not provide a value. - DefaultValue *string `json:"defaultValue,omitempty" azure:"ro"` + DefaultValue *string // READ-ONLY; The details of the policy that is causing the field restriction. - Policy *PolicyReference `json:"policy,omitempty" azure:"ro"` + Policy *PolicyReference // READ-ONLY; The type of restriction that is imposed on the field. - Result *FieldRestrictionResult `json:"result,omitempty" azure:"ro"` + Result *FieldRestrictionResult // READ-ONLY; The values that policy either requires or denies for the field. - Values []*string `json:"values,omitempty" azure:"ro"` + Values []*string } // FieldRestrictions - The restrictions that will be placed on a field in the resource by policy. type FieldRestrictions struct { // The restrictions placed on that field by policy. - Restrictions []*FieldRestriction `json:"restrictions,omitempty"` + Restrictions []*FieldRestriction // READ-ONLY; The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias. - Field *string `json:"field,omitempty" azure:"ro"` + Field *string } // IfNotExistsEvaluationDetails - Evaluation details of IfNotExists effect. type IfNotExistsEvaluationDetails struct { // ID of the last evaluated resource for IfNotExists effect. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Total number of resources to which the existence condition is applicable. - TotalResources *int32 `json:"totalResources,omitempty"` + TotalResources *int32 } // Operation definition. type Operation struct { // Display metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` + Display *OperationDisplay // Operation name. - Name *string `json:"name,omitempty"` + Name *string } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // Operation description. - Description *string `json:"description,omitempty"` + Description *string // Operation name. - Operation *string `json:"operation,omitempty"` + Operation *string // Resource provider name. - Provider *string `json:"provider,omitempty"` + Provider *string // Resource name on which the operation is performed. - Resource *string `json:"resource,omitempty"` + Resource *string } // OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. @@ -427,98 +427,98 @@ type OperationsClientListOptions struct { // OperationsListResults - List of available operations. type OperationsListResults struct { // OData entity count; represents the number of operations returned. - ODataCount *int32 `json:"@odata.count,omitempty"` + ODataCount *int32 // List of available operations. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // PendingField - A field that should be evaluated against Azure Policy to determine restrictions. type PendingField struct { // REQUIRED; The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias. - Field *string `json:"field,omitempty"` + Field *string // The list of potential values for the field that should be evaluated against Azure Policy. - Values []*string `json:"values,omitempty"` + Values []*string } // PolicyAssignmentSummary - Policy assignment summary. type PolicyAssignmentSummary struct { // Policy assignment ID. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"` + PolicyAssignmentID *string // Policy definitions summary. - PolicyDefinitions []*PolicyDefinitionSummary `json:"policyDefinitions,omitempty"` + PolicyDefinitions []*PolicyDefinitionSummary // Policy definition group summary. - PolicyGroups []*PolicyGroupSummary `json:"policyGroups,omitempty"` + PolicyGroups []*PolicyGroupSummary // Policy set definition ID, if the policy assignment is for a policy set. - PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"` + PolicySetDefinitionID *string // Compliance summary for the policy assignment. - Results *SummaryResults `json:"results,omitempty"` + Results *SummaryResults } // PolicyDefinitionSummary - Policy definition summary. type PolicyDefinitionSummary struct { // Policy effect, i.e. policy definition action. - Effect *string `json:"effect,omitempty"` + Effect *string // Policy definition group names. - PolicyDefinitionGroupNames []*string `json:"policyDefinitionGroupNames,omitempty"` + PolicyDefinitionGroupNames []*string // Policy definition ID. - PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"` + PolicyDefinitionID *string // Policy definition reference ID. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"` + PolicyDefinitionReferenceID *string // Compliance summary for the policy definition. - Results *SummaryResults `json:"results,omitempty"` + Results *SummaryResults } // PolicyDetails - The policy details. type PolicyDetails struct { // READ-ONLY; The display name of the policy assignment. - PolicyAssignmentDisplayName *string `json:"policyAssignmentDisplayName,omitempty" azure:"ro"` + PolicyAssignmentDisplayName *string // READ-ONLY; The ID of the policy assignment. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" azure:"ro"` + PolicyAssignmentID *string // READ-ONLY; The scope of the policy assignment. - PolicyAssignmentScope *string `json:"policyAssignmentScope,omitempty" azure:"ro"` + PolicyAssignmentScope *string // READ-ONLY; The ID of the policy definition. - PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" azure:"ro"` + PolicyDefinitionID *string // READ-ONLY; The policy definition reference ID within the policy set definition. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" azure:"ro"` + PolicyDefinitionReferenceID *string // READ-ONLY; The ID of the policy set definition. - PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty" azure:"ro"` + PolicySetDefinitionID *string } // PolicyEvaluationDetails - Policy evaluation details. type PolicyEvaluationDetails struct { // Details of the evaluated expressions. - EvaluatedExpressions []*ExpressionEvaluationDetails `json:"evaluatedExpressions,omitempty"` + EvaluatedExpressions []*ExpressionEvaluationDetails // Evaluation details of IfNotExists effect. - IfNotExistsDetails *IfNotExistsEvaluationDetails `json:"ifNotExistsDetails,omitempty"` + IfNotExistsDetails *IfNotExistsEvaluationDetails } // PolicyEvaluationResult - The result of a non-compliant policy evaluation against the given resource content. type PolicyEvaluationResult struct { // READ-ONLY; The detailed results of the policy expressions and values that were evaluated. - EvaluationDetails *PolicyEvaluationDetails `json:"evaluationDetails,omitempty" azure:"ro"` + EvaluationDetails *PolicyEvaluationDetails // READ-ONLY; The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain // other values if errors were encountered. - EvaluationResult *string `json:"evaluationResult,omitempty" azure:"ro"` + EvaluationResult *string // READ-ONLY; The details of the policy that was evaluated. - PolicyInfo *PolicyReference `json:"policyInfo,omitempty" azure:"ro"` + PolicyInfo *PolicyReference } // PolicyEvent - Policy event record. @@ -527,97 +527,97 @@ type PolicyEvent struct { AdditionalProperties map[string]any // Compliance state of the resource. - ComplianceState *string `json:"complianceState,omitempty"` + ComplianceState *string // Components events records populated only when URL contains $expand=components clause. - Components []*ComponentEventDetails `json:"components,omitempty"` + Components []*ComponentEventDetails // Effective parameters for the policy assignment. - EffectiveParameters *string `json:"effectiveParameters,omitempty"` + EffectiveParameters *string // Flag which states whether the resource is compliant against the policy assignment it was evaluated against. - IsCompliant *bool `json:"isCompliant,omitempty"` + IsCompliant *bool // Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. - ManagementGroupIDs *string `json:"managementGroupIds,omitempty"` + ManagementGroupIDs *string // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity ID; always set to null since policy event records do not have an entity ID. - ODataID *string `json:"@odata.id,omitempty"` + ODataID *string // Policy assignment ID. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"` + PolicyAssignmentID *string // Policy assignment name. - PolicyAssignmentName *string `json:"policyAssignmentName,omitempty"` + PolicyAssignmentName *string // Policy assignment owner. - PolicyAssignmentOwner *string `json:"policyAssignmentOwner,omitempty"` + PolicyAssignmentOwner *string // Policy assignment parameters. - PolicyAssignmentParameters *string `json:"policyAssignmentParameters,omitempty"` + PolicyAssignmentParameters *string // Policy assignment scope. - PolicyAssignmentScope *string `json:"policyAssignmentScope,omitempty"` + PolicyAssignmentScope *string // Policy definition action, i.e. effect. - PolicyDefinitionAction *string `json:"policyDefinitionAction,omitempty"` + PolicyDefinitionAction *string // Policy definition category. - PolicyDefinitionCategory *string `json:"policyDefinitionCategory,omitempty"` + PolicyDefinitionCategory *string // Policy definition ID. - PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"` + PolicyDefinitionID *string // Policy definition name. - PolicyDefinitionName *string `json:"policyDefinitionName,omitempty"` + PolicyDefinitionName *string // Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"` + PolicyDefinitionReferenceID *string // Policy set definition category, if the policy assignment is for a policy set. - PolicySetDefinitionCategory *string `json:"policySetDefinitionCategory,omitempty"` + PolicySetDefinitionCategory *string // Policy set definition ID, if the policy assignment is for a policy set. - PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"` + PolicySetDefinitionID *string // Policy set definition name, if the policy assignment is for a policy set. - PolicySetDefinitionName *string `json:"policySetDefinitionName,omitempty"` + PolicySetDefinitionName *string // Policy set definition owner, if the policy assignment is for a policy set. - PolicySetDefinitionOwner *string `json:"policySetDefinitionOwner,omitempty"` + PolicySetDefinitionOwner *string // Policy set definition parameters, if the policy assignment is for a policy set. - PolicySetDefinitionParameters *string `json:"policySetDefinitionParameters,omitempty"` + PolicySetDefinitionParameters *string // Principal object ID for the user who initiated the resource operation that triggered the policy event. - PrincipalOid *string `json:"principalOid,omitempty"` + PrincipalOid *string // Resource group name. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // Resource ID. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Resource location. - ResourceLocation *string `json:"resourceLocation,omitempty"` + ResourceLocation *string // List of resource tags. - ResourceTags *string `json:"resourceTags,omitempty"` + ResourceTags *string // Resource type. - ResourceType *string `json:"resourceType,omitempty"` + ResourceType *string // Subscription ID. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string // Tenant ID for the policy event record. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string // Timestamp for the policy event record. - Timestamp *time.Time `json:"timestamp,omitempty"` + Timestamp *time.Time } // PolicyEventsClientListQueryResultsForManagementGroupOptions contains the optional parameters for the PolicyEventsClient.NewListQueryResultsForManagementGroupPager @@ -671,40 +671,40 @@ type PolicyEventsClientListQueryResultsForSubscriptionOptions struct { // PolicyEventsQueryResults - Query results. type PolicyEventsQueryResults struct { // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity count; represents the number of policy event records returned. - ODataCount *int32 `json:"@odata.count,omitempty"` + ODataCount *int32 // Odata next link; URL to get the next set of results. - ODataNextLink *string `json:"@odata.nextLink,omitempty"` + ODataNextLink *string // Query results. - Value []*PolicyEvent `json:"value,omitempty"` + Value []*PolicyEvent } // PolicyGroupSummary - Policy definition group summary. type PolicyGroupSummary struct { // Policy group name. - PolicyGroupName *string `json:"policyGroupName,omitempty"` + PolicyGroupName *string // Compliance summary for the policy definition group. - Results *SummaryResults `json:"results,omitempty"` + Results *SummaryResults } // PolicyMetadata - Policy metadata resource definition. type PolicyMetadata struct { // Properties of the policy metadata. - Properties *PolicyMetadataProperties `json:"properties,omitempty"` + Properties *PolicyMetadataProperties // READ-ONLY; The ID of the policy metadata. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the policy metadata. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the policy metadata. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // PolicyMetadataClientGetResourceOptions contains the optional parameters for the PolicyMetadataClient.GetResource method. @@ -720,73 +720,73 @@ type PolicyMetadataClientListOptions struct { // PolicyMetadataCollection - Collection of policy metadata resources. type PolicyMetadataCollection struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of policy metadata definitions. - Value []*SlimPolicyMetadata `json:"value,omitempty" azure:"ro"` + Value []*SlimPolicyMetadata } // PolicyMetadataProperties - The properties of the policy metadata. type PolicyMetadataProperties struct { // READ-ONLY; Url for getting additional content about the resource metadata. - AdditionalContentURL *string `json:"additionalContentUrl,omitempty" azure:"ro"` + AdditionalContentURL *string // READ-ONLY; The category of the policy metadata. - Category *string `json:"category,omitempty" azure:"ro"` + Category *string // READ-ONLY; The description of the policy metadata. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Additional metadata. - Metadata any `json:"metadata,omitempty" azure:"ro"` + Metadata any // READ-ONLY; The policy metadata identifier. - MetadataID *string `json:"metadataId,omitempty" azure:"ro"` + MetadataID *string // READ-ONLY; The owner of the policy metadata. - Owner *string `json:"owner,omitempty" azure:"ro"` + Owner *string // READ-ONLY; The requirements of the policy metadata. - Requirements *string `json:"requirements,omitempty" azure:"ro"` + Requirements *string // READ-ONLY; The title of the policy metadata. - Title *string `json:"title,omitempty" azure:"ro"` + Title *string } // PolicyMetadataSlimProperties - The properties of the policy metadata, excluding properties containing large strings type PolicyMetadataSlimProperties struct { // READ-ONLY; Url for getting additional content about the resource metadata. - AdditionalContentURL *string `json:"additionalContentUrl,omitempty" azure:"ro"` + AdditionalContentURL *string // READ-ONLY; The category of the policy metadata. - Category *string `json:"category,omitempty" azure:"ro"` + Category *string // READ-ONLY; Additional metadata. - Metadata any `json:"metadata,omitempty" azure:"ro"` + Metadata any // READ-ONLY; The policy metadata identifier. - MetadataID *string `json:"metadataId,omitempty" azure:"ro"` + MetadataID *string // READ-ONLY; The owner of the policy metadata. - Owner *string `json:"owner,omitempty" azure:"ro"` + Owner *string // READ-ONLY; The title of the policy metadata. - Title *string `json:"title,omitempty" azure:"ro"` + Title *string } // PolicyReference - Resource identifiers for a policy. type PolicyReference struct { // READ-ONLY; The resource identifier of the policy assignment. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" azure:"ro"` + PolicyAssignmentID *string // READ-ONLY; The resource identifier of the policy definition. - PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" azure:"ro"` + PolicyDefinitionID *string // READ-ONLY; The reference identifier of a specific policy definition within a policy set definition. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" azure:"ro"` + PolicyDefinitionReferenceID *string // READ-ONLY; The resource identifier of the policy set definition. - PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty" azure:"ro"` + PolicySetDefinitionID *string } // PolicyRestrictionsClientCheckAtManagementGroupScopeOptions contains the optional parameters for the PolicyRestrictionsClient.CheckAtManagementGroupScope @@ -813,107 +813,107 @@ type PolicyState struct { AdditionalProperties map[string]any // Compliance state of the resource. - ComplianceState *string `json:"complianceState,omitempty"` + ComplianceState *string // Components state compliance records populated only when URL contains $expand=components clause. - Components []*ComponentStateDetails `json:"components,omitempty"` + Components []*ComponentStateDetails // Effective parameters for the policy assignment. - EffectiveParameters *string `json:"effectiveParameters,omitempty"` + EffectiveParameters *string // Flag which states whether the resource is compliant against the policy assignment it was evaluated against. This property // is deprecated; please use ComplianceState instead. - IsCompliant *bool `json:"isCompliant,omitempty"` + IsCompliant *bool // Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. - ManagementGroupIDs *string `json:"managementGroupIds,omitempty"` + ManagementGroupIDs *string // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity ID; always set to null since policy state records do not have an entity ID. - ODataID *string `json:"@odata.id,omitempty"` + ODataID *string // Policy assignment ID. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"` + PolicyAssignmentID *string // Policy assignment name. - PolicyAssignmentName *string `json:"policyAssignmentName,omitempty"` + PolicyAssignmentName *string // Policy assignment owner. - PolicyAssignmentOwner *string `json:"policyAssignmentOwner,omitempty"` + PolicyAssignmentOwner *string // Policy assignment parameters. - PolicyAssignmentParameters *string `json:"policyAssignmentParameters,omitempty"` + PolicyAssignmentParameters *string // Policy assignment scope. - PolicyAssignmentScope *string `json:"policyAssignmentScope,omitempty"` + PolicyAssignmentScope *string // Policy definition action, i.e. effect. - PolicyDefinitionAction *string `json:"policyDefinitionAction,omitempty"` + PolicyDefinitionAction *string // Policy definition category. - PolicyDefinitionCategory *string `json:"policyDefinitionCategory,omitempty"` + PolicyDefinitionCategory *string // Policy definition group names. - PolicyDefinitionGroupNames []*string `json:"policyDefinitionGroupNames,omitempty"` + PolicyDefinitionGroupNames []*string // Policy definition ID. - PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"` + PolicyDefinitionID *string // Policy definition name. - PolicyDefinitionName *string `json:"policyDefinitionName,omitempty"` + PolicyDefinitionName *string // Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"` + PolicyDefinitionReferenceID *string // Policy evaluation details. - PolicyEvaluationDetails *PolicyEvaluationDetails `json:"policyEvaluationDetails,omitempty"` + PolicyEvaluationDetails *PolicyEvaluationDetails // Policy set definition category, if the policy assignment is for a policy set. - PolicySetDefinitionCategory *string `json:"policySetDefinitionCategory,omitempty"` + PolicySetDefinitionCategory *string // Policy set definition ID, if the policy assignment is for a policy set. - PolicySetDefinitionID *string `json:"policySetDefinitionId,omitempty"` + PolicySetDefinitionID *string // Policy set definition name, if the policy assignment is for a policy set. - PolicySetDefinitionName *string `json:"policySetDefinitionName,omitempty"` + PolicySetDefinitionName *string // Policy set definition owner, if the policy assignment is for a policy set. - PolicySetDefinitionOwner *string `json:"policySetDefinitionOwner,omitempty"` + PolicySetDefinitionOwner *string // Policy set definition parameters, if the policy assignment is for a policy set. - PolicySetDefinitionParameters *string `json:"policySetDefinitionParameters,omitempty"` + PolicySetDefinitionParameters *string // Resource group name. - ResourceGroup *string `json:"resourceGroup,omitempty"` + ResourceGroup *string // Resource ID. - ResourceID *string `json:"resourceId,omitempty"` + ResourceID *string // Resource location. - ResourceLocation *string `json:"resourceLocation,omitempty"` + ResourceLocation *string // List of resource tags. - ResourceTags *string `json:"resourceTags,omitempty"` + ResourceTags *string // Resource type. - ResourceType *string `json:"resourceType,omitempty"` + ResourceType *string // Subscription ID. - SubscriptionID *string `json:"subscriptionId,omitempty"` + SubscriptionID *string // Timestamp for the policy state record. - Timestamp *time.Time `json:"timestamp,omitempty"` + Timestamp *time.Time // READ-ONLY; Evaluated policy assignment version. - PolicyAssignmentVersion *string `json:"policyAssignmentVersion,omitempty" azure:"ro"` + PolicyAssignmentVersion *string // READ-ONLY; Evaluated policy definition version. - PolicyDefinitionVersion *string `json:"policyDefinitionVersion,omitempty" azure:"ro"` + PolicyDefinitionVersion *string // READ-ONLY; Evaluated policy set definition version. - PolicySetDefinitionVersion *string `json:"policySetDefinitionVersion,omitempty" azure:"ro"` + PolicySetDefinitionVersion *string } // PolicyStatesClientBeginTriggerResourceGroupEvaluationOptions contains the optional parameters for the PolicyStatesClient.BeginTriggerResourceGroupEvaluation @@ -1029,34 +1029,34 @@ type PolicyStatesClientSummarizeForSubscriptionOptions struct { // PolicyStatesQueryResults - Query results. type PolicyStatesQueryResults struct { // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity count; represents the number of policy state records returned. - ODataCount *int32 `json:"@odata.count,omitempty"` + ODataCount *int32 // Odata next link; URL to get the next set of results. - ODataNextLink *string `json:"@odata.nextLink,omitempty"` + ODataNextLink *string // Query results. - Value []*PolicyState `json:"value,omitempty"` + Value []*PolicyState } // PolicyTrackedResource - Policy tracked resource record. type PolicyTrackedResource struct { // READ-ONLY; The details of the policy triggered deployment that created the tracked resource. - CreatedBy *TrackedResourceModificationDetails `json:"createdBy,omitempty" azure:"ro"` + CreatedBy *TrackedResourceModificationDetails // READ-ONLY; The details of the policy triggered deployment that modified the tracked resource. - LastModifiedBy *TrackedResourceModificationDetails `json:"lastModifiedBy,omitempty" azure:"ro"` + LastModifiedBy *TrackedResourceModificationDetails // READ-ONLY; Timestamp of the last update to the tracked resource. - LastUpdateUTC *time.Time `json:"lastUpdateUtc,omitempty" azure:"ro"` + LastUpdateUTC *time.Time // READ-ONLY; The details of the policy that require the tracked resource. - PolicyDetails *PolicyDetails `json:"policyDetails,omitempty" azure:"ro"` + PolicyDetails *PolicyDetails // READ-ONLY; The ID of the policy tracked resource. - TrackedResourceID *string `json:"trackedResourceId,omitempty" azure:"ro"` + TrackedResourceID *string } // PolicyTrackedResourcesClientListQueryResultsForManagementGroupOptions contains the optional parameters for the PolicyTrackedResourcesClient.NewListQueryResultsForManagementGroupPager @@ -1086,25 +1086,25 @@ type PolicyTrackedResourcesClientListQueryResultsForSubscriptionOptions struct { // PolicyTrackedResourcesQueryResults - Query results. type PolicyTrackedResourcesQueryResults struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Query results. - Value []*PolicyTrackedResource `json:"value,omitempty" azure:"ro"` + Value []*PolicyTrackedResource } // QueryFailure - Error response. type QueryFailure struct { // Error definition. - Error *QueryFailureError `json:"error,omitempty"` + Error *QueryFailureError } // QueryFailureError - Error definition. type QueryFailureError struct { // READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code. - Code *string `json:"code,omitempty" azure:"ro"` + Code *string // READ-ONLY; Description of the error. - Message *string `json:"message,omitempty" azure:"ro"` + Message *string } // QueryOptions contains a group of parameters for the PolicyTrackedResourcesClient.ListQueryResultsForManagementGroup method. @@ -1136,124 +1136,124 @@ type QueryOptions struct { // Remediation - The remediation definition. type Remediation struct { // Properties for the remediation. - Properties *RemediationProperties `json:"properties,omitempty"` + Properties *RemediationProperties // READ-ONLY; The ID of the remediation. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the remediation. - 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 remediation. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // RemediationDeployment - Details of a single deployment created by the remediation. type RemediationDeployment struct { // READ-ONLY; The time at which the remediation was created. - CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"` + CreatedOn *time.Time // READ-ONLY; Resource ID of the template deployment that will remediate the resource. - DeploymentID *string `json:"deploymentId,omitempty" azure:"ro"` + DeploymentID *string // READ-ONLY; Error encountered while remediated the resource. - Error *ErrorDefinition `json:"error,omitempty" azure:"ro"` + Error *ErrorDefinition // READ-ONLY; The time at which the remediation deployment was last updated. - LastUpdatedOn *time.Time `json:"lastUpdatedOn,omitempty" azure:"ro"` + LastUpdatedOn *time.Time // READ-ONLY; Resource ID of the resource that is being remediated by the deployment. - RemediatedResourceID *string `json:"remediatedResourceId,omitempty" azure:"ro"` + RemediatedResourceID *string // READ-ONLY; Location of the resource that is being remediated. - ResourceLocation *string `json:"resourceLocation,omitempty" azure:"ro"` + ResourceLocation *string // READ-ONLY; Status of the remediation deployment. - Status *string `json:"status,omitempty" azure:"ro"` + Status *string } // RemediationDeploymentSummary - The deployment status summary for all deployments created by the remediation. type RemediationDeploymentSummary struct { // READ-ONLY; The number of deployments required by the remediation that have failed. - FailedDeployments *int32 `json:"failedDeployments,omitempty" azure:"ro"` + FailedDeployments *int32 // READ-ONLY; The number of deployments required by the remediation that have succeeded. - SuccessfulDeployments *int32 `json:"successfulDeployments,omitempty" azure:"ro"` + SuccessfulDeployments *int32 // READ-ONLY; The number of deployments required by the remediation. - TotalDeployments *int32 `json:"totalDeployments,omitempty" azure:"ro"` + TotalDeployments *int32 } // RemediationDeploymentsListResult - List of deployments for a remediation. type RemediationDeploymentsListResult struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of deployments for the remediation. - Value []*RemediationDeployment `json:"value,omitempty" azure:"ro"` + Value []*RemediationDeployment } // RemediationFilters - The filters that will be applied to determine which resources to remediate. type RemediationFilters struct { // The resource locations that will be remediated. - Locations []*string `json:"locations,omitempty"` + Locations []*string } // RemediationListResult - List of remediations. type RemediationListResult struct { // READ-ONLY; The URL to get the next set of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of remediation definitions. - Value []*Remediation `json:"value,omitempty" azure:"ro"` + Value []*Remediation } // RemediationProperties - The remediation properties. type RemediationProperties struct { // The remediation failure threshold settings - FailureThreshold *RemediationPropertiesFailureThreshold `json:"failureThreshold,omitempty"` + FailureThreshold *RemediationPropertiesFailureThreshold // The filters that will be applied to determine which resources to remediate. - Filters *RemediationFilters `json:"filters,omitempty"` + Filters *RemediationFilters // Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. // If not provided, the default parallel deployments value is used. - ParallelDeployments *int32 `json:"parallelDeployments,omitempty"` + ParallelDeployments *int32 // The resource ID of the policy assignment that should be remediated. - PolicyAssignmentID *string `json:"policyAssignmentId,omitempty"` + PolicyAssignmentID *string // The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment // being remediated assigns a policy set definition. - PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty"` + PolicyDefinitionReferenceID *string // Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource // count is used. - ResourceCount *int32 `json:"resourceCount,omitempty"` + ResourceCount *int32 // The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified. - ResourceDiscoveryMode *ResourceDiscoveryMode `json:"resourceDiscoveryMode,omitempty"` + ResourceDiscoveryMode *ResourceDiscoveryMode // READ-ONLY; The remediation correlation Id. Can be used to find events related to the remediation in the activity log. - CorrelationID *string `json:"correlationId,omitempty" azure:"ro"` + CorrelationID *string // READ-ONLY; The time at which the remediation was created. - CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"` + CreatedOn *time.Time // READ-ONLY; The deployment status summary for all deployments created by the remediation. - DeploymentStatus *RemediationDeploymentSummary `json:"deploymentStatus,omitempty" azure:"ro"` + DeploymentStatus *RemediationDeploymentSummary // READ-ONLY; The time at which the remediation was last updated. - LastUpdatedOn *time.Time `json:"lastUpdatedOn,omitempty" azure:"ro"` + LastUpdatedOn *time.Time // READ-ONLY; The status of the remediation. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string // READ-ONLY; The remediation status message. Provides additional details regarding the state of the remediation. - StatusMessage *string `json:"statusMessage,omitempty" azure:"ro"` + StatusMessage *string } // RemediationPropertiesFailureThreshold - The remediation failure threshold settings @@ -1261,7 +1261,7 @@ type RemediationPropertiesFailureThreshold struct { // A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage // of failed remediation operations (i.e. failed deployments) exceeds this // threshold. - Percentage *float32 `json:"percentage,omitempty"` + Percentage *float32 } // RemediationsClientCancelAtManagementGroupOptions contains the optional parameters for the RemediationsClient.CancelAtManagementGroup @@ -1410,120 +1410,120 @@ type RemediationsClientListForSubscriptionOptions 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 } // SlimPolicyMetadata - Slim version of policy metadata resource definition, excluding properties with large strings type SlimPolicyMetadata struct { // Properties of the policy metadata. - Properties *PolicyMetadataSlimProperties `json:"properties,omitempty"` + Properties *PolicyMetadataSlimProperties // READ-ONLY; The ID of the policy metadata. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; The name of the policy metadata. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The type of the policy metadata. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // SummarizeResults - Summarize action results. type SummarizeResults struct { // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity count; represents the number of summaries returned; always set to 1. - ODataCount *int32 `json:"@odata.count,omitempty"` + ODataCount *int32 // Summarize action results. - Value []*Summary `json:"value,omitempty"` + Value []*Summary } // Summary results. type Summary struct { // OData context string; used by OData clients to resolve type information based on metadata. - ODataContext *string `json:"@odata.context,omitempty"` + ODataContext *string // OData entity ID; always set to null since summaries do not have an entity ID. - ODataID *string `json:"@odata.id,omitempty"` + ODataID *string // Policy assignments summary. - PolicyAssignments []*PolicyAssignmentSummary `json:"policyAssignments,omitempty"` + PolicyAssignments []*PolicyAssignmentSummary // Compliance summary for all policy assignments. - Results *SummaryResults `json:"results,omitempty"` + Results *SummaryResults } // SummaryResults - Compliance summary on a particular summary level. type SummaryResults struct { // Number of non-compliant policies. - NonCompliantPolicies *int32 `json:"nonCompliantPolicies,omitempty"` + NonCompliantPolicies *int32 // Number of non-compliant resources. - NonCompliantResources *int32 `json:"nonCompliantResources,omitempty"` + NonCompliantResources *int32 // The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment // level, it represents policy definitions summary. - PolicyDetails []*ComplianceDetail `json:"policyDetails,omitempty"` + PolicyDetails []*ComplianceDetail // The policy definition group summary at this level. - PolicyGroupDetails []*ComplianceDetail `json:"policyGroupDetails,omitempty"` + PolicyGroupDetails []*ComplianceDetail // HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the compliance summary. This // property will not be available by default in future API versions, but could // be queried explicitly. - QueryResultsURI *string `json:"queryResultsUri,omitempty"` + QueryResultsURI *string // The resources summary at this level. - ResourceDetails []*ComplianceDetail `json:"resourceDetails,omitempty"` + ResourceDetails []*ComplianceDetail } // 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 } // TrackedResourceModificationDetails - The details of the policy triggered deployment that created or modified the tracked // resource. type TrackedResourceModificationDetails struct { // READ-ONLY; The ID of the deployment that created or modified the tracked resource. - DeploymentID *string `json:"deploymentId,omitempty" azure:"ro"` + DeploymentID *string // READ-ONLY; Timestamp of the deployment that created or modified the tracked resource. - DeploymentTime *time.Time `json:"deploymentTime,omitempty" azure:"ro"` + DeploymentTime *time.Time // READ-ONLY; The details of the policy that created or modified the tracked resource. - PolicyDetails *PolicyDetails `json:"policyDetails,omitempty" azure:"ro"` + PolicyDetails *PolicyDetails } // TypedErrorInfo - Scenario specific error details. type TypedErrorInfo struct { // READ-ONLY; The scenario specific error details. - Info any `json:"info,omitempty" azure:"ro"` + Info any // READ-ONLY; The type of included error details. - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } diff --git a/sdk/resourcemanager/policyinsights/armpolicyinsights/models_serde.go b/sdk/resourcemanager/policyinsights/armpolicyinsights/models_serde.go index addd31de9e2b..5c5c77a365f5 100644 --- a/sdk/resourcemanager/policyinsights/armpolicyinsights/models_serde.go +++ b/sdk/resourcemanager/policyinsights/armpolicyinsights/models_serde.go @@ -130,7 +130,7 @@ func (a AttestationProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "evidence", a.Evidence) populateTimeRFC3339(objectMap, "expiresOn", a.ExpiresOn) populateTimeRFC3339(objectMap, "lastComplianceStateChangeAt", a.LastComplianceStateChangeAt) - populate(objectMap, "metadata", &a.Metadata) + populateAny(objectMap, "metadata", a.Metadata) populate(objectMap, "owner", a.Owner) populate(objectMap, "policyAssignmentId", a.PolicyAssignmentID) populate(objectMap, "policyDefinitionReferenceId", a.PolicyDefinitionReferenceID) @@ -254,7 +254,7 @@ func (c *CheckRestrictionsRequest) UnmarshalJSON(data []byte) error { func (c CheckRestrictionsResourceDetails) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "apiVersion", c.APIVersion) - populate(objectMap, "resourceContent", &c.ResourceContent) + populateAny(objectMap, "resourceContent", c.ResourceContent) populate(objectMap, "scope", c.Scope) return json.Marshal(objectMap) } @@ -713,11 +713,11 @@ func (e ExpressionEvaluationDetails) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "expression", e.Expression) populate(objectMap, "expressionKind", e.ExpressionKind) - populate(objectMap, "expressionValue", &e.ExpressionValue) + populateAny(objectMap, "expressionValue", e.ExpressionValue) populate(objectMap, "operator", e.Operator) populate(objectMap, "path", e.Path) populate(objectMap, "result", e.Result) - populate(objectMap, "targetValue", &e.TargetValue) + populateAny(objectMap, "targetValue", e.TargetValue) return json.Marshal(objectMap) } @@ -1499,7 +1499,7 @@ func (p PolicyMetadataProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "additionalContentUrl", p.AdditionalContentURL) populate(objectMap, "category", p.Category) populate(objectMap, "description", p.Description) - populate(objectMap, "metadata", &p.Metadata) + populateAny(objectMap, "metadata", p.Metadata) populate(objectMap, "metadataId", p.MetadataID) populate(objectMap, "owner", p.Owner) populate(objectMap, "requirements", p.Requirements) @@ -1553,7 +1553,7 @@ func (p PolicyMetadataSlimProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "additionalContentUrl", p.AdditionalContentURL) populate(objectMap, "category", p.Category) - populate(objectMap, "metadata", &p.Metadata) + populateAny(objectMap, "metadata", p.Metadata) populate(objectMap, "metadataId", p.MetadataID) populate(objectMap, "owner", p.Owner) populate(objectMap, "title", p.Title) @@ -2579,7 +2579,7 @@ func (t *TrackedResourceModificationDetails) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type TypedErrorInfo. func (t TypedErrorInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) - populate(objectMap, "info", &t.Info) + populateAny(objectMap, "info", t.Info) populate(objectMap, "type", t.Type) return json.Marshal(objectMap) } @@ -2617,6 +2617,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/postgresql/armpostgresql/CHANGELOG.md b/sdk/resourcemanager/postgresql/armpostgresql/CHANGELOG.md index 203c8278b084..d146322dde39 100644 --- a/sdk/resourcemanager/postgresql/armpostgresql/CHANGELOG.md +++ b/sdk/resourcemanager/postgresql/armpostgresql/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-27) ### Features Added diff --git a/sdk/resourcemanager/postgresql/armpostgresql/autorest.md b/sdk/resourcemanager/postgresql/armpostgresql/autorest.md index 5936250b0b87..c69fdd8d867f 100644 --- a/sdk/resourcemanager/postgresql/armpostgresql/autorest.md +++ b/sdk/resourcemanager/postgresql/armpostgresql/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/c767823fdfd9d5e96bad245e3ea4d14d94a716bb/specification/postgresql/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/c767823fdfd9d5e96bad245e3ea4d14d94a716bb/specification/postgresql/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 1.1.0 +module-version: 1.1.1 package-singleservers: true ``` \ No newline at end of file diff --git a/sdk/resourcemanager/postgresql/armpostgresql/constants.go b/sdk/resourcemanager/postgresql/armpostgresql/constants.go index 85f0d5809d99..fa19beb2911d 100644 --- a/sdk/resourcemanager/postgresql/armpostgresql/constants.go +++ b/sdk/resourcemanager/postgresql/armpostgresql/constants.go @@ -11,7 +11,7 @@ package armpostgresql const ( moduleName = "armpostgresql" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // CreateMode - The mode to create a new server. diff --git a/sdk/resourcemanager/postgresql/armpostgresql/models.go b/sdk/resourcemanager/postgresql/armpostgresql/models.go index 2eea48ee35cc..7a06144b3835 100644 --- a/sdk/resourcemanager/postgresql/armpostgresql/models.go +++ b/sdk/resourcemanager/postgresql/armpostgresql/models.go @@ -20,43 +20,43 @@ type CheckNameAvailabilityClientExecuteOptions struct { // Configuration - Represents a Configuration. type Configuration struct { // The properties of a configuration. - Properties *ConfigurationProperties `json:"properties,omitempty"` + Properties *ConfigurationProperties // 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 } // ConfigurationListResult - A list of server configurations. type ConfigurationListResult struct { // The list of server configurations. - Value []*Configuration `json:"value,omitempty"` + Value []*Configuration } // ConfigurationProperties - The properties of a configuration. type ConfigurationProperties struct { // Source of the configuration. - Source *string `json:"source,omitempty"` + Source *string // Value of the configuration. - Value *string `json:"value,omitempty"` + Value *string // READ-ONLY; Allowed values of the configuration. - AllowedValues *string `json:"allowedValues,omitempty" azure:"ro"` + AllowedValues *string // READ-ONLY; Data type of the configuration. - DataType *string `json:"dataType,omitempty" azure:"ro"` + DataType *string // READ-ONLY; Default value of the configuration. - DefaultValue *string `json:"defaultValue,omitempty" azure:"ro"` + DefaultValue *string // READ-ONLY; Description of the configuration. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string } // ConfigurationsClientBeginCreateOrUpdateOptions contains the optional parameters for the ConfigurationsClient.BeginCreateOrUpdate @@ -80,31 +80,31 @@ type ConfigurationsClientListByServerOptions struct { // Database - Represents a Database. type Database struct { // The properties of a database. - Properties *DatabaseProperties `json:"properties,omitempty"` + Properties *DatabaseProperties // 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 } // DatabaseListResult - A List of databases. type DatabaseListResult struct { // The list of databases housed in a server - Value []*Database `json:"value,omitempty"` + Value []*Database } // DatabaseProperties - The properties of a database. type DatabaseProperties struct { // The charset of the database. - Charset *string `json:"charset,omitempty"` + Charset *string // The collation of the database. - Collation *string `json:"collation,omitempty"` + Collation *string } // DatabasesClientBeginCreateOrUpdateOptions contains the optional parameters for the DatabasesClient.BeginCreateOrUpdate @@ -133,59 +133,59 @@ type DatabasesClientListByServerOptions 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 } // 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 { // 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 []*ErrorResponse `json:"details,omitempty" azure:"ro"` + Details []*ErrorResponse // 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 } // FirewallRule - Represents a server firewall rule. type FirewallRule struct { // REQUIRED; The properties of a firewall rule. - Properties *FirewallRuleProperties `json:"properties,omitempty"` + Properties *FirewallRuleProperties // 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 } // FirewallRuleListResult - A list of firewall rules. type FirewallRuleListResult struct { // The list of firewall rules in a server. - Value []*FirewallRule `json:"value,omitempty"` + Value []*FirewallRule } // FirewallRuleProperties - The properties of a server firewall rule. type FirewallRuleProperties struct { // REQUIRED; The end IP address of the server firewall rule. Must be IPv4 format. - EndIPAddress *string `json:"endIpAddress,omitempty"` + EndIPAddress *string // REQUIRED; The start IP address of the server firewall rule. Must be IPv4 format. - StartIPAddress *string `json:"startIpAddress,omitempty"` + StartIPAddress *string } // FirewallRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallRulesClient.BeginCreateOrUpdate @@ -221,40 +221,40 @@ type LocationBasedPerformanceTierClientListOptions struct { // LogFile - Represents a log file. type LogFile struct { // The properties of the log file. - Properties *LogFileProperties `json:"properties,omitempty"` + Properties *LogFileProperties // 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 } // LogFileListResult - A list of log files. type LogFileListResult struct { // The list of log files. - Value []*LogFile `json:"value,omitempty"` + Value []*LogFile } // LogFileProperties - The properties of a log file. type LogFileProperties struct { // Size of the log file. - SizeInKB *int64 `json:"sizeInKB,omitempty"` + SizeInKB *int64 // Type of the log file. - Type *string `json:"type,omitempty"` + Type *string // The url to download the log file from. - URL *string `json:"url,omitempty"` + URL *string // READ-ONLY; Creation timestamp of the log file. - CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` + CreatedTime *time.Time // READ-ONLY; Last modified timestamp of the log file. - LastModifiedTime *time.Time `json:"lastModifiedTime,omitempty" azure:"ro"` + LastModifiedTime *time.Time } // LogFilesClientListByServerOptions contains the optional parameters for the LogFilesClient.NewListByServerPager method. @@ -265,58 +265,58 @@ type LogFilesClientListByServerOptions struct { // NameAvailability - Represents a resource name availability. type NameAvailability struct { // Error Message. - Message *string `json:"message,omitempty"` + Message *string // Indicates whether the resource name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // Reason for name being unavailable. - Reason *string `json:"reason,omitempty"` + Reason *string } // NameAvailabilityRequest - Request from client to check resource name availability. type NameAvailabilityRequest struct { // REQUIRED; Resource name to verify. - Name *string `json:"name,omitempty"` + Name *string // Resource type used for verification. - Type *string `json:"type,omitempty"` + Type *string } // Operation - REST API operation definition. type Operation struct { // READ-ONLY; The localized display information for this particular operation or action. - Display *OperationDisplay `json:"display,omitempty" azure:"ro"` + Display *OperationDisplay // READ-ONLY; The name of the operation being performed on this particular object. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The intended executor of the operation. - Origin *OperationOrigin `json:"origin,omitempty" azure:"ro"` + Origin *OperationOrigin // READ-ONLY; Additional descriptions for the operation. - Properties map[string]any `json:"properties,omitempty" azure:"ro"` + Properties map[string]any } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // READ-ONLY; Operation description. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Localized friendly name for the operation. - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Operation resource provider name. - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource on which the operation is performed. - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationListResult - A list of resource provider operations. type OperationListResult struct { // The list of resource provider operations. - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. @@ -327,97 +327,97 @@ type OperationsClientListOptions struct { // PerformanceTierListResult - A list of performance tiers. type PerformanceTierListResult struct { // The list of performance tiers - Value []*PerformanceTierProperties `json:"value,omitempty"` + Value []*PerformanceTierProperties } // PerformanceTierProperties - Performance tier properties type PerformanceTierProperties struct { // ID of the performance tier. - ID *string `json:"id,omitempty"` + ID *string // Maximum Backup retention in days for the performance tier edition - MaxBackupRetentionDays *int32 `json:"maxBackupRetentionDays,omitempty"` + MaxBackupRetentionDays *int32 // Max storage allowed for a server. - MaxLargeStorageMB *int32 `json:"maxLargeStorageMB,omitempty"` + MaxLargeStorageMB *int32 // Max storage allowed for a server. - MaxStorageMB *int32 `json:"maxStorageMB,omitempty"` + MaxStorageMB *int32 // Minimum Backup retention in days for the performance tier edition - MinBackupRetentionDays *int32 `json:"minBackupRetentionDays,omitempty"` + MinBackupRetentionDays *int32 // Max storage allowed for a server. - MinLargeStorageMB *int32 `json:"minLargeStorageMB,omitempty"` + MinLargeStorageMB *int32 // Max storage allowed for a server. - MinStorageMB *int32 `json:"minStorageMB,omitempty"` + MinStorageMB *int32 // Service level objectives associated with the performance tier - ServiceLevelObjectives []*PerformanceTierServiceLevelObjectives `json:"serviceLevelObjectives,omitempty"` + ServiceLevelObjectives []*PerformanceTierServiceLevelObjectives } // PerformanceTierServiceLevelObjectives - Service level objectives for performance tier. type PerformanceTierServiceLevelObjectives struct { // Edition of the performance tier. - Edition *string `json:"edition,omitempty"` + Edition *string // Hardware generation associated with the service level objective - HardwareGeneration *string `json:"hardwareGeneration,omitempty"` + HardwareGeneration *string // ID for the service level objective. - ID *string `json:"id,omitempty"` + ID *string // Maximum Backup retention in days for the performance tier edition - MaxBackupRetentionDays *int32 `json:"maxBackupRetentionDays,omitempty"` + MaxBackupRetentionDays *int32 // Max storage allowed for a server. - MaxStorageMB *int32 `json:"maxStorageMB,omitempty"` + MaxStorageMB *int32 // Minimum Backup retention in days for the performance tier edition - MinBackupRetentionDays *int32 `json:"minBackupRetentionDays,omitempty"` + MinBackupRetentionDays *int32 // Max storage allowed for a server. - MinStorageMB *int32 `json:"minStorageMB,omitempty"` + MinStorageMB *int32 // vCore associated with the service level objective - VCore *int32 `json:"vCore,omitempty"` + VCore *int32 } // 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; 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 { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*PrivateEndpointConnection `json:"value,omitempty" azure:"ro"` + Value []*PrivateEndpointConnection } // PrivateEndpointConnectionProperties - Properties of a private endpoint connection. type PrivateEndpointConnectionProperties struct { // Private endpoint which the connection belongs to. - PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` + PrivateEndpoint *PrivateEndpointProperty // Connection state of the private endpoint connection. - PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty // READ-ONLY; State of the private endpoint connection. - ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *string } // PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginCreateOrUpdate @@ -455,40 +455,40 @@ type PrivateEndpointConnectionsClientListByServerOptions struct { type PrivateEndpointProperty struct { // Resource id of the private endpoint. - ID *string `json:"id,omitempty"` + ID *string } // PrivateLinkResource - A private link resource type PrivateLinkResource 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 private link resource group id. - Properties *PrivateLinkResourceProperties `json:"properties,omitempty" azure:"ro"` + Properties *PrivateLinkResourceProperties // 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 { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*PrivateLinkResource `json:"value,omitempty" azure:"ro"` + 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 } // PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method. @@ -504,62 +504,62 @@ type PrivateLinkResourcesClientListByServerOptions struct { type PrivateLinkServiceConnectionStateProperty struct { // REQUIRED; The private link service connection description. - Description *string `json:"description,omitempty"` + Description *string // REQUIRED; The private link service connection status. - Status *string `json:"status,omitempty"` + Status *string // READ-ONLY; The actions required for private link service connection. - ActionsRequired *string `json:"actionsRequired,omitempty" azure:"ro"` + ActionsRequired *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 } // RecoverableServerProperties - The recoverable server's properties. type RecoverableServerProperties struct { // READ-ONLY; Edition of the performance tier. - Edition *string `json:"edition,omitempty" azure:"ro"` + Edition *string // READ-ONLY; Hardware generation associated with the service level objective - HardwareGeneration *string `json:"hardwareGeneration,omitempty" azure:"ro"` + HardwareGeneration *string // READ-ONLY; The last available backup date time. - LastAvailableBackupDateTime *string `json:"lastAvailableBackupDateTime,omitempty" azure:"ro"` + LastAvailableBackupDateTime *string // READ-ONLY; The service level objective - ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty" azure:"ro"` + ServiceLevelObjective *string // READ-ONLY; vCore associated with the service level objective - VCore *int32 `json:"vCore,omitempty" azure:"ro"` + VCore *int32 // READ-ONLY; The PostgreSQL version - Version *string `json:"version,omitempty" azure:"ro"` + Version *string } // RecoverableServerResource - A recoverable server resource. type RecoverableServerResource struct { // Resource properties. - Properties *RecoverableServerProperties `json:"properties,omitempty"` + Properties *RecoverableServerProperties // 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 } // RecoverableServersClientGetOptions contains the optional parameters for the RecoverableServersClient.Get method. @@ -575,133 +575,133 @@ type ReplicasClientListByServerOptions 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 } // ResourceIdentity - Azure Active Directory identity configuration for a resource. type ResourceIdentity struct { // The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal // for the resource. - Type *IdentityType `json:"type,omitempty"` + Type *IdentityType // READ-ONLY; The Azure Active Directory principal id. - PrincipalID *string `json:"principalId,omitempty" azure:"ro"` + PrincipalID *string // READ-ONLY; The Azure Active Directory tenant id. - TenantID *string `json:"tenantId,omitempty" azure:"ro"` + TenantID *string } // SKU - Billing information related properties of a server. type SKU struct { // REQUIRED; The name of the sku, typically, tier + family + cores, e.g. BGen41, GPGen58. - Name *string `json:"name,omitempty"` + Name *string // The scale up/out capacity, representing server's compute units. - Capacity *int32 `json:"capacity,omitempty"` + Capacity *int32 // The family of hardware. - Family *string `json:"family,omitempty"` + Family *string // The size code, to be interpreted by resource as appropriate. - Size *string `json:"size,omitempty"` + Size *string // The tier of the particular SKU, e.g. Basic. - Tier *SKUTier `json:"tier,omitempty"` + Tier *SKUTier } // SecurityAlertPolicyProperties - Properties of a security alert policy. type SecurityAlertPolicyProperties struct { // REQUIRED; Specifies the state of the policy, whether it is enabled or disabled. - State *ServerSecurityAlertPolicyState `json:"state,omitempty"` + State *ServerSecurityAlertPolicyState // Specifies an array of alerts that are disabled. Allowed values are: SqlInjection, SqlInjectionVulnerability, AccessAnomaly - DisabledAlerts []*string `json:"disabledAlerts,omitempty"` + DisabledAlerts []*string // Specifies that the alert is sent to the account administrators. - EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"` + EmailAccountAdmins *bool // Specifies an array of e-mail addresses to which the alert is sent. - EmailAddresses []*string `json:"emailAddresses,omitempty"` + EmailAddresses []*string // Specifies the number of days to keep in the Threat Detection audit logs. - RetentionDays *int32 `json:"retentionDays,omitempty"` + RetentionDays *int32 // Specifies the identifier key of the Threat Detection audit storage account. - StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` + StorageAccountAccessKey *string // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat // Detection audit logs. - StorageEndpoint *string `json:"storageEndpoint,omitempty"` + StorageEndpoint *string } // Server - Represents a server. type Server struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // Properties of the server. - Properties *ServerProperties `json:"properties,omitempty"` + Properties *ServerProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // 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 } // ServerAdministratorProperties - The properties of an server Administrator. type ServerAdministratorProperties struct { // CONSTANT; The type of administrator. // Field has constant value "ActiveDirectory", any specified value is ignored. - AdministratorType *string `json:"administratorType,omitempty"` + AdministratorType *string // REQUIRED; The server administrator login account name. - Login *string `json:"login,omitempty"` + Login *string // REQUIRED; The server administrator Sid (Secure ID). - Sid *string `json:"sid,omitempty"` + Sid *string // REQUIRED; The server Active Directory Administrator tenant id. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string } // ServerAdministratorResource - Represents a and external administrator to be created. type ServerAdministratorResource struct { // Properties of the server AAD administrator. - Properties *ServerAdministratorProperties `json:"properties,omitempty"` + Properties *ServerAdministratorProperties // 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 } // ServerAdministratorResourceListResult - The response to a list Active Directory Administrators request. type ServerAdministratorResourceListResult struct { // The list of server Active Directory Administrators for the server. - Value []*ServerAdministratorResource `json:"value,omitempty"` + Value []*ServerAdministratorResource } // ServerAdministratorsClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerAdministratorsClient.BeginCreateOrUpdate @@ -738,58 +738,58 @@ type ServerBasedPerformanceTierClientListOptions struct { // ServerForCreate - Represents a server to be created. type ServerForCreate struct { // REQUIRED; The location the resource resides in. - Location *string `json:"location,omitempty"` + Location *string // REQUIRED; Properties of the server. - Properties ServerPropertiesForCreateClassification `json:"properties,omitempty"` + Properties ServerPropertiesForCreateClassification // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerKey - A PostgreSQL Server key. type ServerKey struct { // Properties of the ServerKey Resource. - Properties *ServerKeyProperties `json:"properties,omitempty"` + Properties *ServerKeyProperties // 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; Kind of encryption protector used to protect the key. - Kind *string `json:"kind,omitempty" azure:"ro"` + Kind *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 } // ServerKeyListResult - A list of PostgreSQL Server keys. type ServerKeyListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of PostgreSQL Server keys. - Value []*ServerKey `json:"value,omitempty" azure:"ro"` + Value []*ServerKey } // ServerKeyProperties - Properties for a key execution. type ServerKeyProperties struct { // REQUIRED; The key type like 'AzureKeyVault'. - ServerKeyType *ServerKeyType `json:"serverKeyType,omitempty"` + ServerKeyType *ServerKeyType // The URI of the key. - URI *string `json:"uri,omitempty"` + URI *string // READ-ONLY; The key creation date. - CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` + CreationDate *time.Time } // ServerKeysClientBeginCreateOrUpdateOptions contains the optional parameters for the ServerKeysClient.BeginCreateOrUpdate @@ -818,7 +818,7 @@ type ServerKeysClientListOptions struct { // ServerListResult - A list of servers. type ServerListResult struct { // The list of servers - Value []*Server `json:"value,omitempty"` + Value []*Server } // ServerParametersClientBeginListUpdateConfigurationsOptions contains the optional parameters for the ServerParametersClient.BeginListUpdateConfigurations @@ -831,83 +831,83 @@ type ServerParametersClientBeginListUpdateConfigurationsOptions struct { // ServerPrivateEndpointConnection - A private endpoint connection under a server type ServerPrivateEndpointConnection struct { // READ-ONLY; Resource ID of the Private Endpoint Connection. - ID *string `json:"id,omitempty" azure:"ro"` + ID *string // READ-ONLY; Private endpoint connection properties - Properties *ServerPrivateEndpointConnectionProperties `json:"properties,omitempty" azure:"ro"` + Properties *ServerPrivateEndpointConnectionProperties } // ServerPrivateEndpointConnectionProperties - Properties of a private endpoint connection. type ServerPrivateEndpointConnectionProperties struct { // Private endpoint which the connection belongs to. - PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` + PrivateEndpoint *PrivateEndpointProperty // Connection state of the private endpoint connection. - PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` + PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty // READ-ONLY; State of the private endpoint connection. - ProvisioningState *PrivateEndpointProvisioningState `json:"provisioningState,omitempty" azure:"ro"` + ProvisioningState *PrivateEndpointProvisioningState } type ServerPrivateLinkServiceConnectionStateProperty struct { // REQUIRED; The private link service connection description. - Description *string `json:"description,omitempty"` + Description *string // REQUIRED; The private link service connection status. - Status *PrivateLinkServiceConnectionStateStatus `json:"status,omitempty"` + Status *PrivateLinkServiceConnectionStateStatus // READ-ONLY; The actions required for private link service connection. - ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty" azure:"ro"` + ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire } // ServerProperties - The properties of a server. type ServerProperties struct { // The administrator's login name of a server. Can only be specified when the server is being created (and is required for // creation). - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // Earliest restore point creation time (ISO8601 format) - EarliestRestoreDate *time.Time `json:"earliestRestoreDate,omitempty"` + EarliestRestoreDate *time.Time // The fully qualified domain name of a server. - FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` + FullyQualifiedDomainName *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // The master server id of a replica server. - MasterServerID *string `json:"masterServerId,omitempty"` + MasterServerID *string // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // The maximum number of replicas that a master server can have. - ReplicaCapacity *int32 `json:"replicaCapacity,omitempty"` + ReplicaCapacity *int32 // The replication role of the server. - ReplicationRole *string `json:"replicationRole,omitempty"` + ReplicationRole *string // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // A state of a server that is visible to user. - UserVisibleState *ServerState `json:"userVisibleState,omitempty"` + UserVisibleState *ServerState // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion // READ-ONLY; Status showing whether the server data encryption is enabled with customer-managed keys. - ByokEnforcement *string `json:"byokEnforcement,omitempty" azure:"ro"` + ByokEnforcement *string // READ-ONLY; List of private endpoint connections on a server - PrivateEndpointConnections []*ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` + PrivateEndpointConnections []*ServerPrivateEndpointConnection } // ServerPropertiesForCreateClassification provides polymorphic access to related types. @@ -923,26 +923,26 @@ type ServerPropertiesForCreateClassification interface { // ServerPropertiesForCreate - The properties used to create a new server. type ServerPropertiesForCreate struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForCreate. @@ -954,32 +954,32 @@ func (s *ServerPropertiesForCreate) GetServerPropertiesForCreate() *ServerProper type ServerPropertiesForDefaultCreate struct { // REQUIRED; The administrator's login name of a server. Can only be specified when the server is being created (and is required // for creation). - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // REQUIRED; The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForDefaultCreate. @@ -999,29 +999,29 @@ func (s *ServerPropertiesForDefaultCreate) GetServerPropertiesForCreate() *Serve // replicated backup. type ServerPropertiesForGeoRestore struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; The source server id to restore from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForGeoRestore. @@ -1040,29 +1040,29 @@ func (s *ServerPropertiesForGeoRestore) GetServerPropertiesForCreate() *ServerPr // ServerPropertiesForReplica - The properties to create a new replica. type ServerPropertiesForReplica struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; The master server id to create replica from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForReplica. @@ -1081,32 +1081,32 @@ func (s *ServerPropertiesForReplica) GetServerPropertiesForCreate() *ServerPrope // ServerPropertiesForRestore - The properties used to create a new server by restoring from a backup. type ServerPropertiesForRestore struct { // REQUIRED; The mode to create a new server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // REQUIRED; Restore point creation time (ISO8601 format), specifying the time to restore from. - RestorePointInTime *time.Time `json:"restorePointInTime,omitempty"` + RestorePointInTime *time.Time // REQUIRED; The source server id to restore from. - SourceServerID *string `json:"sourceServerId,omitempty"` + SourceServerID *string // Status showing whether the server enabled infrastructure encryption. - InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` + InfrastructureEncryption *InfrastructureEncryption // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // GetServerPropertiesForCreate implements the ServerPropertiesForCreateClassification interface for type ServerPropertiesForRestore. @@ -1144,65 +1144,65 @@ type ServerSecurityAlertPoliciesClientListByServerOptions struct { // ServerSecurityAlertPolicy - A server security alert policy. type ServerSecurityAlertPolicy struct { // Resource properties. - Properties *SecurityAlertPolicyProperties `json:"properties,omitempty"` + Properties *SecurityAlertPolicyProperties // 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 } // ServerSecurityAlertPolicyListResult - A list of the server's security alert policies. type ServerSecurityAlertPolicyListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*ServerSecurityAlertPolicy `json:"value,omitempty" azure:"ro"` + Value []*ServerSecurityAlertPolicy } // ServerUpdateParameters - Parameters allowed to update for a server. type ServerUpdateParameters struct { // The Azure Active Directory identity of the server. - Identity *ResourceIdentity `json:"identity,omitempty"` + Identity *ResourceIdentity // The properties that can be updated for a server. - Properties *ServerUpdateParametersProperties `json:"properties,omitempty"` + Properties *ServerUpdateParametersProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerUpdateParametersProperties - The properties that can be updated for a server. type ServerUpdateParametersProperties struct { // The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // Enforce a minimal Tls version for the server. - MinimalTLSVersion *MinimalTLSVersionEnum `json:"minimalTlsVersion,omitempty"` + MinimalTLSVersion *MinimalTLSVersionEnum // Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' // or 'Disabled' - PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` + PublicNetworkAccess *PublicNetworkAccessEnum // The replication role of the server. - ReplicationRole *string `json:"replicationRole,omitempty"` + ReplicationRole *string // Enable ssl enforcement or not when connect to server. - SSLEnforcement *SSLEnforcementEnum `json:"sslEnforcement,omitempty"` + SSLEnforcement *SSLEnforcementEnum // Storage profile of a server. - StorageProfile *StorageProfile `json:"storageProfile,omitempty"` + StorageProfile *StorageProfile // The version of a server. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // ServersClientBeginCreateOptions contains the optional parameters for the ServersClient.BeginCreate method. @@ -1248,77 +1248,77 @@ type ServersClientListOptions struct { // StorageProfile - Storage Profile properties of a server type StorageProfile struct { // Backup retention days for the server. - BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` + BackupRetentionDays *int32 // Enable Geo-redundant or not for server backup. - GeoRedundantBackup *GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` + GeoRedundantBackup *GeoRedundantBackup // Enable Storage Auto Grow. - StorageAutogrow *StorageAutogrow `json:"storageAutogrow,omitempty"` + StorageAutogrow *StorageAutogrow // Max storage allowed for a server. - StorageMB *int32 `json:"storageMB,omitempty"` + StorageMB *int32 } // 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 } // VirtualNetworkRule - A virtual network rule. type VirtualNetworkRule struct { // Resource properties. - Properties *VirtualNetworkRuleProperties `json:"properties,omitempty"` + Properties *VirtualNetworkRuleProperties // 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 } // VirtualNetworkRuleListResult - A list of virtual network rules. type VirtualNetworkRuleListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; Array of results. - Value []*VirtualNetworkRule `json:"value,omitempty" azure:"ro"` + Value []*VirtualNetworkRule } // VirtualNetworkRuleProperties - Properties of a virtual network rule. type VirtualNetworkRuleProperties struct { // REQUIRED; The ARM resource id of the virtual network subnet. - VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty"` + VirtualNetworkSubnetID *string // Create firewall rule before the virtual network has vnet service endpoint enabled. - IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` + IgnoreMissingVnetServiceEndpoint *bool // READ-ONLY; Virtual Network Rule State - State *VirtualNetworkRuleState `json:"state,omitempty" azure:"ro"` + State *VirtualNetworkRuleState } // VirtualNetworkRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkRulesClient.BeginCreateOrUpdate diff --git a/sdk/resourcemanager/postgresql/armpostgresql/models_serde.go b/sdk/resourcemanager/postgresql/armpostgresql/models_serde.go index c5297869cbad..45671823cc39 100644 --- a/sdk/resourcemanager/postgresql/armpostgresql/models_serde.go +++ b/sdk/resourcemanager/postgresql/armpostgresql/models_serde.go @@ -229,7 +229,7 @@ func (d *DatabaseProperties) 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) } @@ -2553,6 +2553,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/postgresql/armpostgresqlflexibleservers/CHANGELOG.md b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/CHANGELOG.md index bf560f2d2e82..1c4324843e85 100644 --- a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/CHANGELOG.md +++ b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 2.1.1 (2023-04-14) +### Bug Fixes + +- Fix serialization bug of empty value of `any` type. + + ## 2.1.0 (2023-03-27) ### Features Added diff --git a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/autorest.md b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/autorest.md index 330fcec75bd3..fa1b8ee777d6 100644 --- a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/autorest.md +++ b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/fce0b25dda01303f2c70de34031169b5d326998b/specification/postgresql/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/fce0b25dda01303f2c70de34031169b5d326998b/specification/postgresql/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 2.1.0 +module-version: 2.1.1 package-flexibleservers: true ``` \ No newline at end of file diff --git a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/constants.go b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/constants.go index 0ca9e3abc782..afeaf99e3359 100644 --- a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/constants.go +++ b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/constants.go @@ -11,7 +11,7 @@ package armpostgresqlflexibleservers const ( moduleName = "armpostgresqlflexibleservers" - moduleVersion = "v2.1.0" + moduleVersion = "v2.1.1" ) // ActiveDirectoryAuthEnum - If Enabled, Azure Active Directory authentication is enabled. diff --git a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/models.go b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/models.go index 885c37e9288b..9b31183417dd 100644 --- a/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/models.go +++ b/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/models.go @@ -14,61 +14,61 @@ import "time" // ActiveDirectoryAdministrator - Represents an Active Directory administrator. type ActiveDirectoryAdministrator struct { // REQUIRED; Properties of the active directory administrator. - Properties *AdministratorProperties `json:"properties,omitempty"` + Properties *AdministratorProperties // 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 } // ActiveDirectoryAdministratorAdd - Represents an Active Directory administrator. type ActiveDirectoryAdministratorAdd struct { // Properties of the active directory administrator. - Properties *AdministratorPropertiesForAdd `json:"properties,omitempty"` + Properties *AdministratorPropertiesForAdd } // AdministratorListResult - A list of active directory administrators. type AdministratorListResult struct { // The link used to get the next page of active directory. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of active directory administrators - Value []*ActiveDirectoryAdministrator `json:"value,omitempty"` + Value []*ActiveDirectoryAdministrator } // AdministratorProperties - The properties of an Active Directory administrator. type AdministratorProperties struct { // The objectId of the Active Directory administrator. - ObjectID *string `json:"objectId,omitempty"` + ObjectID *string // Active Directory administrator principal name. - PrincipalName *string `json:"principalName,omitempty"` + PrincipalName *string // The principal type used to represent the type of Active Directory Administrator. - PrincipalType *PrincipalType `json:"principalType,omitempty"` + PrincipalType *PrincipalType // The tenantId of the Active Directory administrator. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string } // AdministratorPropertiesForAdd - The properties of an Active Directory administrator. type AdministratorPropertiesForAdd struct { // Active Directory administrator principal name. - PrincipalName *string `json:"principalName,omitempty"` + PrincipalName *string // The principal type used to represent the type of Active Directory Administrator. - PrincipalType *PrincipalType `json:"principalType,omitempty"` + PrincipalType *PrincipalType // The tenantId of the Active Directory administrator. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string } // AdministratorsClientBeginCreateOptions contains the optional parameters for the AdministratorsClient.BeginCreate method. @@ -97,25 +97,25 @@ type AdministratorsClientListByServerOptions struct { // AuthConfig - Authentication configuration properties of a server type AuthConfig struct { // If Enabled, Azure Active Directory authentication is enabled. - ActiveDirectoryAuth *ActiveDirectoryAuthEnum `json:"activeDirectoryAuth,omitempty"` + ActiveDirectoryAuth *ActiveDirectoryAuthEnum // If Enabled, Password authentication is enabled. - PasswordAuth *PasswordAuthEnum `json:"passwordAuth,omitempty"` + PasswordAuth *PasswordAuthEnum // Tenant id of the server. - TenantID *string `json:"tenantId,omitempty"` + TenantID *string } // Backup properties of a server type Backup struct { // Backup retention days for the server. - BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"` + BackupRetentionDays *int32 // A value indicating whether Geo-Redundant backup is enabled on the server. - GeoRedundantBackup *GeoRedundantBackupEnum `json:"geoRedundantBackup,omitempty"` + GeoRedundantBackup *GeoRedundantBackupEnum // READ-ONLY; The earliest restore point time (ISO8601 format) for server. - EarliestRestoreDate *time.Time `json:"earliestRestoreDate,omitempty" azure:"ro"` + EarliestRestoreDate *time.Time } // BackupsClientGetOptions contains the optional parameters for the BackupsClient.Get method. @@ -131,43 +131,43 @@ type BackupsClientListByServerOptions struct { // CapabilitiesListResult - location capability type CapabilitiesListResult struct { // READ-ONLY; Link to retrieve next page of results. - NextLink *string `json:"nextLink,omitempty" azure:"ro"` + NextLink *string // READ-ONLY; A list of supported capabilities. - Value []*CapabilityProperties `json:"value,omitempty" azure:"ro"` + Value []*CapabilityProperties } // CapabilityProperties - Location capabilities. type CapabilityProperties struct { // READ-ONLY; A value indicating whether fast provisioning is supported in this region. - FastProvisioningSupported *bool `json:"fastProvisioningSupported,omitempty" azure:"ro"` + FastProvisioningSupported *bool // READ-ONLY; A value indicating whether a new server in this region can have geo-backups to paired region. - GeoBackupSupported *bool `json:"geoBackupSupported,omitempty" azure:"ro"` + GeoBackupSupported *bool // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY - SupportedFastProvisioningEditions []*FastProvisioningEditionCapability `json:"supportedFastProvisioningEditions,omitempty" azure:"ro"` + SupportedFastProvisioningEditions []*FastProvisioningEditionCapability // READ-ONLY - SupportedFlexibleServerEditions []*FlexibleServerEditionCapability `json:"supportedFlexibleServerEditions,omitempty" azure:"ro"` + SupportedFlexibleServerEditions []*FlexibleServerEditionCapability // READ-ONLY; Supported high availability mode - SupportedHAMode []*string `json:"supportedHAMode,omitempty" azure:"ro"` + SupportedHAMode []*string // READ-ONLY - SupportedHyperscaleNodeEditions []*HyperscaleNodeEditionCapability `json:"supportedHyperscaleNodeEditions,omitempty" azure:"ro"` + SupportedHyperscaleNodeEditions []*HyperscaleNodeEditionCapability // READ-ONLY; zone name - Zone *string `json:"zone,omitempty" azure:"ro"` + Zone *string // READ-ONLY; A value indicating whether a new server in this region can have geo-backups to paired region. - ZoneRedundantHaAndGeoBackupSupported *bool `json:"zoneRedundantHaAndGeoBackupSupported,omitempty" azure:"ro"` + ZoneRedundantHaAndGeoBackupSupported *bool // READ-ONLY; A value indicating whether a new server in this region can support multi zone HA. - ZoneRedundantHaSupported *bool `json:"zoneRedundantHaSupported,omitempty" azure:"ro"` + ZoneRedundantHaSupported *bool } // CheckNameAvailabilityClientExecuteOptions contains the optional parameters for the CheckNameAvailabilityClient.Execute @@ -179,10 +179,10 @@ type CheckNameAvailabilityClientExecuteOptions struct { // CheckNameAvailabilityRequest - The check availability request body. type CheckNameAvailabilityRequest struct { // The name of the resource for which availability needs to be checked. - Name *string `json:"name,omitempty"` + Name *string // The resource type. - Type *string `json:"type,omitempty"` + Type *string } // CheckNameAvailabilityWithLocationClientExecuteOptions contains the optional parameters for the CheckNameAvailabilityWithLocationClient.Execute @@ -194,70 +194,70 @@ type CheckNameAvailabilityWithLocationClientExecuteOptions struct { // Configuration - Represents a Configuration. type Configuration struct { // The properties of a configuration. - Properties *ConfigurationProperties `json:"properties,omitempty"` + Properties *ConfigurationProperties // 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 } // ConfigurationForUpdate - Represents a Configuration. type ConfigurationForUpdate struct { // The properties of a configuration. - Properties *ConfigurationProperties `json:"properties,omitempty"` + Properties *ConfigurationProperties } // ConfigurationListResult - A list of server configurations. type ConfigurationListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of server configurations. - Value []*Configuration `json:"value,omitempty"` + Value []*Configuration } // ConfigurationProperties - The properties of a configuration. type ConfigurationProperties struct { // Source of the configuration. - Source *string `json:"source,omitempty"` + Source *string // Value of the configuration. - Value *string `json:"value,omitempty"` + Value *string // READ-ONLY; Allowed values of the configuration. - AllowedValues *string `json:"allowedValues,omitempty" azure:"ro"` + AllowedValues *string // READ-ONLY; Data type of the configuration. - DataType *ConfigurationDataType `json:"dataType,omitempty" azure:"ro"` + DataType *ConfigurationDataType // READ-ONLY; Default value of the configuration. - DefaultValue *string `json:"defaultValue,omitempty" azure:"ro"` + DefaultValue *string // READ-ONLY; Description of the configuration. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Configuration documentation link. - DocumentationLink *string `json:"documentationLink,omitempty" azure:"ro"` + DocumentationLink *string // READ-ONLY; Configuration is pending restart or not. - IsConfigPendingRestart *bool `json:"isConfigPendingRestart,omitempty" azure:"ro"` + IsConfigPendingRestart *bool // READ-ONLY; Configuration dynamic or static. - IsDynamicConfig *bool `json:"isDynamicConfig,omitempty" azure:"ro"` + IsDynamicConfig *bool // READ-ONLY; Configuration read-only or not. - IsReadOnly *bool `json:"isReadOnly,omitempty" azure:"ro"` + IsReadOnly *bool // READ-ONLY; Configuration unit. - Unit *string `json:"unit,omitempty" azure:"ro"` + Unit *string } // ConfigurationsClientBeginPutOptions contains the optional parameters for the ConfigurationsClient.BeginPut method. @@ -286,49 +286,49 @@ type ConfigurationsClientListByServerOptions struct { // DataEncryption - Data encryption properties of a server type DataEncryption struct { // URI for the key for data encryption for primary server. - PrimaryKeyURI *string `json:"primaryKeyURI,omitempty"` + PrimaryKeyURI *string // Resource Id for the User assigned identity to be used for data encryption for primary server. - PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty"` + PrimaryUserAssignedIdentityID *string // Data encryption type to depict if it is System assigned vs Azure Key vault. - Type *ArmServerKeyType `json:"type,omitempty"` + Type *ArmServerKeyType } // Database - Represents a Database. type Database struct { // The properties of a database. - Properties *DatabaseProperties `json:"properties,omitempty"` + Properties *DatabaseProperties // 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 } // DatabaseListResult - A List of databases. type DatabaseListResult struct { // The link used to get the next page of databases. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of databases housed in a server - Value []*Database `json:"value,omitempty"` + Value []*Database } // DatabaseProperties - The properties of a database. type DatabaseProperties struct { // The charset of the database. - Charset *string `json:"charset,omitempty"` + Charset *string // The collation of the database. - Collation *string `json:"collation,omitempty"` + Collation *string } // DatabasesClientBeginCreateOptions contains the optional parameters for the DatabasesClient.BeginCreate method. @@ -356,57 +356,57 @@ type DatabasesClientListByServerOptions struct { // DelegatedSubnetUsage - Delegated subnet usage data. type DelegatedSubnetUsage struct { // READ-ONLY; Name of the delegated subnet for which IP addresses are in use - SubnetName *string `json:"subnetName,omitempty" azure:"ro"` + SubnetName *string // READ-ONLY; Number of IP addresses used by the delegated subnet - Usage *int64 `json:"usage,omitempty" azure:"ro"` + Usage *int64 } type FastProvisioningEditionCapability struct { // READ-ONLY; Fast provisioning supported sku name - SupportedSKU *string `json:"supportedSku,omitempty" azure:"ro"` + SupportedSKU *string // READ-ONLY; Fast provisioning supported version - SupportedServerVersions *string `json:"supportedServerVersions,omitempty" azure:"ro"` + SupportedServerVersions *string // READ-ONLY; Fast provisioning supported storage in Gb - SupportedStorageGb *int64 `json:"supportedStorageGb,omitempty" azure:"ro"` + SupportedStorageGb *int64 } // FirewallRule - Represents a server firewall rule. type FirewallRule struct { // REQUIRED; The properties of a firewall rule. - Properties *FirewallRuleProperties `json:"properties,omitempty"` + Properties *FirewallRuleProperties // 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 } // FirewallRuleListResult - A list of firewall rules. type FirewallRuleListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of firewall rules in a server. - Value []*FirewallRule `json:"value,omitempty"` + Value []*FirewallRule } // FirewallRuleProperties - The properties of a server firewall rule. type FirewallRuleProperties struct { // REQUIRED; The end IP address of the server firewall rule. Must be IPv4 format. - EndIPAddress *string `json:"endIpAddress,omitempty"` + EndIPAddress *string // REQUIRED; The start IP address of the server firewall rule. Must be IPv4 format. - StartIPAddress *string `json:"startIpAddress,omitempty"` + StartIPAddress *string } // FirewallRulesClientBeginCreateOrUpdateOptions contains the optional parameters for the FirewallRulesClient.BeginCreateOrUpdate @@ -436,16 +436,16 @@ type FirewallRulesClientListByServerOptions struct { // FlexibleServerEditionCapability - Flexible server edition capabilities. type FlexibleServerEditionCapability struct { // READ-ONLY; Server edition name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY; The list of server versions supported by this server edition. - SupportedServerVersions []*ServerVersionCapability `json:"supportedServerVersions,omitempty" azure:"ro"` + SupportedServerVersions []*ServerVersionCapability // READ-ONLY; The list of editions supported by this server edition. - SupportedStorageEditions []*StorageEditionCapability `json:"supportedStorageEditions,omitempty" azure:"ro"` + SupportedStorageEditions []*StorageEditionCapability } // GetPrivateDNSZoneSuffixClientExecuteOptions contains the optional parameters for the GetPrivateDNSZoneSuffixClient.Execute @@ -457,31 +457,31 @@ type GetPrivateDNSZoneSuffixClientExecuteOptions struct { // HighAvailability - High availability properties of a server type HighAvailability struct { // The HA mode for the server. - Mode *HighAvailabilityMode `json:"mode,omitempty"` + Mode *HighAvailabilityMode // availability zone information of the standby. - StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"` + StandbyAvailabilityZone *string // READ-ONLY; A state of a HA server that is visible to user. - State *ServerHAState `json:"state,omitempty" azure:"ro"` + State *ServerHAState } // HyperscaleNodeEditionCapability - Hyperscale node edition capabilities. type HyperscaleNodeEditionCapability struct { // READ-ONLY; Server edition name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY; The list of Node Types supported by this server edition. - SupportedNodeTypes []*NodeTypeCapability `json:"supportedNodeTypes,omitempty" azure:"ro"` + SupportedNodeTypes []*NodeTypeCapability // READ-ONLY; The list of server versions supported by this server edition. - SupportedServerVersions []*ServerVersionCapability `json:"supportedServerVersions,omitempty" azure:"ro"` + SupportedServerVersions []*ServerVersionCapability // READ-ONLY; The list of editions supported by this server edition. - SupportedStorageEditions []*StorageEditionCapability `json:"supportedStorageEditions,omitempty" azure:"ro"` + SupportedStorageEditions []*StorageEditionCapability } // LocationBasedCapabilitiesClientExecuteOptions contains the optional parameters for the LocationBasedCapabilitiesClient.NewExecutePager @@ -493,100 +493,100 @@ type LocationBasedCapabilitiesClientExecuteOptions struct { // MaintenanceWindow - Maintenance window properties of a server. type MaintenanceWindow struct { // indicates whether custom window is enabled or disabled - CustomWindow *string `json:"customWindow,omitempty"` + CustomWindow *string // day of week for maintenance window - DayOfWeek *int32 `json:"dayOfWeek,omitempty"` + DayOfWeek *int32 // start hour for maintenance window - StartHour *int32 `json:"startHour,omitempty"` + StartHour *int32 // start minute for maintenance window - StartMinute *int32 `json:"startMinute,omitempty"` + StartMinute *int32 } // NameAvailability - Represents a resource name availability. type NameAvailability struct { // Detailed reason why the given name is available. - Message *string `json:"message,omitempty"` + Message *string // Indicates if the resource name is available. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // The reason why the given name is not available. - Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` + Reason *CheckNameAvailabilityReason // READ-ONLY; name of the PostgreSQL server. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; type of the server - Type *string `json:"type,omitempty" azure:"ro"` + Type *string } // Network properties of a server type Network struct { // delegated subnet arm resource id. - DelegatedSubnetResourceID *string `json:"delegatedSubnetResourceId,omitempty"` + DelegatedSubnetResourceID *string // private dns zone arm resource id. - PrivateDNSZoneArmResourceID *string `json:"privateDnsZoneArmResourceId,omitempty"` + PrivateDNSZoneArmResourceID *string // READ-ONLY; public network access is enabled or not - PublicNetworkAccess *ServerPublicNetworkAccessState `json:"publicNetworkAccess,omitempty" azure:"ro"` + PublicNetworkAccess *ServerPublicNetworkAccessState } // NodeTypeCapability - node type capability type NodeTypeCapability struct { // READ-ONLY; note type name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; note type - NodeType *string `json:"nodeType,omitempty" azure:"ro"` + NodeType *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string } // Operation - REST API operation definition. type Operation struct { // Indicates whether the operation is a data action - IsDataAction *bool `json:"isDataAction,omitempty"` + IsDataAction *bool // READ-ONLY; The localized display information for this particular operation or action. - Display *OperationDisplay `json:"display,omitempty" azure:"ro"` + Display *OperationDisplay // READ-ONLY; The name of the operation being performed on this particular object. - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The intended executor of the operation. - Origin *OperationOrigin `json:"origin,omitempty" azure:"ro"` + Origin *OperationOrigin // READ-ONLY; Additional descriptions for the operation. - Properties map[string]any `json:"properties,omitempty" azure:"ro"` + Properties map[string]any } // OperationDisplay - Display metadata associated with the operation. type OperationDisplay struct { // READ-ONLY; Operation description. - Description *string `json:"description,omitempty" azure:"ro"` + Description *string // READ-ONLY; Localized friendly name for the operation. - Operation *string `json:"operation,omitempty" azure:"ro"` + Operation *string // READ-ONLY; Operation resource provider name. - Provider *string `json:"provider,omitempty" azure:"ro"` + Provider *string // READ-ONLY; Resource on which the operation is performed. - Resource *string `json:"resource,omitempty" azure:"ro"` + Resource *string } // OperationListResult - A list of resource provider operations. type OperationListResult struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // Collection of available operation details - Value []*Operation `json:"value,omitempty"` + Value []*Operation } // OperationsClientListOptions contains the optional parameters for the OperationsClient.List method. @@ -602,222 +602,222 @@ type ReplicasClientListByServerOptions struct { // RestartParameter - Represents server restart parameters. type RestartParameter struct { // Failover mode. - FailoverMode *FailoverMode `json:"failoverMode,omitempty"` + FailoverMode *FailoverMode // Indicates whether to restart the server with failover. - RestartWithFailover *bool `json:"restartWithFailover,omitempty"` + RestartWithFailover *bool } // SKU - Sku information related properties of a server. type SKU struct { // REQUIRED; The name of the sku, typically, tier + family + cores, e.g. StandardD4sv3. - Name *string `json:"name,omitempty"` + Name *string // REQUIRED; The tier of the particular SKU, e.g. Burstable. - Tier *SKUTier `json:"tier,omitempty"` + Tier *SKUTier } // Server - Represents a server. type Server struct { // REQUIRED; The geo-location where the resource lives - Location *string `json:"location,omitempty"` + Location *string // Describes the identity of the application. - Identity *UserAssignedIdentity `json:"identity,omitempty"` + Identity *UserAssignedIdentity // Properties of the server. - Properties *ServerProperties `json:"properties,omitempty"` + Properties *ServerProperties // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // 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; 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 } // ServerBackup - Server backup properties type ServerBackup struct { // The properties of a server backup. - Properties *ServerBackupProperties `json:"properties,omitempty"` + Properties *ServerBackupProperties // 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 } // ServerBackupListResult - A list of server backups. type ServerBackupListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of backups of a server. - Value []*ServerBackup `json:"value,omitempty"` + Value []*ServerBackup } // ServerBackupProperties - The properties of a server backup. type ServerBackupProperties struct { // Backup type. - BackupType *Origin `json:"backupType,omitempty"` + BackupType *Origin // Backup completed time (ISO8601 format). - CompletedTime *time.Time `json:"completedTime,omitempty"` + CompletedTime *time.Time // Backup source - Source *string `json:"source,omitempty"` + Source *string } // ServerForUpdate - Represents a server to be updated. type ServerForUpdate struct { // Describes the identity of the application. - Identity *UserAssignedIdentity `json:"identity,omitempty"` + Identity *UserAssignedIdentity // Properties of the server. - Properties *ServerPropertiesForUpdate `json:"properties,omitempty"` + Properties *ServerPropertiesForUpdate // The SKU (pricing tier) of the server. - SKU *SKU `json:"sku,omitempty"` + SKU *SKU // Application-specific metadata in the form of key-value pairs. - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } // ServerListResult - A list of servers. type ServerListResult struct { // The link used to get the next page of operations. - NextLink *string `json:"nextLink,omitempty"` + NextLink *string // The list of flexible servers - Value []*Server `json:"value,omitempty"` + Value []*Server } // ServerProperties - The properties of a server. type ServerProperties struct { // The administrator's login name of a server. Can only be specified when the server is being created (and is required for // creation). - AdministratorLogin *string `json:"administratorLogin,omitempty"` + AdministratorLogin *string // The administrator login password (required for server creation). - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // AuthConfig properties of a server. - AuthConfig *AuthConfig `json:"authConfig,omitempty"` + AuthConfig *AuthConfig // availability zone information of the server. - AvailabilityZone *string `json:"availabilityZone,omitempty"` + AvailabilityZone *string // Backup properties of a server. - Backup *Backup `json:"backup,omitempty"` + Backup *Backup // The mode to create a new PostgreSQL server. - CreateMode *CreateMode `json:"createMode,omitempty"` + CreateMode *CreateMode // Data encryption properties of a server. - DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + DataEncryption *DataEncryption // High availability properties of a server. - HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + HighAvailability *HighAvailability // Maintenance window properties of a server. - MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + MaintenanceWindow *MaintenanceWindow // Network properties of a server. - Network *Network `json:"network,omitempty"` + Network *Network // Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' // or 'GeoRestore'. - PointInTimeUTC *time.Time `json:"pointInTimeUTC,omitempty"` + PointInTimeUTC *time.Time // Replicas allowed for a server. - ReplicaCapacity *int32 `json:"replicaCapacity,omitempty"` + ReplicaCapacity *int32 // Replication role of the server - ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + ReplicationRole *ReplicationRole // The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' // or 'Replica'. - SourceServerResourceID *string `json:"sourceServerResourceId,omitempty"` + SourceServerResourceID *string // Storage properties of a server. - Storage *Storage `json:"storage,omitempty"` + Storage *Storage // PostgreSQL Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion // READ-ONLY; The fully qualified domain name of a server. - FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty" azure:"ro"` + FullyQualifiedDomainName *string // READ-ONLY; The minor version of the server. - MinorVersion *string `json:"minorVersion,omitempty" azure:"ro"` + MinorVersion *string // READ-ONLY; A state of a server that is visible to user. - State *ServerState `json:"state,omitempty" azure:"ro"` + State *ServerState } type ServerPropertiesForUpdate struct { // The password of the administrator login. - AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` + AdministratorLoginPassword *string // AuthConfig properties of a server. - AuthConfig *AuthConfig `json:"authConfig,omitempty"` + AuthConfig *AuthConfig // Backup properties of a server. - Backup *Backup `json:"backup,omitempty"` + Backup *Backup // The mode to update a new PostgreSQL server. - CreateMode *CreateModeForUpdate `json:"createMode,omitempty"` + CreateMode *CreateModeForUpdate // Data encryption properties of a server. - DataEncryption *DataEncryption `json:"dataEncryption,omitempty"` + DataEncryption *DataEncryption // High availability properties of a server. - HighAvailability *HighAvailability `json:"highAvailability,omitempty"` + HighAvailability *HighAvailability // Maintenance window properties of a server. - MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + MaintenanceWindow *MaintenanceWindow // Replication role of the server - ReplicationRole *ReplicationRole `json:"replicationRole,omitempty"` + ReplicationRole *ReplicationRole // Storage properties of a server. - Storage *Storage `json:"storage,omitempty"` + Storage *Storage // PostgreSQL Server version. - Version *ServerVersion `json:"version,omitempty"` + Version *ServerVersion } // ServerVersionCapability - Server version capabilities. type ServerVersionCapability struct { // READ-ONLY; server version - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY - SupportedVcores []*VcoreCapability `json:"supportedVcores,omitempty" azure:"ro"` + SupportedVcores []*VcoreCapability // READ-ONLY; Supported servers versions to upgrade - SupportedVersionsToUpgrade []*string `json:"supportedVersionsToUpgrade,omitempty" azure:"ro"` + SupportedVersionsToUpgrade []*string } // ServersClientBeginCreateOptions contains the optional parameters for the ServersClient.BeginCreate method. @@ -877,111 +877,111 @@ type ServersClientListOptions struct { // Storage properties of a server type Storage struct { // Max storage allowed for a server. - StorageSizeGB *int32 `json:"storageSizeGB,omitempty"` + StorageSizeGB *int32 } // StorageEditionCapability - storage edition capability type StorageEditionCapability struct { // READ-ONLY; storage edition name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY - SupportedStorageMB []*StorageMBCapability `json:"supportedStorageMB,omitempty" azure:"ro"` + SupportedStorageMB []*StorageMBCapability } // StorageMBCapability - storage size in MB capability type StorageMBCapability struct { // READ-ONLY; storage MB name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY; storage size in MB - StorageSizeMB *int64 `json:"storageSizeMB,omitempty" azure:"ro"` + StorageSizeMB *int64 // READ-ONLY; supported IOPS - SupportedIops *int64 `json:"supportedIops,omitempty" azure:"ro"` + SupportedIops *int64 // READ-ONLY - SupportedUpgradableTierList []*StorageTierCapability `json:"supportedUpgradableTierList,omitempty" azure:"ro"` + SupportedUpgradableTierList []*StorageTierCapability } type StorageTierCapability struct { // READ-ONLY; Supported IOPS for this storage tier - Iops *int64 `json:"iops,omitempty" azure:"ro"` + Iops *int64 // READ-ONLY; Indicates if this is a baseline storage tier or not - IsBaseline *bool `json:"isBaseline,omitempty" azure:"ro"` + IsBaseline *bool // READ-ONLY; Name to represent Storage tier capability - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; Status os this storage tier - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY; Storage tier name - TierName *string `json:"tierName,omitempty" azure:"ro"` + TierName *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 } // UserAssignedIdentity - Information describing the identities associated with this application. type UserAssignedIdentity struct { // REQUIRED; the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' - Type *IdentityType `json:"type,omitempty"` + Type *IdentityType // represents user assigned identities map. - UserAssignedIdentities map[string]*UserIdentity `json:"userAssignedIdentities,omitempty"` + UserAssignedIdentities map[string]*UserIdentity } // UserIdentity - Describes a single user-assigned identity associated with the application. type UserIdentity struct { // the client identifier of the Service Principal which this identity represents. - ClientID *string `json:"clientId,omitempty"` + ClientID *string // the object identifier of the Service Principal which this identity represents. - PrincipalID *string `json:"principalId,omitempty"` + PrincipalID *string } // VcoreCapability - Vcores capability type VcoreCapability struct { // READ-ONLY; vCore name - Name *string `json:"name,omitempty" azure:"ro"` + Name *string // READ-ONLY; The status - Status *string `json:"status,omitempty" azure:"ro"` + Status *string // READ-ONLY; supported IOPS - SupportedIops *int64 `json:"supportedIops,omitempty" azure:"ro"` + SupportedIops *int64 // READ-ONLY; supported memory per vCore in MB - SupportedMemoryPerVcoreMB *int64 `json:"supportedMemoryPerVcoreMB,omitempty" azure:"ro"` + SupportedMemoryPerVcoreMB *int64 // READ-ONLY; supported vCores - VCores *int64 `json:"vCores,omitempty" azure:"ro"` + VCores *int64 } // VirtualNetworkSubnetUsageClientExecuteOptions contains the optional parameters for the VirtualNetworkSubnetUsageClient.Execute @@ -993,17 +993,17 @@ type VirtualNetworkSubnetUsageClientExecuteOptions struct { // VirtualNetworkSubnetUsageParameter - Virtual network subnet usage parameter type VirtualNetworkSubnetUsageParameter struct { // Virtual network resource id. - VirtualNetworkArmResourceID *string `json:"virtualNetworkArmResourceId,omitempty"` + VirtualNetworkArmResourceID *string } // VirtualNetworkSubnetUsageResult - Virtual network subnet usage data. type VirtualNetworkSubnetUsageResult struct { // READ-ONLY - DelegatedSubnetsUsage []*DelegatedSubnetUsage `json:"delegatedSubnetsUsage,omitempty" azure:"ro"` + DelegatedSubnetsUsage []*DelegatedSubnetUsage // READ-ONLY; location of the delegated subnet usage - Location *string `json:"location,omitempty" azure:"ro"` + Location *string // READ-ONLY; subscriptionId of the delegated subnet usage - SubscriptionID *string `json:"subscriptionId,omitempty" azure:"ro"` + SubscriptionID *string } diff --git a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/CHANGELOG.md b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/CHANGELOG.md index 04f71398ac15..9d85df1e1645 100644 --- a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/CHANGELOG.md +++ b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/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/powerbiembedded/armpowerbiembedded/autorest.md b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/autorest.md index 502f2b9d99fd..3579106662e4 100644 --- a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/autorest.md +++ b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/autorest.md @@ -8,6 +8,6 @@ require: - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/powerbiembedded/resource-manager/readme.md - https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/powerbiembedded/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/powerbiembedded/armpowerbiembedded/constants.go b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/constants.go index 484cd3e886c2..ae494e49aa8e 100644 --- a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/constants.go +++ b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/constants.go @@ -11,7 +11,7 @@ package armpowerbiembedded const ( moduleName = "armpowerbiembedded" - moduleVersion = "v1.1.0" + moduleVersion = "v1.1.1" ) // AccessKeyName - Key name diff --git a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models.go b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models.go index 34268eb3bc69..72ec63e67892 100644 --- a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models.go +++ b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models.go @@ -11,75 +11,75 @@ package armpowerbiembedded type AzureSKU struct { // REQUIRED; SKU name - Name *AzureSKUName `json:"name,omitempty"` + Name *AzureSKUName // REQUIRED; SKU tier - Tier *AzureSKUTier `json:"tier,omitempty"` + Tier *AzureSKUTier } type CheckNameRequest struct { // Workspace collection name - Name *string `json:"name,omitempty"` + Name *string // Resource type - Type *string `json:"type,omitempty"` + Type *string } type CheckNameResponse 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 // Specifies a Boolean value that indicates whether the specified Power BI Workspace Collection name is available to use. - NameAvailable *bool `json:"nameAvailable,omitempty"` + NameAvailable *bool // Reason why the workspace collection name cannot be used. - Reason *CheckNameReason `json:"reason,omitempty"` + Reason *CheckNameReason } type CreateWorkspaceCollectionRequest struct { // Azure location - Location *string `json:"location,omitempty"` - SKU *AzureSKU `json:"sku,omitempty"` + Location *string + SKU *AzureSKU // Dictionary of - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } type Display struct { // The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. // It will be used in tool-tips and detailed views. - Description *string `json:"description,omitempty"` + Description *string // The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), // but clear (self-documenting). Use Title Casing and include the entity/resource // to which it applies. - Operation *string `json:"operation,omitempty"` + Operation *string // The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default // value is 'user,system' - Origin *string `json:"origin,omitempty"` + Origin *string // The localized friendly form of the resource provider name. This form is also expected to include the publisher/company // responsible. Use Title Casing. Begin with "Microsoft" for 1st party services. - Provider *string `json:"provider,omitempty"` + Provider *string // The localized friendly form of the resource type related to this action/operation. This form should match the public documentation // for the resource provider. Use Title Casing. For examples, refer to // the "name" section. - Resource *string `json:"resource,omitempty"` + Resource *string } type Error struct { - Code *string `json:"code,omitempty"` - Details []*ErrorDetail `json:"details,omitempty"` - Message *string `json:"message,omitempty"` - Target *string `json:"target,omitempty"` + Code *string + Details []*ErrorDetail + Message *string + Target *string } type ErrorDetail struct { - Code *string `json:"code,omitempty"` - Message *string `json:"message,omitempty"` - Target *string `json:"target,omitempty"` + Code *string + Message *string + Target *string } // ManagementClientGetAvailableOperationsOptions contains the optional parameters for the ManagementClient.GetAvailableOperations @@ -89,81 +89,81 @@ type ManagementClientGetAvailableOperationsOptions struct { } type MigrateWorkspaceCollectionRequest struct { - Resources []*string `json:"resources,omitempty"` + Resources []*string // Name of the resource group the Power BI workspace collections will be migrated to. - TargetResourceGroup *string `json:"targetResourceGroup,omitempty"` + TargetResourceGroup *string } type Operation struct { - Display *Display `json:"display,omitempty"` + Display *Display // The name of the operation being performed on this particular object. This name should match the action name that appears // in RBAC / the event service. - Name *string `json:"name,omitempty"` + Name *string } type OperationList struct { - Value []*Operation `json:"value,omitempty"` + Value []*Operation } type UpdateWorkspaceCollectionRequest struct { - SKU *AzureSKU `json:"sku,omitempty"` + SKU *AzureSKU // Dictionary of - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string } type Workspace struct { // Workspace id - ID *string `json:"id,omitempty"` + ID *string // Workspace name - Name *string `json:"name,omitempty"` + Name *string // Property bag - Properties any `json:"properties,omitempty"` + Properties any // Resource type - Type *string `json:"type,omitempty"` + Type *string } type WorkspaceCollection struct { // Resource id - ID *string `json:"id,omitempty"` + ID *string // Azure location - Location *string `json:"location,omitempty"` + Location *string // Workspace collection name - Name *string `json:"name,omitempty"` + Name *string // Properties - Properties any `json:"properties,omitempty"` - SKU *AzureSKU `json:"sku,omitempty"` + Properties any + SKU *AzureSKU // Dictionary of - Tags map[string]*string `json:"tags,omitempty"` + Tags map[string]*string // Resource type - Type *string `json:"type,omitempty"` + Type *string } type WorkspaceCollectionAccessKey struct { // Key name - KeyName *AccessKeyName `json:"keyName,omitempty"` + KeyName *AccessKeyName } type WorkspaceCollectionAccessKeys struct { // Access key 1 - Key1 *string `json:"key1,omitempty"` + Key1 *string // Access key 2 - Key2 *string `json:"key2,omitempty"` + Key2 *string } type WorkspaceCollectionList struct { - Value []*WorkspaceCollection `json:"value,omitempty"` + Value []*WorkspaceCollection } // WorkspaceCollectionsClientBeginDeleteOptions contains the optional parameters for the WorkspaceCollectionsClient.BeginDelete @@ -225,7 +225,7 @@ type WorkspaceCollectionsClientUpdateOptions struct { } type WorkspaceList struct { - Value []*Workspace `json:"value,omitempty"` + Value []*Workspace } // WorkspacesClientListOptions contains the optional parameters for the WorkspacesClient.NewListPager method. diff --git a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models_serde.go b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models_serde.go index d01731394219..dee454157799 100644 --- a/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models_serde.go +++ b/sdk/resourcemanager/powerbiembedded/armpowerbiembedded/models_serde.go @@ -390,7 +390,7 @@ func (w Workspace) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "id", w.ID) populate(objectMap, "name", w.Name) - populate(objectMap, "properties", &w.Properties) + populateAny(objectMap, "properties", w.Properties) populate(objectMap, "type", w.Type) return json.Marshal(objectMap) } @@ -430,7 +430,7 @@ func (w WorkspaceCollection) MarshalJSON() ([]byte, error) { populate(objectMap, "id", w.ID) populate(objectMap, "location", w.Location) populate(objectMap, "name", w.Name) - populate(objectMap, "properties", &w.Properties) + populateAny(objectMap, "properties", w.Properties) populate(objectMap, "sku", w.SKU) populate(objectMap, "tags", w.Tags) populate(objectMap, "type", w.Type) @@ -597,6 +597,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