Skip to content

Commit

Permalink
Updating based on 3cb52e113
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Jan 18, 2024
1 parent ad53819 commit 1fca49a
Show file tree
Hide file tree
Showing 3,476 changed files with 15,569 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *DomainService
}

// CreateOrUpdate ...
Expand Down Expand Up @@ -52,6 +53,10 @@ func (c DomainServicesClient) CreateOrUpdate(ctx context.Context, id DomainServi
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *DomainService
}

// Update ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c DomainServicesClient) Update(ctx context.Context, id DomainServiceId, in
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
5 changes: 5 additions & 0 deletions resource-manager/aad/2021-05-01/oucontainer/method_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *OuContainer
}

// Create ...
Expand Down Expand Up @@ -52,6 +53,10 @@ func (c OuContainerClient) Create(ctx context.Context, id OuContainerId, input C
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
5 changes: 5 additions & 0 deletions resource-manager/aad/2021-05-01/oucontainer/method_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *OuContainer
}

// Update ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c OuContainerClient) Update(ctx context.Context, id OuContainerId, input C
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *AnalysisServicesServer
}

// Create ...
Expand Down Expand Up @@ -52,6 +53,10 @@ func (c ServersClient) Create(ctx context.Context, id ServerId, input AnalysisSe
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *AnalysisServicesServer
}

// Update ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c ServersClient) Update(ctx context.Context, id ServerId, input AnalysisSe
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiContract
}

type CreateOrUpdateOperationOptions struct {
Expand Down Expand Up @@ -80,6 +81,10 @@ func (c ApiClient) CreateOrUpdate(ctx context.Context, id ApiId, input ApiCreate
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type ApplyNetworkConfigurationUpdatesOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// ApplyNetworkConfigurationUpdates ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c ApiManagementServiceClient) ApplyNetworkConfigurationUpdates(ctx context
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type BackupOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// Backup ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c ApiManagementServiceClient) Backup(ctx context.Context, id ServiceId, in
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// CreateOrUpdate ...
Expand Down Expand Up @@ -52,6 +53,10 @@ func (c ApiManagementServiceClient) CreateOrUpdate(ctx context.Context, id Servi
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type DeleteOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// Delete ...
Expand Down Expand Up @@ -48,6 +49,10 @@ func (c ApiManagementServiceClient) Delete(ctx context.Context, id ServiceId) (r
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type RestoreOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// Restore ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c ApiManagementServiceClient) Restore(ctx context.Context, id ServiceId, i
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ApiManagementServiceResource
}

// Update ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c ApiManagementServiceClient) Update(ctx context.Context, id ServiceId, in
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *SchemaContract
}

type CreateOrUpdateOperationOptions struct {
Expand Down Expand Up @@ -80,6 +81,10 @@ func (c ApiSchemaClient) CreateOrUpdate(ctx context.Context, id ApiSchemaId, inp
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type PurgeOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *DeletedServiceContract
}

// Purge ...
Expand Down Expand Up @@ -48,6 +49,10 @@ func (c DeletedServiceClient) Purge(ctx context.Context, id DeletedServiceId) (r
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *NamedValueContract
}

type CreateOrUpdateOperationOptions struct {
Expand Down Expand Up @@ -80,6 +81,10 @@ func (c NamedValueClient) CreateOrUpdate(ctx context.Context, id NamedValueId, i
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type RefreshSecretOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *NamedValueContract
}

// RefreshSecret ...
Expand Down Expand Up @@ -47,6 +48,10 @@ func (c NamedValueClient) RefreshSecret(ctx context.Context, id NamedValueId) (r
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *NamedValueContract
}

type UpdateOperationOptions struct {
Expand Down Expand Up @@ -79,6 +80,10 @@ func (c NamedValueClient) Update(ctx context.Context, id NamedValueId, input Nam
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type AsyncOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *ConnectivityCheckResponse
}

// Async ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c PerformConnectivityCheckClient) Async(ctx context.Context, id ServiceId,
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type CreateOrUpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *PortalRevisionContract
}

// CreateOrUpdate ...
Expand Down Expand Up @@ -51,6 +52,10 @@ func (c PortalRevisionClient) CreateOrUpdate(ctx context.Context, id PortalRevis
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UpdateOperationResponse struct {
Poller pollers.Poller
HttpResponse *http.Response
OData *odata.OData
Model *PortalRevisionContract
}

type UpdateOperationOptions struct {
Expand Down Expand Up @@ -79,6 +80,10 @@ func (c PortalRevisionClient) Update(ctx context.Context, id PortalRevisionId, i
return
}

if err = resp.Unmarshal(&result.Model); err != nil {
return
}

result.Poller, err = resourcemanager.PollerFromResponse(resp, c.Client)
if err != nil {
return
Expand Down
Loading

0 comments on commit 1fca49a

Please sign in to comment.