Skip to content

Commit

Permalink
Merge pull request #840 from hashicorp/auto-pr/517c0411d
Browse files Browse the repository at this point in the history
Auto PR: Regenerating the Go SDK (9fa2107)
  • Loading branch information
tombuildsstuff authored Jan 24, 2024
2 parents eb331a1 + 9fa2107 commit 93e3e0f
Show file tree
Hide file tree
Showing 2,708 changed files with 0 additions and 11,066 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ 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 @@ -52,10 +52,6 @@ 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
4 changes: 0 additions & 4 deletions resource-manager/aad/2021-05-01/oucontainer/method_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ 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
4 changes: 0 additions & 4 deletions resource-manager/aad/2021-05-01/oucontainer/method_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ 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 @@ -53,10 +53,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -81,10 +81,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -49,10 +49,6 @@ 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 @@ -48,10 +48,6 @@ func (c ApiManagementServiceClient) MigrateToStv2(ctx context.Context, id Servic
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 @@ -52,10 +52,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -81,10 +81,6 @@ 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 @@ -49,10 +49,6 @@ 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 @@ -81,10 +81,6 @@ 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 @@ -48,10 +48,6 @@ 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 @@ -80,10 +80,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -81,10 +81,6 @@ func (c PolicyFragmentClient) CreateOrUpdate(ctx context.Context, id PolicyFragm
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 @@ -52,10 +52,6 @@ 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 @@ -80,10 +80,6 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ func (c PrivateEndpointConnectionsClient) PrivateEndpointConnectionCreateOrUpdat
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 @@ -81,10 +81,6 @@ func (c SchemaClient) GlobalSchemaCreateOrUpdate(ctx context.Context, id SchemaI
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 @@ -52,10 +52,6 @@ func (c TenantConfigurationClient) Deploy(ctx context.Context, id ServiceId, 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 @@ -52,10 +52,6 @@ func (c TenantConfigurationClient) Save(ctx context.Context, id ServiceId, input
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 @@ -52,10 +52,6 @@ func (c TenantConfigurationClient) Validate(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 @@ -81,10 +81,6 @@ 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 @@ -81,10 +81,6 @@ func (c ApiClient) WorkspaceApiCreateOrUpdate(ctx context.Context, id WorkspaceA
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 @@ -52,10 +52,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -52,10 +52,6 @@ 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 @@ -49,10 +49,6 @@ 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 @@ -52,10 +52,6 @@ func (c ApiManagementServiceClient) MigrateToStv2(ctx context.Context, id Servic
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 @@ -52,10 +52,6 @@ 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
Loading

0 comments on commit 93e3e0f

Please sign in to comment.