diff --git a/services/eventhub/mgmt/2015-08-01/eventhub/CHANGELOG.md b/services/eventhub/mgmt/2015-08-01/eventhub/CHANGELOG.md index 018e3373e23f..a1ecf841edb0 100644 --- a/services/eventhub/mgmt/2015-08-01/eventhub/CHANGELOG.md +++ b/services/eventhub/mgmt/2015-08-01/eventhub/CHANGELOG.md @@ -1,9 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. ResourceListKeys.MarshalJSON() ([]byte, error) diff --git a/services/eventhub/mgmt/2015-08-01/eventhub/_meta.json b/services/eventhub/mgmt/2015-08-01/eventhub/_meta.json index c799d874b74f..18b712687283 100644 --- a/services/eventhub/mgmt/2015-08-01/eventhub/_meta.json +++ b/services/eventhub/mgmt/2015-08-01/eventhub/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "dc3adc7b9b95b01d167ac88e8a4603917098f460", "readme": "/_/azure-rest-api-specs/specification/eventhub/resource-manager/readme.md", "tag": "package-2015-08", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/eventhub/mgmt/2017-04-01/eventhub/CHANGELOG.md b/services/eventhub/mgmt/2017-04-01/eventhub/CHANGELOG.md index c3a8b954601c..a1ecf841edb0 100644 --- a/services/eventhub/mgmt/2017-04-01/eventhub/CHANGELOG.md +++ b/services/eventhub/mgmt/2017-04-01/eventhub/CHANGELOG.md @@ -1,12 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. AccessKeys.MarshalJSON() ([]byte, error) -1. MessagingPlanProperties.MarshalJSON() ([]byte, error) -1. MessagingRegionsProperties.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. Resource.MarshalJSON() ([]byte, error) diff --git a/services/eventhub/mgmt/2017-04-01/eventhub/_meta.json b/services/eventhub/mgmt/2017-04-01/eventhub/_meta.json index c91a53930739..941ec1052f72 100644 --- a/services/eventhub/mgmt/2017-04-01/eventhub/_meta.json +++ b/services/eventhub/mgmt/2017-04-01/eventhub/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "dc3adc7b9b95b01d167ac88e8a4603917098f460", "readme": "/_/azure-rest-api-specs/specification/eventhub/resource-manager/readme.md", "tag": "package-2017-04", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/CHANGELOG.md b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/CHANGELOG.md index da266002f1d2..95ddbc2df720 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/CHANGELOG.md +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/CHANGELOG.md @@ -1,12 +1,9 @@ -# Change History +# Unreleased ## Additive Changes -### New Funcs +### Struct Changes -1. AccessKeys.MarshalJSON() ([]byte, error) -1. ClusterProperties.MarshalJSON() ([]byte, error) -1. MessagingRegionsProperties.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. Resource.MarshalJSON() ([]byte, error) +#### New Struct Fields + +1. EHNamespaceProperties.Status diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/_meta.json b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/_meta.json index 601a71404b69..87785e2a430b 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/_meta.json +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "dc3adc7b9b95b01d167ac88e8a4603917098f460", "readme": "/_/azure-rest-api-specs/specification/eventhub/resource-manager/readme.md", "tag": "package-2018-01-preview", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/client.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/client.go index 6db2dd49a6d3..46aceb47b0dd 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/client.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/client.go @@ -1,4 +1,4 @@ -// Package eventhub implements the Azure ARM Eventhub service API version . +// Package eventhub implements the Azure ARM Eventhub service API version 2018-01-01-preview. // // package eventhub diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/clusters.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/clusters.go index ca4bc298ca29..44a767504386 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/clusters.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/clusters.go @@ -58,9 +58,7 @@ func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupNa Constraints: []validation.Constraint{{Target: "parameters.Sku", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.Sku.Name", Name: validation.Null, Rule: true, Chain: nil}, {Target: "parameters.Sku.Capacity", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.InclusiveMaximum, Rule: int64(32), Chain: nil}, - {Target: "parameters.Sku.Capacity", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}, - }}, + Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}}}, }}}}}); err != nil { return result, validation.NewError("eventhub.ClustersClient", "CreateOrUpdate", err.Error()) } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/consumergroups.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/consumergroups.go index 3e9d446428a7..e2fc59c057ef 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/consumergroups.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/consumergroups.go @@ -97,7 +97,7 @@ func (client ConsumerGroupsClient) CreateOrUpdatePreparer(ctx context.Context, r "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -195,7 +195,7 @@ func (client ConsumerGroupsClient) DeletePreparer(ctx context.Context, resourceG "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -290,7 +290,7 @@ func (client ConsumerGroupsClient) GetPreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -401,7 +401,7 @@ func (client ConsumerGroupsClient) ListByEventHubPreparer(ctx context.Context, r "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/disasterrecoveryconfigs.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/disasterrecoveryconfigs.go index df195f17b578..151c91542e18 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/disasterrecoveryconfigs.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/disasterrecoveryconfigs.go @@ -93,7 +93,7 @@ func (client DisasterRecoveryConfigsClient) BreakPairingPreparer(ctx context.Con "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -181,7 +181,7 @@ func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityPreparer(ctx co "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -275,7 +275,7 @@ func (client DisasterRecoveryConfigsClient) CreateOrUpdatePreparer(ctx context.C "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -368,7 +368,7 @@ func (client DisasterRecoveryConfigsClient) DeletePreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -458,7 +458,7 @@ func (client DisasterRecoveryConfigsClient) FailOverPreparer(ctx context.Context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -548,7 +548,7 @@ func (client DisasterRecoveryConfigsClient) GetPreparer(ctx context.Context, res "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -643,7 +643,7 @@ func (client DisasterRecoveryConfigsClient) GetAuthorizationRulePreparer(ctx con "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -734,7 +734,7 @@ func (client DisasterRecoveryConfigsClient) ListPreparer(ctx context.Context, re "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -867,7 +867,7 @@ func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesPreparer(ctx c "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -999,7 +999,7 @@ func (client DisasterRecoveryConfigsClient) ListKeysPreparer(ctx context.Context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/eventhubs.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/eventhubs.go index be6c411f3b52..ee1a00d71550 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/eventhubs.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/eventhubs.go @@ -109,7 +109,7 @@ func (client EventHubsClient) CreateOrUpdatePreparer(ctx context.Context, resour "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -211,7 +211,7 @@ func (client EventHubsClient) CreateOrUpdateAuthorizationRulePreparer(ctx contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -304,7 +304,7 @@ func (client EventHubsClient) DeletePreparer(ctx context.Context, resourceGroupN "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -398,7 +398,7 @@ func (client EventHubsClient) DeleteAuthorizationRulePreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -488,7 +488,7 @@ func (client EventHubsClient) GetPreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -583,7 +583,7 @@ func (client EventHubsClient) GetAuthorizationRulePreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -679,7 +679,7 @@ func (client EventHubsClient) ListAuthorizationRulesPreparer(ctx context.Context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -821,7 +821,7 @@ func (client EventHubsClient) ListByNamespacePreparer(ctx context.Context, resou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -959,7 +959,7 @@ func (client EventHubsClient) ListKeysPreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1055,7 +1055,7 @@ func (client EventHubsClient) RegenerateKeysPreparer(ctx context.Context, resour "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/models.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/models.go index 0e57751582f2..f34857635a58 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/models.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/models.go @@ -1677,6 +1677,8 @@ func NewEHNamespaceListResultPage(cur EHNamespaceListResult, getNextPage func(co type EHNamespaceProperties struct { // ProvisioningState - READ-ONLY; Provisioning state of the Namespace. ProvisioningState *string `json:"provisioningState,omitempty"` + // Status - READ-ONLY; Status of the Namespace. + Status *string `json:"status,omitempty"` // CreatedAt - READ-ONLY; The time the Namespace was created. CreatedAt *date.Time `json:"createdAt,omitempty"` // UpdatedAt - READ-ONLY; The time the Namespace was updated. diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/namespaces.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/namespaces.go index d39b9410dce8..3df41a51b1f4 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/namespaces.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/namespaces.go @@ -79,7 +79,7 @@ func (client NamespacesClient) CheckNameAvailabilityPreparer(ctx context.Context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -139,9 +139,7 @@ func (client NamespacesClient) CreateOrUpdate(ctx context.Context, resourceGroup {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.Sku", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.InclusiveMaximum, Rule: int64(20), Chain: nil}, - {Target: "parameters.Sku.Capacity", Name: validation.InclusiveMinimum, Rule: int64(0), Chain: nil}, - }}, + Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.InclusiveMinimum, Rule: int64(0), Chain: nil}}}, }}, {Target: "parameters.EHNamespaceProperties", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.EHNamespaceProperties.MaximumThroughputUnits", Name: validation.Null, Rule: false, @@ -280,7 +278,7 @@ func (client NamespacesClient) CreateOrUpdateAuthorizationRulePreparer(ctx conte "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -734,7 +732,7 @@ func (client NamespacesClient) DeleteAuthorizationRulePreparer(ctx context.Conte "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1087,7 +1085,7 @@ func (client NamespacesClient) GetAuthorizationRulePreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1557,7 +1555,7 @@ func (client NamespacesClient) ListAuthorizationRulesPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1935,7 +1933,7 @@ func (client NamespacesClient) ListKeysPreparer(ctx context.Context, resourceGro "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -2154,7 +2152,7 @@ func (client NamespacesClient) RegenerateKeysPreparer(ctx context.Context, resou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/operations.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/operations.go index cbd3c1c9c40d..42a3559d6489 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/operations.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/operations.go @@ -71,7 +71,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/regions.go b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/regions.go index b5b3c259603d..09293cbc95d2 100644 --- a/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/regions.go +++ b/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub/regions.go @@ -86,7 +86,7 @@ func (client RegionsClient) ListBySkuPreparer(ctx context.Context, sku string) ( "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-04-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, }