diff --git a/profiles/preview/network/mgmt/network/models.go b/profiles/preview/network/mgmt/network/models.go index f0a8c69de982..b14787a958ae 100644 --- a/profiles/preview/network/mgmt/network/models.go +++ b/profiles/preview/network/mgmt/network/models.go @@ -628,6 +628,13 @@ const ( X86 ProcessorArchitecture = original.X86 ) +type ProtectionCoverage = original.ProtectionCoverage + +const ( + ProtectionCoverageBasic ProtectionCoverage = original.ProtectionCoverageBasic + ProtectionCoverageStandard ProtectionCoverage = original.ProtectionCoverageStandard +) + type Protocol = original.Protocol const ( @@ -1024,6 +1031,7 @@ type DdosProtectionPlanListResultPage = original.DdosProtectionPlanListResultPag type DdosProtectionPlanPropertiesFormat = original.DdosProtectionPlanPropertiesFormat type DdosProtectionPlansCreateOrUpdateFuture = original.DdosProtectionPlansCreateOrUpdateFuture type DdosProtectionPlansDeleteFuture = original.DdosProtectionPlansDeleteFuture +type DdoSSettings = original.DdoSSettings type Delegation = original.Delegation type DeviceProperties = original.DeviceProperties type DhcpOptions = original.DhcpOptions @@ -2017,6 +2025,9 @@ func PossibleProbeProtocolValues() []ProbeProtocol { func PossibleProcessorArchitectureValues() []ProcessorArchitecture { return original.PossibleProcessorArchitectureValues() } +func PossibleProtectionCoverageValues() []ProtectionCoverage { + return original.PossibleProtectionCoverageValues() +} func PossibleProtocolValues() []Protocol { return original.PossibleProtocolValues() } diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go index f933099c9c44..4c6d052af416 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go @@ -83,7 +83,7 @@ func (client AlertsClient) ChangeStatePreparer(ctx context.Context, alertID stri "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, "newState": autorest.Encode("query", newState), @@ -185,7 +185,7 @@ func (client AlertsClient) GetAllPreparer(ctx context.Context, targetResource st "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -348,7 +348,7 @@ func (client AlertsClient) GetByIDPreparer(ctx context.Context, alertID string) "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -424,7 +424,7 @@ func (client AlertsClient) GetHistoryPreparer(ctx context.Context, alertID strin "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -514,7 +514,7 @@ func (client AlertsClient) GetSummaryPreparer(ctx context.Context, groupby Alert "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, "groupby": autorest.Encode("query", groupby), diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go index b62a34110166..209e18b38649 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go @@ -76,7 +76,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationsListP // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go index 06f21f79f6ff..9e75774e2940 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go @@ -83,7 +83,7 @@ func (client SmartGroupsClient) ChangeStatePreparer(ctx context.Context, smartGr "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, "newState": autorest.Encode("query", newState), @@ -171,7 +171,7 @@ func (client SmartGroupsClient) GetAllPreparer(ctx context.Context, targetResour "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -279,7 +279,7 @@ func (client SmartGroupsClient) GetByIDPreparer(ctx context.Context, smartGroupI "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -354,7 +354,7 @@ func (client SmartGroupsClient) GetHistoryPreparer(ctx context.Context, smartGro "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-05-05" + const APIVersion = "2018-05-05T00:00:00.000Z" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/network/mgmt/2018-08-01/network/models.go b/services/network/mgmt/2018-08-01/network/models.go index 5e612b497997..9d78eddc8254 100644 --- a/services/network/mgmt/2018-08-01/network/models.go +++ b/services/network/mgmt/2018-08-01/network/models.go @@ -1226,6 +1226,21 @@ func PossibleProcessorArchitectureValues() []ProcessorArchitecture { return []ProcessorArchitecture{Amd64, X86} } +// ProtectionCoverage enumerates the values for protection coverage. +type ProtectionCoverage string + +const ( + // ProtectionCoverageBasic ... + ProtectionCoverageBasic ProtectionCoverage = "Basic" + // ProtectionCoverageStandard ... + ProtectionCoverageStandard ProtectionCoverage = "Standard" +) + +// PossibleProtectionCoverageValues returns an array of possible values for the ProtectionCoverage const type. +func PossibleProtectionCoverageValues() []ProtectionCoverage { + return []ProtectionCoverage{ProtectionCoverageBasic, ProtectionCoverageStandard} +} + // Protocol enumerates the values for protocol. type Protocol string @@ -7683,6 +7698,20 @@ func (future *DdosProtectionPlansDeleteFuture) Result(client DdosProtectionPlans return } +// DdoSSettings contains FQDN of the DNS record associated with the public IP address +type DdoSSettings struct { + // DdosCustomPolicy - The DDoS custom policy associated with the public IP. + DdosCustomPolicy *string `json:"ddosCustomPolicy,omitempty"` + // ProtectionCoverage - The type of the DDoS protection plan associated with the public IP. Possible values include: 'ProtectionCoverageBasic', 'ProtectionCoverageStandard' + ProtectionCoverage ProtectionCoverage `json:"protectionCoverage,omitempty"` + // DomainNameLabel - Gets or sets 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"` + // Fqdn - Gets the FQDN, 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"` + // ReverseFqdn - Gets or Sets 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"` +} + // Delegation details the service to which the subnet is delegated. type Delegation struct { // ServiceDelegationPropertiesFormat - Properties of the subnet. @@ -19063,6 +19092,8 @@ type PublicIPAddressPropertiesFormat struct { IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` // DNSSettings - The FQDN of the DNS record associated with the public IP address. DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"` + // DdosSettings - The DDoS protection custom policy associated with the public IP address. + DdosSettings *DdoSSettings `json:"ddosSettings,omitempty"` // IPTags - The list of tags associated with the public IP address. IPTags *[]IPTag `json:"ipTags,omitempty"` // IPAddress - The IP address associated with the public IP address resource.