Documentation
¶
Overview ¶
Package compute provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAttachDiskSvcV1DisksDiskIdAttachPostRequest(server string, diskId string, ...) (*http.Request, error)
- func NewAttachDiskSvcV1DisksDiskIdAttachPostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
- func NewCreateBackupSvcV1BackupsPostRequest(server string, body CreateBackupSvcV1BackupsPostJSONRequestBody) (*http.Request, error)
- func NewCreateBackupSvcV1BackupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDiskSvcV1DisksPostRequest(server string, body CreateDiskSvcV1DisksPostJSONRequestBody) (*http.Request, error)
- func NewCreateDiskSvcV1DisksPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFloatingIpSvcV1FloatingIpsPostRequest(server string, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody) (*http.Request, error)
- func NewCreateFloatingIpSvcV1FloatingIpsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateImageSvcV1ImagesPostRequest(server string, body CreateImageSvcV1ImagesPostJSONRequestBody) (*http.Request, error)
- func NewCreateImageSvcV1ImagesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInterfaceSvcV1InterfacesPostRequest(server string, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody) (*http.Request, error)
- func NewCreateInterfaceSvcV1InterfacesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateNatGatewaySvcV1NatGatewaysPostRequest(server string, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody) (*http.Request, error)
- func NewCreateNatGatewaySvcV1NatGatewaysPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequest(server string, ...) (*http.Request, error)
- func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequest(server string, ...) (*http.Request, error)
- func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequest(server string, securityGroupId string, ...) (*http.Request, error)
- func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequestWithBody(server string, securityGroupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequest(server string, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody) (*http.Request, error)
- func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSubnetSvcV1SubnetsPostRequest(server string, body CreateSubnetSvcV1SubnetsPostJSONRequestBody) (*http.Request, error)
- func NewCreateSubnetSvcV1SubnetsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVmSvcV1VmsPostRequest(server string, body CreateVmSvcV1VmsPostJSONRequestBody) (*http.Request, error)
- func NewCreateVmSvcV1VmsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVmV11SvcV11VmsPostRequest(server string, body CreateVmV11SvcV11VmsPostJSONRequestBody) (*http.Request, error)
- func NewCreateVmV11SvcV11VmsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteBackupSvcV1BackupsBackupIdDeleteRequest(server string, backupId string) (*http.Request, error)
- func NewDeleteDiskSvcV1DisksDiskIdDeleteRequest(server string, diskId string) (*http.Request, error)
- func NewDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteRequest(server string, floatingIpId string) (*http.Request, error)
- func NewDeleteImageSvcV1ImagesImageIdDeleteRequest(server string, imageId string) (*http.Request, error)
- func NewDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteRequest(server string, interfaceId string) (*http.Request, error)
- func NewDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteRequest(server string, natGatewayId openapi_types.UUID) (*http.Request, error)
- func NewDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteRequest(server string, placementGroupId openapi_types.UUID) (*http.Request, error)
- func NewDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteRequest(server string, protectionPlanId string) (*http.Request, error)
- func NewDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteRequest(server string, securityGroupId string, securityGroupRuleId string) (*http.Request, error)
- func NewDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteRequest(server string, securityGroupId string) (*http.Request, error)
- func NewDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteRequest(server string, subnetId openapi_types.UUID) (*http.Request, error)
- func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteVmSvcV1VmsVmIdDeleteRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewDeleteVmSvcV1VmsVmIdDeleteRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewDetachDiskSvcV1DisksDiskIdDetachPostRequest(server string, diskId string, ...) (*http.Request, error)
- func NewDetachDiskSvcV1DisksDiskIdDetachPostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAvailabilityZoneListSvcV1AvailabilityZonesGetRequest(server string, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams) (*http.Request, error)
- func NewGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetRequest(server string, ...) (*http.Request, error)
- func NewGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetRequest(server string, availabilityZoneId string) (*http.Request, error)
- func NewGetAvailableIpAddressesSvcV1AvailableIpAddressesGetRequest(server string, ...) (*http.Request, error)
- func NewGetAvailableSubnetsSvcV1AvailableSubnetsGetRequest(server string, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams) (*http.Request, error)
- func NewGetBackupSvcV1BackupsBackupIdGetRequest(server string, backupId string) (*http.Request, error)
- func NewGetDiskByIdSvcV1DisksDiskIdGetRequest(server string, diskId string) (*http.Request, error)
- func NewGetDiskParamsSvcV1ParamsDiskGetRequest(server string, params *GetDiskParamsSvcV1ParamsDiskGetParams) (*http.Request, error)
- func NewGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetRequest(server string, diskTypeId string) (*http.Request, error)
- func NewGetDiskTypesSvcV1DiskTypesGetRequest(server string, params *GetDiskTypesSvcV1DiskTypesGetParams) (*http.Request, error)
- func NewGetDisksSvcV1DisksGetRequest(server string, params *GetDisksSvcV1DisksGetParams) (*http.Request, error)
- func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequest(server string, projectId string, ...) (*http.Request, error)
- func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetFlavorByIdSvcV1FlavorsFlavorIdGetRequest(server string, flavorId string) (*http.Request, error)
- func NewGetFlavorParamsSvcV1ParamsFlavorGetRequest(server string, params *GetFlavorParamsSvcV1ParamsFlavorGetParams) (*http.Request, error)
- func NewGetFlavorsSvcV1FlavorsGetRequest(server string, params *GetFlavorsSvcV1FlavorsGetParams) (*http.Request, error)
- func NewGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetRequest(server string, floatingIpId string) (*http.Request, error)
- func NewGetFloatingIpFipsSvcV1FloatingIpsGetRequest(server string, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams) (*http.Request, error)
- func NewGetImageByIdSvcV1ImagesImageIdGetRequest(server string, imageId string) (*http.Request, error)
- func NewGetImagesSvcV1ImagesGetRequest(server string, params *GetImagesSvcV1ImagesGetParams) (*http.Request, error)
- func NewGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetRequest(server string, natGatewayId openapi_types.UUID) (*http.Request, error)
- func NewGetNatGatewaysSvcV1NatGatewaysGetRequest(server string, params *GetNatGatewaysSvcV1NatGatewaysGetParams) (*http.Request, error)
- func NewGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetRequest(server string, organizationId string) (*http.Request, error)
- func NewGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetRequest(server string, placementGroupId openapi_types.UUID) (*http.Request, error)
- func NewGetPlacementGroupsSvcV1PlacementGroupsGetRequest(server string, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams) (*http.Request, error)
- func NewGetProjectForPublicSvcV1ProjectsProjectIdGetRequest(server string, projectId string) (*http.Request, error)
- func NewGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetRequest(server string, projectId string) (*http.Request, error)
- func NewGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetRequest(server string, protectionPlanId string) (*http.Request, error)
- func NewGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetRequest(server string, interfaceId string) (*http.Request, error)
- func NewGetPublicInterfacesSvcV1InterfacesGetRequest(server string, params *GetPublicInterfacesSvcV1InterfacesGetParams) (*http.Request, error)
- func NewGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetRequest(server string, ...) (*http.Request, error)
- func NewGetPublicTaskByIdSvcV1TasksTaskIdGetRequest(server string, taskId string) (*http.Request, error)
- func NewGetPublicTasksSvcV1TasksGetRequest(server string, params *GetPublicTasksSvcV1TasksGetParams) (*http.Request, error)
- func NewGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetRequest(server string, securityGroupId string) (*http.Request, error)
- func NewGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetRequest(server string, securityGroupId string, securityGroupRuleId string) (*http.Request, error)
- func NewGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetRequest(server string, securityGroupId string, ...) (*http.Request, error)
- func NewGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetRequest(server string, ...) (*http.Request, error)
- func NewGetSubnetByIdSvcV1SubnetsSubnetIdGetRequest(server string, subnetId openapi_types.UUID) (*http.Request, error)
- func NewGetSubnetParamsSvcV1ParamsSubnetGetRequest(server string, params *GetSubnetParamsSvcV1ParamsSubnetGetParams) (*http.Request, error)
- func NewGetSubnetsSvcV1SubnetsGetRequest(server string, params *GetSubnetsSvcV1SubnetsGetParams) (*http.Request, error)
- func NewGetVmByIdSvcV1VmsVmIdGetRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
- func NewGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
- func NewGetVmParamsSvcV1ParamsVmGetRequest(server string, params *GetVmParamsSvcV1ParamsVmGetParams) (*http.Request, error)
- func NewGetVmVncSvcV1VmsVmIdGetVncPostRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
- func NewGetVmsSvcV1VmsGetRequest(server string, params *GetVmsSvcV1VmsGetParams) (*http.Request, error)
- func NewListBackupsSvcV1BackupsGetRequest(server string, params *ListBackupsSvcV1BackupsGetParams) (*http.Request, error)
- func NewListProtectionPlansSvcV1ProtectionPlansGetRequest(server string, params *ListProtectionPlansSvcV1ProtectionPlansGetParams) (*http.Request, error)
- func NewRebuildVmSvcV1VmsVmIdRebuildPostRequest(server string, vmId string, ...) (*http.Request, error)
- func NewRebuildVmSvcV1VmsVmIdRebuildPostRequestWithBody(server string, vmId string, contentType string, body io.Reader) (*http.Request, error)
- func NewReimageDiskSvcV1DisksDiskIdReimagePostRequest(server string, diskId string, ...) (*http.Request, error)
- func NewReimageDiskSvcV1DisksDiskIdReimagePostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequest(server string, backupId string, ...) (*http.Request, error)
- func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequestWithBody(server string, backupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBackupSvcV1BackupsBackupIdPutRequest(server string, backupId string, ...) (*http.Request, error)
- func NewUpdateBackupSvcV1BackupsBackupIdPutRequestWithBody(server string, backupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDiskSvcV1DisksDiskIdPutRequest(server string, diskId string, ...) (*http.Request, error)
- func NewUpdateDiskSvcV1DisksDiskIdPutRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequest(server string, floatingIpId string, ...) (*http.Request, error)
- func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequestWithBody(server string, floatingIpId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateImageSvcV1ImagesImageIdPutRequest(server string, imageId string, ...) (*http.Request, error)
- func NewUpdateImageSvcV1ImagesImageIdPutRequestWithBody(server string, imageId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequest(server string, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody) (*http.Request, error)
- func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequest(server string, natGatewayId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequestWithBody(server string, natGatewayId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequest(server string, placementGroupId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequestWithBody(server string, placementGroupId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequest(server string, protectionPlanId string, ...) (*http.Request, error)
- func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequestWithBody(server string, protectionPlanId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequest(server string, interfaceId string, ...) (*http.Request, error)
- func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequestWithBody(server string, interfaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequest(server string, securityGroupId string, securityGroupRuleId string, ...) (*http.Request, error)
- func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequestWithBody(server string, securityGroupId string, securityGroupRuleId string, ...) (*http.Request, error)
- func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequest(server string, securityGroupId string, ...) (*http.Request, error)
- func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequestWithBody(server string, securityGroupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequest(server string, subnetId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequestWithBody(server string, subnetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVmSvcV1VmsVmIdPutRequest(server string, vmId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateVmSvcV1VmsVmIdPutRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetRequest(server string, projectId string, ...) (*http.Request, error)
- type APIExceptionSchema
- type ActionBackupRequestBody
- type AllowedAddressPairMiniResponse
- type AllowedAddressPairMiniResponseIpAddress0
- type AllowedAddressPairMiniResponseIpAddress1
- type AllowedAddressPairMiniResponse_IpAddress
- func (t AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress0() (AllowedAddressPairMiniResponseIpAddress0, error)
- func (t AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress1() (AllowedAddressPairMiniResponseIpAddress1, error)
- func (t *AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress0(v AllowedAddressPairMiniResponseIpAddress0) error
- func (t *AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress1(v AllowedAddressPairMiniResponseIpAddress1) error
- func (t AllowedAddressPairMiniResponse_IpAddress) MarshalJSON() ([]byte, error)
- func (t *AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress0(v AllowedAddressPairMiniResponseIpAddress0) error
- func (t *AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress1(v AllowedAddressPairMiniResponseIpAddress1) error
- func (t *AllowedAddressPairMiniResponse_IpAddress) UnmarshalJSON(b []byte) error
- type AllowedAddressPairScheme
- type AllowedAddressPairSchemeIpAddress0
- type AllowedAddressPairSchemeIpAddress1
- type AllowedAddressPairScheme_IpAddress
- func (t AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress0() (AllowedAddressPairSchemeIpAddress0, error)
- func (t AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress1() (AllowedAddressPairSchemeIpAddress1, error)
- func (t *AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress0(v AllowedAddressPairSchemeIpAddress0) error
- func (t *AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress1(v AllowedAddressPairSchemeIpAddress1) error
- func (t AllowedAddressPairScheme_IpAddress) MarshalJSON() ([]byte, error)
- func (t *AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress0(v AllowedAddressPairSchemeIpAddress0) error
- func (t *AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress1(v AllowedAddressPairSchemeIpAddress1) error
- func (t *AllowedAddressPairScheme_IpAddress) UnmarshalJSON(b []byte) error
- type ApiModelsV11VmSchemasPublicVmCreateRequest
- type ApiModelsV11VmSchemasPublicVmsCreateRequest
- type ApiModelsV11VmSchemasVmCreateDiskSection
- type ApiModelsV11VmSchemasVmCreateDiskSection_Item
- func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateExistingDiskItem() (ApiModelsV11VmSchemasVmCreateExistingDiskItem, error)
- func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateNewDiskItem() (ApiModelsV11VmSchemasVmCreateNewDiskItem, error)
- func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateExistingDiskItem(v ApiModelsV11VmSchemasVmCreateExistingDiskItem) error
- func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateNewDiskItem(v ApiModelsV11VmSchemasVmCreateNewDiskItem) error
- func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) MarshalJSON() ([]byte, error)
- func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateExistingDiskItem(v ApiModelsV11VmSchemasVmCreateExistingDiskItem) error
- func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateNewDiskItem(v ApiModelsV11VmSchemasVmCreateNewDiskItem) error
- func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) UnmarshalJSON(b []byte) error
- type ApiModelsV11VmSchemasVmCreateExistingDiskItem
- type ApiModelsV11VmSchemasVmCreateNewDiskItem
- type ApiModelsVmSchemasPublicVmCreateRequest
- type ApiModelsVmSchemasPublicVmsCreateRequest
- type ApiModelsVmSchemasVmCreateDiskSection
- type ApiModelsVmSchemasVmCreateDiskSection_Item
- func (t ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateExistingDiskItem() (ApiModelsVmSchemasVmCreateExistingDiskItem, error)
- func (t ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateNewDiskItem() (ApiModelsVmSchemasVmCreateNewDiskItem, error)
- func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateExistingDiskItem(v ApiModelsVmSchemasVmCreateExistingDiskItem) error
- func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateNewDiskItem(v ApiModelsVmSchemasVmCreateNewDiskItem) error
- func (t ApiModelsVmSchemasVmCreateDiskSection_Item) MarshalJSON() ([]byte, error)
- func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateExistingDiskItem(v ApiModelsVmSchemasVmCreateExistingDiskItem) error
- func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateNewDiskItem(v ApiModelsVmSchemasVmCreateNewDiskItem) error
- func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) UnmarshalJSON(b []byte) error
- type ApiModelsVmSchemasVmCreateExistingDiskItem
- type ApiModelsVmSchemasVmCreateNewDiskItem
- type AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody
- type AttachDiskSvcV1DisksDiskIdAttachPostResponse
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) ContentType() string
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetBody() []byte
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON200() *PublicDiskResponse
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) Status() string
- func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) StatusCode() int
- type AuthForbiddenExceptionSchema
- type AuthUnauthorizedExceptionSchema
- type AvailabilityZoneLiteSchema
- type AvailabilityZoneMiniResponse
- type AvailabilityZoneNotFoundExceptionSchema
- type BackupAction
- type BackupDiskResourceStateDiskMountSection
- type BackupDiskResourceStateDiskMountVmSection
- type BackupDiskResourceStateDiskTypeSection
- type BackupDiskResourceStateSection
- type BackupDiskRestoreConfigurationAvailabilityZoneSection
- type BackupDiskRestoreConfigurationDiskTypeSection
- type BackupDiskRestoreConfigurationSection
- type BackupDiskRestoreSection
- type BackupItemResponse
- type BackupItemResponse_Resource
- func (t BackupItemResponse_Resource) AsBackupDiskRestoreSection() (BackupDiskRestoreSection, error)
- func (t BackupItemResponse_Resource) AsBackupVmRestoreSection() (BackupVmRestoreSection, error)
- func (t *BackupItemResponse_Resource) FromBackupDiskRestoreSection(v BackupDiskRestoreSection) error
- func (t *BackupItemResponse_Resource) FromBackupVmRestoreSection(v BackupVmRestoreSection) error
- func (t BackupItemResponse_Resource) MarshalJSON() ([]byte, error)
- func (t *BackupItemResponse_Resource) MergeBackupDiskRestoreSection(v BackupDiskRestoreSection) error
- func (t *BackupItemResponse_Resource) MergeBackupVmRestoreSection(v BackupVmRestoreSection) error
- func (t *BackupItemResponse_Resource) UnmarshalJSON(b []byte) error
- type BackupListItemResourceSection
- type BackupListItemResourceSection_ResourceState
- func (t BackupListItemResourceSection_ResourceState) AsBackupDiskResourceStateSection() (BackupDiskResourceStateSection, error)
- func (t BackupListItemResourceSection_ResourceState) AsBackupVmResourceStateSection() (BackupVmResourceStateSection, error)
- func (t *BackupListItemResourceSection_ResourceState) FromBackupDiskResourceStateSection(v BackupDiskResourceStateSection) error
- func (t *BackupListItemResourceSection_ResourceState) FromBackupVmResourceStateSection(v BackupVmResourceStateSection) error
- func (t BackupListItemResourceSection_ResourceState) MarshalJSON() ([]byte, error)
- func (t *BackupListItemResourceSection_ResourceState) MergeBackupDiskResourceStateSection(v BackupDiskResourceStateSection) error
- func (t *BackupListItemResourceSection_ResourceState) MergeBackupVmResourceStateSection(v BackupVmResourceStateSection) error
- func (t *BackupListItemResourceSection_ResourceState) UnmarshalJSON(b []byte) error
- type BackupLiteSchema
- type BackupMetadataFieldSection
- type BackupResourceRequest
- type BackupResourceResponse
- type BackupResourceSchema
- type BackupResourceStateAvailabilityZoneSection
- type BackupResourceStateProjectSection
- type BackupResourceTypeEnum
- type BackupSchema
- type BackupState
- type BackupTagItemSection
- type BackupTagMiniResponse
- type BackupType
- type BackupVmResourceStateDiskSection
- type BackupVmResourceStateDiskTypeSection
- type BackupVmResourceStateFlavorSection
- type BackupVmResourceStateFloatingIpSection
- type BackupVmResourceStateImageSection
- type BackupVmResourceStateInterfaceSection
- type BackupVmResourceStatePlacementGroupSection
- type BackupVmResourceStateSection
- type BackupVmResourceStateSecurityGroupSection
- type BackupVmResourceStateSubnetSection
- type BackupVmRestoreConfigurationAvailabilityZoneSection
- type BackupVmRestoreConfigurationDiskSection
- type BackupVmRestoreConfigurationDiskTypeSection
- type BackupVmRestoreConfigurationFlavorSection
- type BackupVmRestoreConfigurationFloatingIpSection
- type BackupVmRestoreConfigurationImageSection
- type BackupVmRestoreConfigurationInterfaceSection
- type BackupVmRestoreConfigurationPlacementGroupSection
- type BackupVmRestoreConfigurationSection
- type BackupVmRestoreConfigurationSecurityGroupSection
- type BackupVmRestoreConfigurationSubnetSection
- type BackupVmRestoreSection
- type BaseBackupActionBody
- type BaseBackupActionBody_Resource
- func (t BaseBackupActionBody_Resource) AsRestoreDiskBackupResource() (RestoreDiskBackupResource, error)
- func (t BaseBackupActionBody_Resource) AsRestoreVmBackupResource() (RestoreVmBackupResource, error)
- func (t BaseBackupActionBody_Resource) Discriminator() (string, error)
- func (t *BaseBackupActionBody_Resource) FromRestoreDiskBackupResource(v RestoreDiskBackupResource) error
- func (t *BaseBackupActionBody_Resource) FromRestoreVmBackupResource(v RestoreVmBackupResource) error
- func (t BaseBackupActionBody_Resource) MarshalJSON() ([]byte, error)
- func (t *BaseBackupActionBody_Resource) MergeRestoreDiskBackupResource(v RestoreDiskBackupResource) error
- func (t *BaseBackupActionBody_Resource) MergeRestoreVmBackupResource(v RestoreVmBackupResource) error
- func (t *BaseBackupActionBody_Resource) UnmarshalJSON(b []byte) error
- func (t BaseBackupActionBody_Resource) ValueByDiscriminator() (interface{}, error)
- type BaseOrganizationResponse
- type BaseProjectResponse
- type BulkDeleteVmError
- type BulkDeleteVmRequest
- type BulkDeleteVmRequestSchemaBody
- type BulkDeleteVmResponse
- type CanNotDeleteDefaultSecurityGroupExceptionSchema
- type CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) ContentType() string
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetBody() []byte
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) Status() string
- func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) StatusCode() int
- type CheckpointState
- type Client
- func (c *Client) AttachDiskSvcV1DisksDiskIdAttachPost(ctx context.Context, diskId string, ...) (*http.Response, error)
- func (c *Client) AttachDiskSvcV1DisksDiskIdAttachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateBackupSvcV1BackupsPost(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBackupSvcV1BackupsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDiskSvcV1DisksPost(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDiskSvcV1DisksPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFloatingIpSvcV1FloatingIpsPost(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateFloatingIpSvcV1FloatingIpsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateImageSvcV1ImagesPost(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateImageSvcV1ImagesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInterfaceSvcV1InterfacesPost(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInterfaceSvcV1InterfacesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateNatGatewaySvcV1NatGatewaysPost(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateNatGatewaySvcV1NatGatewaysPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePlacementGroupSvcV1PlacementGroupsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreatePlacementGroupSvcV1PlacementGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProtectionPlanSvcV1ProtectionPlansPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateProtectionPlanSvcV1ProtectionPlansPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost(ctx context.Context, securityGroupId string, ...) (*http.Response, error)
- func (c *Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody(ctx context.Context, securityGroupId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroupSvcV1SecurityGroupsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroupSvcV1SecurityGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSubnetSvcV1SubnetsPost(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSubnetSvcV1SubnetsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateVmSvcV1VmsPost(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVmSvcV1VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateVmV11SvcV11VmsPost(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVmV11SvcV11VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteBackupSvcV1BackupsBackupIdDelete(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDiskSvcV1DisksDiskIdDelete(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteImageSvcV1ImagesImageIdDelete(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInterfaceSvcV1InterfacesInterfaceIdDelete(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (*http.Response, error)
- func (c *Client) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete(ctx context.Context, subnetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteVmSvcV1VmsVmIdDelete(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteVmSvcV1VmsVmIdDeleteWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) DetachDiskSvcV1DisksDiskIdDetachPost(ctx context.Context, diskId string, ...) (*http.Response, error)
- func (c *Client) DetachDiskSvcV1DisksDiskIdDetachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) GetAvailabilityZoneListSvcV1AvailabilityZonesGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAvailableIpAddressesSvcV1AvailableIpAddressesGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetAvailableSubnetsSvcV1AvailableSubnetsGet(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, ...) (*http.Response, error)
- func (c *Client) GetBackupSvcV1BackupsBackupIdGet(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDiskByIdSvcV1DisksDiskIdGet(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDiskParamsSvcV1ParamsDiskGet(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, ...) (*http.Response, error)
- func (c *Client) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDiskTypesSvcV1DiskTypesGet(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, ...) (*http.Response, error)
- func (c *Client) GetDisksSvcV1DisksGet(ctx context.Context, params *GetDisksSvcV1DisksGetParams, ...) (*http.Response, error)
- func (c *Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetFlavorByIdSvcV1FlavorsFlavorIdGet(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFlavorParamsSvcV1ParamsFlavorGet(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, ...) (*http.Response, error)
- func (c *Client) GetFlavorsSvcV1FlavorsGet(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, ...) (*http.Response, error)
- func (c *Client) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFloatingIpFipsSvcV1FloatingIpsGet(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, ...) (*http.Response, error)
- func (c *Client) GetImageByIdSvcV1ImagesImageIdGet(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImagesSvcV1ImagesGet(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, ...) (*http.Response, error)
- func (c *Client) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetNatGatewaysSvcV1NatGatewaysGet(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, ...) (*http.Response, error)
- func (c *Client) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetPlacementGroupsSvcV1PlacementGroupsGet(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, ...) (*http.Response, error)
- func (c *Client) GetProjectForPublicSvcV1ProjectsProjectIdGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicInterfacesSvcV1InterfacesGet(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, ...) (*http.Response, error)
- func (c *Client) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetPublicTaskByIdSvcV1TasksTaskIdGet(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicTasksSvcV1TasksGet(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, ...) (*http.Response, error)
- func (c *Client) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (*http.Response, error)
- func (c *Client) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet(ctx context.Context, securityGroupId string, ...) (*http.Response, error)
- func (c *Client) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetSubnetByIdSvcV1SubnetsSubnetIdGet(ctx context.Context, subnetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetSubnetParamsSvcV1ParamsSubnetGet(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, ...) (*http.Response, error)
- func (c *Client) GetSubnetsSvcV1SubnetsGet(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, ...) (*http.Response, error)
- func (c *Client) GetVmByIdSvcV1VmsVmIdGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVmParamsSvcV1ParamsVmGet(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, ...) (*http.Response, error)
- func (c *Client) GetVmVncSvcV1VmsVmIdGetVncPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVmsSvcV1VmsGet(ctx context.Context, params *GetVmsSvcV1VmsGetParams, ...) (*http.Response, error)
- func (c *Client) ListBackupsSvcV1BackupsGet(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, ...) (*http.Response, error)
- func (c *Client) ListProtectionPlansSvcV1ProtectionPlansGet(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, ...) (*http.Response, error)
- func (c *Client) RebuildVmSvcV1VmsVmIdRebuildPost(ctx context.Context, vmId string, ...) (*http.Response, error)
- func (c *Client) RebuildVmSvcV1VmsVmIdRebuildPostWithBody(ctx context.Context, vmId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReimageDiskSvcV1DisksDiskIdReimagePost(ctx context.Context, diskId string, ...) (*http.Response, error)
- func (c *Client) ReimageDiskSvcV1DisksDiskIdReimagePostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RestoreBackupSvcV1BackupsBackupIdActionPost(ctx context.Context, backupId string, ...) (*http.Response, error)
- func (c *Client) RestoreBackupSvcV1BackupsBackupIdActionPostWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPost(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetVmPowerSvcV1VmsVmIdSetPowerPost(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateBackupSvcV1BackupsBackupIdPut(ctx context.Context, backupId string, ...) (*http.Response, error)
- func (c *Client) UpdateBackupSvcV1BackupsBackupIdPutWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateDiskSvcV1DisksDiskIdPut(ctx context.Context, diskId string, ...) (*http.Response, error)
- func (c *Client) UpdateDiskSvcV1DisksDiskIdPutWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut(ctx context.Context, floatingIpId string, ...) (*http.Response, error)
- func (c *Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody(ctx context.Context, floatingIpId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateImageSvcV1ImagesImageIdPut(ctx context.Context, imageId string, ...) (*http.Response, error)
- func (c *Client) UpdateImageSvcV1ImagesImageIdPutWithBody(ctx context.Context, imageId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMultipleVmStatesPublicSvcV1VmsPut(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut(ctx context.Context, protectionPlanId string, ...) (*http.Response, error)
- func (c *Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody(ctx context.Context, protectionPlanId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut(ctx context.Context, interfaceId string, ...) (*http.Response, error)
- func (c *Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody(ctx context.Context, interfaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut(ctx context.Context, securityGroupId string, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody(ctx context.Context, securityGroupId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPut(ctx context.Context, subnetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody(ctx context.Context, subnetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateVmSvcV1VmsVmIdPut(ctx context.Context, vmId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateVmSvcV1VmsVmIdPutWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet(ctx context.Context, projectId string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
- func (c *ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithResponse(ctx context.Context, diskId string, ...) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
- func (c *ClientWithResponses) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse, error)
- func (c *ClientWithResponses) CreateBackupSvcV1BackupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBackupSvcV1BackupsPostResponse, error)
- func (c *ClientWithResponses) CreateBackupSvcV1BackupsPostWithResponse(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, ...) (*CreateBackupSvcV1BackupsPostResponse, error)
- func (c *ClientWithResponses) CreateDiskSvcV1DisksPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDiskSvcV1DisksPostResponse, error)
- func (c *ClientWithResponses) CreateDiskSvcV1DisksPostWithResponse(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, ...) (*CreateDiskSvcV1DisksPostResponse, error)
- func (c *ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
- func (c *ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithResponse(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, ...) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
- func (c *ClientWithResponses) CreateImageSvcV1ImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateImageSvcV1ImagesPostResponse, error)
- func (c *ClientWithResponses) CreateImageSvcV1ImagesPostWithResponse(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, ...) (*CreateImageSvcV1ImagesPostResponse, error)
- func (c *ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
- func (c *ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithResponse(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, ...) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
- func (c *ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
- func (c *ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithResponse(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, ...) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
- func (c *ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
- func (c *ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse(ctx context.Context, ...) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
- func (c *ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
- func (c *ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse(ctx context.Context, ...) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
- func (c *ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, ...) (...)
- func (c *ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse(ctx context.Context, securityGroupId string, ...) (...)
- func (c *ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse(ctx context.Context, ...) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
- func (c *ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSubnetSvcV1SubnetsPostResponse, error)
- func (c *ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithResponse(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, ...) (*CreateSubnetSvcV1SubnetsPostResponse, error)
- func (c *ClientWithResponses) CreateVmSvcV1VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateVmSvcV1VmsPostResponse, error)
- func (c *ClientWithResponses) CreateVmSvcV1VmsPostWithResponse(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, ...) (*CreateVmSvcV1VmsPostResponse, error)
- func (c *ClientWithResponses) CreateVmV11SvcV11VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateVmV11SvcV11VmsPostResponse, error)
- func (c *ClientWithResponses) CreateVmV11SvcV11VmsPostWithResponse(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, ...) (*CreateVmV11SvcV11VmsPostResponse, error)
- func (c *ClientWithResponses) DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*DeleteBackupSvcV1BackupsBackupIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteDiskSvcV1DisksDiskIdDeleteWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*DeleteDiskSvcV1DisksDiskIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteImageSvcV1ImagesImageIdDeleteWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*DeleteImageSvcV1ImagesImageIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse, error)
- func (c *ClientWithResponses) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse, ...)
- func (c *ClientWithResponses) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse, error)
- func (c *ClientWithResponses) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (...)
- func (c *ClientWithResponses) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse(ctx context.Context, subnetId openapi_types.UUID, ...) (*DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
- func (c *ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
- func (c *ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
- func (c *ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
- func (c *ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithResponse(ctx context.Context, diskId string, ...) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
- func (c *ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
- func (c *ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
- func (c *ClientWithResponses) GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse(ctx context.Context, ...) (*GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse, error)
- func (c *ClientWithResponses) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse(ctx context.Context, ...) (*GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse, error)
- func (c *ClientWithResponses) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse, error)
- func (c *ClientWithResponses) GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse(ctx context.Context, ...) (*GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse, error)
- func (c *ClientWithResponses) GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, ...) (*GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse, error)
- func (c *ClientWithResponses) GetBackupSvcV1BackupsBackupIdGetWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*GetBackupSvcV1BackupsBackupIdGetResponse, error)
- func (c *ClientWithResponses) GetDiskByIdSvcV1DisksDiskIdGetWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*GetDiskByIdSvcV1DisksDiskIdGetResponse, error)
- func (c *ClientWithResponses) GetDiskParamsSvcV1ParamsDiskGetWithResponse(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, ...) (*GetDiskParamsSvcV1ParamsDiskGetResponse, error)
- func (c *ClientWithResponses) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse, error)
- func (c *ClientWithResponses) GetDiskTypesSvcV1DiskTypesGetWithResponse(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, ...) (*GetDiskTypesSvcV1DiskTypesGetResponse, error)
- func (c *ClientWithResponses) GetDisksSvcV1DisksGetWithResponse(ctx context.Context, params *GetDisksSvcV1DisksGetParams, ...) (*GetDisksSvcV1DisksGetResponse, error)
- func (c *ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, ...) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
- func (c *ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse(ctx context.Context, projectId string, ...) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
- func (c *ClientWithResponses) GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse, error)
- func (c *ClientWithResponses) GetFlavorParamsSvcV1ParamsFlavorGetWithResponse(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, ...) (*GetFlavorParamsSvcV1ParamsFlavorGetResponse, error)
- func (c *ClientWithResponses) GetFlavorsSvcV1FlavorsGetWithResponse(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, ...) (*GetFlavorsSvcV1FlavorsGetResponse, error)
- func (c *ClientWithResponses) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse, error)
- func (c *ClientWithResponses) GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, ...) (*GetFloatingIpFipsSvcV1FloatingIpsGetResponse, error)
- func (c *ClientWithResponses) GetImageByIdSvcV1ImagesImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageByIdSvcV1ImagesImageIdGetResponse, error)
- func (c *ClientWithResponses) GetImagesSvcV1ImagesGetWithResponse(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, ...) (*GetImagesSvcV1ImagesGetResponse, error)
- func (c *ClientWithResponses) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse, error)
- func (c *ClientWithResponses) GetNatGatewaysSvcV1NatGatewaysGetWithResponse(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, ...) (*GetNatGatewaysSvcV1NatGatewaysGetResponse, error)
- func (c *ClientWithResponses) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse, error)
- func (c *ClientWithResponses) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse, error)
- func (c *ClientWithResponses) GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, ...) (*GetPlacementGroupsSvcV1PlacementGroupsGetResponse, error)
- func (c *ClientWithResponses) GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectForPublicSvcV1ProjectsProjectIdGetResponse, error)
- func (c *ClientWithResponses) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse, error)
- func (c *ClientWithResponses) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse, error)
- func (c *ClientWithResponses) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse, error)
- func (c *ClientWithResponses) GetPublicInterfacesSvcV1InterfacesGetWithResponse(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, ...) (*GetPublicInterfacesSvcV1InterfacesGetResponse, error)
- func (c *ClientWithResponses) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse(ctx context.Context, ...) (*GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse, error)
- func (c *ClientWithResponses) GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetPublicTaskByIdSvcV1TasksTaskIdGetResponse, error)
- func (c *ClientWithResponses) GetPublicTasksSvcV1TasksGetWithResponse(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, ...) (*GetPublicTasksSvcV1TasksGetResponse, error)
- func (c *ClientWithResponses) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse, error)
- func (c *ClientWithResponses) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (...)
- func (c *ClientWithResponses) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse(ctx context.Context, securityGroupId string, ...) (...)
- func (c *ClientWithResponses) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse(ctx context.Context, ...) (*GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse, error)
- func (c *ClientWithResponses) GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse(ctx context.Context, subnetId openapi_types.UUID, ...) (*GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse, error)
- func (c *ClientWithResponses) GetSubnetParamsSvcV1ParamsSubnetGetWithResponse(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, ...) (*GetSubnetParamsSvcV1ParamsSubnetGetResponse, error)
- func (c *ClientWithResponses) GetSubnetsSvcV1SubnetsGetWithResponse(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, ...) (*GetSubnetsSvcV1SubnetsGetResponse, error)
- func (c *ClientWithResponses) GetVmByIdSvcV1VmsVmIdGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmByIdSvcV1VmsVmIdGetResponse, error)
- func (c *ClientWithResponses) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse, error)
- func (c *ClientWithResponses) GetVmParamsSvcV1ParamsVmGetWithResponse(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, ...) (*GetVmParamsSvcV1ParamsVmGetResponse, error)
- func (c *ClientWithResponses) GetVmVncSvcV1VmsVmIdGetVncPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmVncSvcV1VmsVmIdGetVncPostResponse, error)
- func (c *ClientWithResponses) GetVmsSvcV1VmsGetWithResponse(ctx context.Context, params *GetVmsSvcV1VmsGetParams, ...) (*GetVmsSvcV1VmsGetResponse, error)
- func (c *ClientWithResponses) ListBackupsSvcV1BackupsGetWithResponse(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, ...) (*ListBackupsSvcV1BackupsGetResponse, error)
- func (c *ClientWithResponses) ListProtectionPlansSvcV1ProtectionPlansGetWithResponse(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, ...) (*ListProtectionPlansSvcV1ProtectionPlansGetResponse, error)
- func (c *ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse(ctx context.Context, vmId string, contentType string, body io.Reader, ...) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
- func (c *ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithResponse(ctx context.Context, vmId string, ...) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
- func (c *ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
- func (c *ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse(ctx context.Context, diskId string, ...) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
- func (c *ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, ...) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
- func (c *ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse(ctx context.Context, backupId string, ...) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
- func (c *ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
- func (c *ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
- func (c *ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
- func (c *ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
- func (c *ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, ...) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
- func (c *ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithResponse(ctx context.Context, backupId string, ...) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
- func (c *ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, ...) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
- func (c *ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithResponse(ctx context.Context, diskId string, ...) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
- func (c *ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse(ctx context.Context, floatingIpId string, contentType string, body io.Reader, ...) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
- func (c *ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse(ctx context.Context, floatingIpId string, ...) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
- func (c *ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, ...) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
- func (c *ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithResponse(ctx context.Context, imageId string, ...) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
- func (c *ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
- func (c *ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse(ctx context.Context, ...) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
- func (c *ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, ...) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
- func (c *ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, ...) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
- func (c *ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, ...) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, ...)
- func (c *ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, ...) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, ...)
- func (c *ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse(ctx context.Context, protectionPlanId string, contentType string, ...) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
- func (c *ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse(ctx context.Context, protectionPlanId string, ...) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
- func (c *ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse(ctx context.Context, interfaceId string, contentType string, body io.Reader, ...) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
- func (c *ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse(ctx context.Context, interfaceId string, ...) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
- func (c *ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (...)
- func (c *ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, ...) (...)
- func (c *ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, ...) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
- func (c *ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse(ctx context.Context, securityGroupId string, ...) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
- func (c *ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse(ctx context.Context, subnetId openapi_types.UUID, contentType string, ...) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
- func (c *ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse(ctx context.Context, subnetId openapi_types.UUID, ...) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
- func (c *ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, ...) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
- func (c *ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithResponse(ctx context.Context, vmId openapi_types.UUID, ...) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
- func (c *ClientWithResponses) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse(ctx context.Context, projectId string, ...) (...)
- type ClientWithResponsesInterface
- type CreateBackupRequestSchema
- type CreateBackupResponseSchema
- type CreateBackupSvcV1BackupsPostJSONRequestBody
- type CreateBackupSvcV1BackupsPostResponse
- func (r CreateBackupSvcV1BackupsPostResponse) ContentType() string
- func (r CreateBackupSvcV1BackupsPostResponse) GetBody() []byte
- func (r CreateBackupSvcV1BackupsPostResponse) GetJSON201() *CreateBackupResponseSchema
- func (r CreateBackupSvcV1BackupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateBackupSvcV1BackupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateBackupSvcV1BackupsPostResponse) GetJSON422() *[]HTTPValidationError
- func (r CreateBackupSvcV1BackupsPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreateBackupSvcV1BackupsPostResponse) Status() string
- func (r CreateBackupSvcV1BackupsPostResponse) StatusCode() int
- type CreateDiskSvcV1DisksPostJSONRequestBody
- type CreateDiskSvcV1DisksPostResponse
- func (r CreateDiskSvcV1DisksPostResponse) ContentType() string
- func (r CreateDiskSvcV1DisksPostResponse) GetBody() []byte
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON201() *PublicDiskResponse
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON409() *[]DiskAlreadyExistsExceptionSchema
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
- func (r CreateDiskSvcV1DisksPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreateDiskSvcV1DisksPostResponse) Status() string
- func (r CreateDiskSvcV1DisksPostResponse) StatusCode() int
- type CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody
- type CreateFloatingIpSvcV1FloatingIpsPostResponse
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) ContentType() string
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetBody() []byte
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON201() *PublicFloatingIpResponse
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) Status() string
- func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) StatusCode() int
- type CreateImageSvcV1ImagesPostJSONRequestBody
- type CreateImageSvcV1ImagesPostResponse
- func (r CreateImageSvcV1ImagesPostResponse) ContentType() string
- func (r CreateImageSvcV1ImagesPostResponse) GetBody() []byte
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON201() *PublicImageResponse
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON409() *[]ImageAlreadyExistsExceptionSchema
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateImageSvcV1ImagesPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreateImageSvcV1ImagesPostResponse) Status() string
- func (r CreateImageSvcV1ImagesPostResponse) StatusCode() int
- type CreateInterfaceSvcV1InterfacesPostJSONRequestBody
- type CreateInterfaceSvcV1InterfacesPostResponse
- func (r CreateInterfaceSvcV1InterfacesPostResponse) ContentType() string
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetBody() []byte
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON201() *PublicInterfaceResponse
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreateInterfaceSvcV1InterfacesPostResponse) Status() string
- func (r CreateInterfaceSvcV1InterfacesPostResponse) StatusCode() int
- type CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody
- type CreateNatGatewaySvcV1NatGatewaysPostResponse
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) ContentType() string
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetBody() []byte
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON201() *PublicNATGatewayResponse
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON422() *[]ExternalNetHasNoAvailableIpsExceptionSchema
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) Status() string
- func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) StatusCode() int
- type CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody
- type CreatePlacementGroupSvcV1PlacementGroupsPostResponse
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) ContentType() string
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetBody() []byte
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON201() *PublicPlacementGroupResponse
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON409() *[]PlacementGroupAlreadyExistsExceptionSchema
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON422() *[]NoEnableAvailabilityZoneExceptionSchema
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) Status() string
- func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) StatusCode() int
- type CreateProtectionPlanRequestSchema
- type CreateProtectionPlanResponseSchema
- type CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody
- type CreateProtectionPlanSvcV1ProtectionPlansPostResponse
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) ContentType() string
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetBody() []byte
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON201() *CreateProtectionPlanResponseSchema
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON422() *HTTPValidationError
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) Status() string
- func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) StatusCode() int
- type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody
- type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) ContentType() string
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetBody() []byte
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON201() *PublicSecurityGroupRuleResponse
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) Status() string
- func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) StatusCode() int
- type CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody
- type CreateSecurityGroupSvcV1SecurityGroupsPostResponse
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) ContentType() string
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetBody() []byte
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON201() *PublicSecurityGroupResponse
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) Status() string
- func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) StatusCode() int
- type CreateSubnetSvcV1SubnetsPostJSONRequestBody
- type CreateSubnetSvcV1SubnetsPostResponse
- func (r CreateSubnetSvcV1SubnetsPostResponse) ContentType() string
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetBody() []byte
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON201() *PublicSubnetResponse
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON409() *[]DefaultSubnetExistsForVdcExceptionSchema
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON500() *[]ServiceUnavailableExceptionSchema
- func (r CreateSubnetSvcV1SubnetsPostResponse) Status() string
- func (r CreateSubnetSvcV1SubnetsPostResponse) StatusCode() int
- type CreateVmSvcV1VmsPostJSONRequestBody
- type CreateVmSvcV1VmsPostResponse
- func (r CreateVmSvcV1VmsPostResponse) ContentType() string
- func (r CreateVmSvcV1VmsPostResponse) GetBody() []byte
- func (r CreateVmSvcV1VmsPostResponse) GetJSON201() *[]PublicVmResponse
- func (r CreateVmSvcV1VmsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateVmSvcV1VmsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateVmSvcV1VmsPostResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
- func (r CreateVmSvcV1VmsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateVmSvcV1VmsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
- func (r CreateVmSvcV1VmsPostResponse) Status() string
- func (r CreateVmSvcV1VmsPostResponse) StatusCode() int
- type CreateVmV11SvcV11VmsPostJSONRequestBody
- type CreateVmV11SvcV11VmsPostResponse
- func (r CreateVmV11SvcV11VmsPostResponse) ContentType() string
- func (r CreateVmV11SvcV11VmsPostResponse) GetBody() []byte
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON201() *[]PublicVmResponse
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r CreateVmV11SvcV11VmsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
- func (r CreateVmV11SvcV11VmsPostResponse) Status() string
- func (r CreateVmV11SvcV11VmsPostResponse) StatusCode() int
- type CustomRequestValidationErrorSchema
- type DefaultSubnetExistsForVdcExceptionSchema
- type DeleteBackupSvcV1BackupsBackupIdDeleteResponse
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) ContentType() string
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetBody() []byte
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON422() *[]HTTPValidationError
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) Status() string
- func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) StatusCode() int
- type DeleteDiskSvcV1DisksDiskIdDeleteResponse
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) ContentType() string
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetBody() []byte
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON405() *[]DiskHasReferencesExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON422() *[]DiskCanNotBeDeletedWithMultiMountsExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) Status() string
- func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) StatusCode() int
- type DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) ContentType() string
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetBody() []byte
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON422() *[]FloatingIpAddressIsUsedByNATGatewayExceptionSchema
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) Status() string
- func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) StatusCode() int
- type DeleteImageSvcV1ImagesImageIdDeleteResponse
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) ContentType() string
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetBody() []byte
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON405() *[]ImageHasReferencesExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON422() *[]ImageCanNotBeDeletedFromCurrentStateExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) Status() string
- func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) StatusCode() int
- type DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) ContentType() string
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetBody() []byte
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON422() *[]VmStateBlocksInterfaceDeletionExceptionSchema
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) Status() string
- func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) StatusCode() int
- type DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) ContentType() string
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetBody() []byte
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON422() *[]WrongVdcExceptionSchema
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) Status() string
- func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) StatusCode() int
- type DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) ContentType() string
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetBody() []byte
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON422() *[]PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) Status() string
- func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) StatusCode() int
- type DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse
- func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) ContentType() string
- func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetBody() []byte
- func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) Status() string
- func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) StatusCode() int
- type DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) ContentType() string
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetBody() []byte
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) Status() string
- func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) StatusCode() int
- type DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) ContentType() string
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetBody() []byte
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON405() *[]SecurityGroupHasReferencesExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON422() *[]CanNotDeleteDefaultSecurityGroupExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) Status() string
- func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) StatusCode() int
- type DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) ContentType() string
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetBody() []byte
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON405() *[]SubnetHasReferencesExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON422() *[]SubnetCanNotBeDeletedFromCurrentStateExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) Status() string
- func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) StatusCode() int
- type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody
- type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) ContentType() string
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetBody() []byte
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) Status() string
- func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) StatusCode() int
- type DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody
- type DeleteVmSvcV1VmsVmIdDeleteResponse
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) ContentType() string
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetBody() []byte
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON404() *[]VmNotFoundExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON405() *[]VmHasReferencesExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON422() *[]VmCanNotBeDeletedFromCurrentStateExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON500() *[]ServiceUnavailableExceptionSchema
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) Status() string
- func (r DeleteVmSvcV1VmsVmIdDeleteResponse) StatusCode() int
- type DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody
- type DetachDiskSvcV1DisksDiskIdDetachPostResponse
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) ContentType() string
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetBody() []byte
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON200() *PublicDiskResponse
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) Status() string
- func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) StatusCode() int
- type DiskAlreadyExistsExceptionSchema
- type DiskAttachRequest
- type DiskCanNotBeDeletedWithMultiMountsExceptionSchema
- type DiskDetachRequest
- type DiskHasReferencesExceptionSchema
- type DiskNotFoundExceptionSchema
- type DiskParamTypes
- type DiskReimageRequest
- type DiskResource
- type DiskResourceDiskMount
- type DiskResourceDiskMountVm
- type DiskResourceDiskType
- type DiskResourceImage
- type DiskResourceServer
- type DiskRestore
- type DiskRestoreAvailabilityZone
- type DiskRestoreConfig
- type DiskRestoreDiskMount
- type DiskRestoreDiskType
- type DiskRestoreImage
- type DiskState
- type DiskTypeLiteSchema
- type DiskTypeMiniResponse
- type DiskTypeNotFoundExceptionSchema
- type EntityTypeWithUniqueNameWithinProject
- type EtherType
- type ExternalNetHasNoAvailableIpsExceptionSchema
- type ExternalNetNotFoundOnServerExceptionSchema
- type FipPriceEnum
- type FlavorEnum
- type FlavorLiteSchema
- type FlavorMiniResponse
- type FlavorNotFoundExceptionSchema
- type FlavorParamTypes
- type FlavorState
- type FloatingIpAddressIsUsedByNATGatewayExceptionSchema
- type FloatingIpMiniResponse
- type FloatingIpNotFoundExceptionSchema
- type FloatingIpState
- type FloatingIpUpdateRequest
- type FloatingIpUpdateRequestDescription0
- type FloatingIpUpdateRequestDescription1
- type FloatingIpUpdateRequestDetach0
- type FloatingIpUpdateRequestDetach1
- type FloatingIpUpdateRequestInterfaceId0
- type FloatingIpUpdateRequestInterfaceId1
- type FloatingIpUpdateRequestInterfaceName0
- type FloatingIpUpdateRequestInterfaceName1
- type FloatingIpUpdateRequestName0
- type FloatingIpUpdateRequestName1
- type FloatingIpUpdateRequestTagIds0
- type FloatingIpUpdateRequestTagIds1
- type FloatingIpUpdateRequestTagNames0
- type FloatingIpUpdateRequestTagNames1
- type FloatingIpUpdateRequestVmId0
- type FloatingIpUpdateRequestVmId1
- type FloatingIpUpdateRequest_Description
- func (t FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription0() (FloatingIpUpdateRequestDescription0, error)
- func (t FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription1() (FloatingIpUpdateRequestDescription1, error)
- func (t *FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription0(v FloatingIpUpdateRequestDescription0) error
- func (t *FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription1(v FloatingIpUpdateRequestDescription1) error
- func (t FloatingIpUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription0(v FloatingIpUpdateRequestDescription0) error
- func (t *FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription1(v FloatingIpUpdateRequestDescription1) error
- func (t *FloatingIpUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_Detach
- func (t FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach0() (FloatingIpUpdateRequestDetach0, error)
- func (t FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach1() (FloatingIpUpdateRequestDetach1, error)
- func (t *FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach0(v FloatingIpUpdateRequestDetach0) error
- func (t *FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach1(v FloatingIpUpdateRequestDetach1) error
- func (t FloatingIpUpdateRequest_Detach) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach0(v FloatingIpUpdateRequestDetach0) error
- func (t *FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach1(v FloatingIpUpdateRequestDetach1) error
- func (t *FloatingIpUpdateRequest_Detach) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_InterfaceId
- func (t FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId0() (FloatingIpUpdateRequestInterfaceId0, error)
- func (t FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId1() (FloatingIpUpdateRequestInterfaceId1, error)
- func (t *FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId0(v FloatingIpUpdateRequestInterfaceId0) error
- func (t *FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId1(v FloatingIpUpdateRequestInterfaceId1) error
- func (t FloatingIpUpdateRequest_InterfaceId) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId0(v FloatingIpUpdateRequestInterfaceId0) error
- func (t *FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId1(v FloatingIpUpdateRequestInterfaceId1) error
- func (t *FloatingIpUpdateRequest_InterfaceId) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_InterfaceName
- func (t FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName0() (FloatingIpUpdateRequestInterfaceName0, error)
- func (t FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName1() (FloatingIpUpdateRequestInterfaceName1, error)
- func (t *FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName0(v FloatingIpUpdateRequestInterfaceName0) error
- func (t *FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName1(v FloatingIpUpdateRequestInterfaceName1) error
- func (t FloatingIpUpdateRequest_InterfaceName) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName0(v FloatingIpUpdateRequestInterfaceName0) error
- func (t *FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName1(v FloatingIpUpdateRequestInterfaceName1) error
- func (t *FloatingIpUpdateRequest_InterfaceName) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_Name
- func (t FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName0() (FloatingIpUpdateRequestName0, error)
- func (t FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName1() (FloatingIpUpdateRequestName1, error)
- func (t *FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName0(v FloatingIpUpdateRequestName0) error
- func (t *FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName1(v FloatingIpUpdateRequestName1) error
- func (t FloatingIpUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName0(v FloatingIpUpdateRequestName0) error
- func (t *FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName1(v FloatingIpUpdateRequestName1) error
- func (t *FloatingIpUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_TagIds
- func (t FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds0() (FloatingIpUpdateRequestTagIds0, error)
- func (t FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds1() (FloatingIpUpdateRequestTagIds1, error)
- func (t *FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds0(v FloatingIpUpdateRequestTagIds0) error
- func (t *FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds1(v FloatingIpUpdateRequestTagIds1) error
- func (t FloatingIpUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds0(v FloatingIpUpdateRequestTagIds0) error
- func (t *FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds1(v FloatingIpUpdateRequestTagIds1) error
- func (t *FloatingIpUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_TagNames
- func (t FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames0() (FloatingIpUpdateRequestTagNames0, error)
- func (t FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames1() (FloatingIpUpdateRequestTagNames1, error)
- func (t *FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames0(v FloatingIpUpdateRequestTagNames0) error
- func (t *FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames1(v FloatingIpUpdateRequestTagNames1) error
- func (t FloatingIpUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames0(v FloatingIpUpdateRequestTagNames0) error
- func (t *FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames1(v FloatingIpUpdateRequestTagNames1) error
- func (t *FloatingIpUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
- type FloatingIpUpdateRequest_VmId
- func (t FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId0() (FloatingIpUpdateRequestVmId0, error)
- func (t FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId1() (FloatingIpUpdateRequestVmId1, error)
- func (t *FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId0(v FloatingIpUpdateRequestVmId0) error
- func (t *FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId1(v FloatingIpUpdateRequestVmId1) error
- func (t FloatingIpUpdateRequest_VmId) MarshalJSON() ([]byte, error)
- func (t *FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId0(v FloatingIpUpdateRequestVmId0) error
- func (t *FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId1(v FloatingIpUpdateRequestVmId1) error
- func (t *FloatingIpUpdateRequest_VmId) UnmarshalJSON(b []byte) error
- type FloatingIpWithNameMiniResponse
- type FreeTierVmResponse
- type FreetierVmCreateRequest
- type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody
- type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) ContentType() string
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetBody() []byte
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON500() *[]APIExceptionSchema
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) Status() string
- func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) StatusCode() int
- type GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams
- type GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) ContentType() string
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetBody() []byte
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON200() *[]PublicAvailabilityZoneResponse
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) Status() string
- func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) StatusCode() int
- type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams
- type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) ContentType() string
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetBody() []byte
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON200() *[]PublicAvailabilityZoneSettingsResponse
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) Status() string
- func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) StatusCode() int
- type GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) ContentType() string
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetBody() []byte
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON200() *PublicAvailabilityZoneResponse
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) Status() string
- func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) StatusCode() int
- type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams
- type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) ContentType() string
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetBody() []byte
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON200() *PaginationResponseIPv4Address
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON422() *[]ProjectHasNoVpcExceptionSchema
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) Status() string
- func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) StatusCode() int
- type GetAvailableSubnetsSvcV1AvailableSubnetsGetParams
- type GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) ContentType() string
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetBody() []byte
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON200() *PaginationResponseIPv4Network
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON422() *[]ProjectHasNoVpcExceptionSchema
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) Status() string
- func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) StatusCode() int
- type GetBackupResponseSchema
- type GetBackupSvcV1BackupsBackupIdGetResponse
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) ContentType() string
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetBody() []byte
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON200() *GetBackupResponseSchema
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON422() *[]HTTPValidationError
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) Status() string
- func (r GetBackupSvcV1BackupsBackupIdGetResponse) StatusCode() int
- type GetDiskByIdSvcV1DisksDiskIdGetResponse
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) ContentType() string
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetBody() []byte
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON200() *PublicDiskResponse
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) Status() string
- func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) StatusCode() int
- type GetDiskParamsSvcV1ParamsDiskGetParams
- type GetDiskParamsSvcV1ParamsDiskGetResponse
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) ContentType() string
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetBody() []byte
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON200() *ParamListResponse
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) Status() string
- func (r GetDiskParamsSvcV1ParamsDiskGetResponse) StatusCode() int
- type GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) ContentType() string
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetBody() []byte
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON200() *PublicDiskTypeResponse
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON404() *[]DiskTypeNotFoundExceptionSchema
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) Status() string
- func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) StatusCode() int
- type GetDiskTypesSvcV1DiskTypesGetParams
- type GetDiskTypesSvcV1DiskTypesGetResponse
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) ContentType() string
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetBody() []byte
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON200() *[]PublicDiskTypeResponse
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) Status() string
- func (r GetDiskTypesSvcV1DiskTypesGetResponse) StatusCode() int
- type GetDisksSvcV1DisksGetParams
- type GetDisksSvcV1DisksGetParamsOrderBy
- type GetDisksSvcV1DisksGetResponse
- func (r GetDisksSvcV1DisksGetResponse) ContentType() string
- func (r GetDisksSvcV1DisksGetResponse) GetBody() []byte
- func (r GetDisksSvcV1DisksGetResponse) GetJSON200() *PaginationResponsePublicDiskResponse
- func (r GetDisksSvcV1DisksGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetDisksSvcV1DisksGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetDisksSvcV1DisksGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetDisksSvcV1DisksGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetDisksSvcV1DisksGetResponse) Status() string
- func (r GetDisksSvcV1DisksGetResponse) StatusCode() int
- type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody
- type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) ContentType() string
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetBody() []byte
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON200() *ProjectPriceResponse
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON422() *[]UnsupportedFloatingIpActionExceptionSchema
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) Status() string
- func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) StatusCode() int
- type GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) ContentType() string
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetBody() []byte
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON200() *PublicFlavorResponse
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON404() *[]FlavorNotFoundExceptionSchema
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) Status() string
- func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) StatusCode() int
- type GetFlavorParamsSvcV1ParamsFlavorGetParams
- type GetFlavorParamsSvcV1ParamsFlavorGetResponse
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) ContentType() string
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetBody() []byte
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON200() *ParamListResponse
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) Status() string
- func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) StatusCode() int
- type GetFlavorsSvcV1FlavorsGetParams
- type GetFlavorsSvcV1FlavorsGetParamsOrderBy
- type GetFlavorsSvcV1FlavorsGetResponse
- func (r GetFlavorsSvcV1FlavorsGetResponse) ContentType() string
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetBody() []byte
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON200() *PaginationResponsePublicFlavorResponse
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetFlavorsSvcV1FlavorsGetResponse) Status() string
- func (r GetFlavorsSvcV1FlavorsGetResponse) StatusCode() int
- type GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) ContentType() string
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetBody() []byte
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON200() *PublicFloatingIpResponse
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) Status() string
- func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) StatusCode() int
- type GetFloatingIpFipsSvcV1FloatingIpsGetParams
- type GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy
- type GetFloatingIpFipsSvcV1FloatingIpsGetResponse
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) ContentType() string
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetBody() []byte
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON200() *PaginationResponsePublicFloatingIpResponse
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON422() *[]OutOfBoundsExceptionSchema
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) Status() string
- func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) StatusCode() int
- type GetImageByIdSvcV1ImagesImageIdGetResponse
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) ContentType() string
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetBody() []byte
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON200() *PublicImageResponse
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) Status() string
- func (r GetImageByIdSvcV1ImagesImageIdGetResponse) StatusCode() int
- type GetImagesSvcV1ImagesGetParams
- type GetImagesSvcV1ImagesGetParamsOrderBy
- type GetImagesSvcV1ImagesGetResponse
- func (r GetImagesSvcV1ImagesGetResponse) ContentType() string
- func (r GetImagesSvcV1ImagesGetResponse) GetBody() []byte
- func (r GetImagesSvcV1ImagesGetResponse) GetJSON200() *PaginationResponsePublicImageResponse
- func (r GetImagesSvcV1ImagesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetImagesSvcV1ImagesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetImagesSvcV1ImagesGetResponse) GetJSON422() *[]WrongAvailabilityZoneForImageExceptionSchema
- func (r GetImagesSvcV1ImagesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetImagesSvcV1ImagesGetResponse) Status() string
- func (r GetImagesSvcV1ImagesGetResponse) StatusCode() int
- type GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) ContentType() string
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetBody() []byte
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON200() *PublicNATGatewayResponse
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON422() *[]WrongVdcExceptionSchema
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) Status() string
- func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) StatusCode() int
- type GetNatGatewaysSvcV1NatGatewaysGetParams
- type GetNatGatewaysSvcV1NatGatewaysGetResponse
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) ContentType() string
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetBody() []byte
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON200() *PaginationResponsePublicNATGatewayResponse
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) Status() string
- func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) StatusCode() int
- type GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) ContentType() string
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetBody() []byte
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON200() *BaseOrganizationResponse
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON404() *[]OrganizationNotFoundExceptionSchema
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) Status() string
- func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) StatusCode() int
- type GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) ContentType() string
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetBody() []byte
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON200() *PublicPlacementGroupResponse
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) Status() string
- func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) StatusCode() int
- type GetPlacementGroupsSvcV1PlacementGroupsGetParams
- type GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy
- type GetPlacementGroupsSvcV1PlacementGroupsGetResponse
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) ContentType() string
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetBody() []byte
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON200() *PaginationResponsePublicPlacementGroupResponse
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) Status() string
- func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) StatusCode() int
- type GetProjectForPublicSvcV1ProjectsProjectIdGetResponse
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) ContentType() string
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetBody() []byte
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON200() *BaseProjectResponse
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) Status() string
- func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) StatusCode() int
- type GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) ContentType() string
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetBody() []byte
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON200() *ProjectPermissionsResponse
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) Status() string
- func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) StatusCode() int
- type GetProtectionPlanResponseSchema
- type GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) ContentType() string
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetBody() []byte
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON200() *GetProtectionPlanResponseSchema
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) Status() string
- func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) StatusCode() int
- type GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) ContentType() string
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetBody() []byte
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON200() *PublicInterfaceResponse
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) Status() string
- func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) StatusCode() int
- type GetPublicInterfacesSvcV1InterfacesGetParams
- type GetPublicInterfacesSvcV1InterfacesGetResponse
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) ContentType() string
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetBody() []byte
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON200() *PaginationResponsePublicInterfaceResponse
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) Status() string
- func (r GetPublicInterfacesSvcV1InterfacesGetResponse) StatusCode() int
- type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams
- type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) ContentType() string
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetBody() []byte
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON201() *PublicProjectEntityUsageResponse
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) Status() string
- func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) StatusCode() int
- type GetPublicTaskByIdSvcV1TasksTaskIdGetResponse
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) ContentType() string
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetBody() []byte
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON200() *PublicTaskResponse
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON404() *[]TaskNotFoundExceptionSchema
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) Status() string
- func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) StatusCode() int
- type GetPublicTasksSvcV1TasksGetParams
- type GetPublicTasksSvcV1TasksGetResponse
- func (r GetPublicTasksSvcV1TasksGetResponse) ContentType() string
- func (r GetPublicTasksSvcV1TasksGetResponse) GetBody() []byte
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON200() *PaginationResponsePublicTaskResponse
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetPublicTasksSvcV1TasksGetResponse) Status() string
- func (r GetPublicTasksSvcV1TasksGetResponse) StatusCode() int
- type GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) ContentType() string
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetBody() []byte
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON200() *PublicSecurityGroupResponse
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) Status() string
- func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) StatusCode() int
- type GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) ContentType() string
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetBody() []byte
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON200() *PublicSecurityGroupRuleResponse
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) Status() string
- func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) StatusCode() int
- type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams
- type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) ContentType() string
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetBody() []byte
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON200() *PaginationResponsePublicSecurityGroupRuleResponse
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) Status() string
- func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) StatusCode() int
- type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams
- type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy
- type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) ContentType() string
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetBody() []byte
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON200() *PaginationResponsePublicSecurityGroupResponse
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) Status() string
- func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) StatusCode() int
- type GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) ContentType() string
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetBody() []byte
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON200() *PublicSubnetResponse
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) Status() string
- func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) StatusCode() int
- type GetSubnetParamsSvcV1ParamsSubnetGetParams
- type GetSubnetParamsSvcV1ParamsSubnetGetResponse
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) ContentType() string
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetBody() []byte
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON200() *ParamListResponse
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) Status() string
- func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) StatusCode() int
- type GetSubnetsSvcV1SubnetsGetParams
- type GetSubnetsSvcV1SubnetsGetParamsOrderBy
- type GetSubnetsSvcV1SubnetsGetResponse
- func (r GetSubnetsSvcV1SubnetsGetResponse) ContentType() string
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetBody() []byte
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON200() *PaginationResponsePublicSubnetListItemResponse
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetSubnetsSvcV1SubnetsGetResponse) Status() string
- func (r GetSubnetsSvcV1SubnetsGetResponse) StatusCode() int
- type GetVmByIdSvcV1VmsVmIdGetResponse
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) ContentType() string
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetBody() []byte
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON200() *PublicVmResponse
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON404() *[]VmNotFoundExceptionSchema
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) Status() string
- func (r GetVmByIdSvcV1VmsVmIdGetResponse) StatusCode() int
- type GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) ContentType() string
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetBody() []byte
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON200() *ResourceUsageResponse
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON422() *HTTPValidationError
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) Status() string
- func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) StatusCode() int
- type GetVmParamsSvcV1ParamsVmGetParams
- type GetVmParamsSvcV1ParamsVmGetResponse
- func (r GetVmParamsSvcV1ParamsVmGetResponse) ContentType() string
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetBody() []byte
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON200() *ParamListResponse
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetVmParamsSvcV1ParamsVmGetResponse) Status() string
- func (r GetVmParamsSvcV1ParamsVmGetResponse) StatusCode() int
- type GetVmVncSvcV1VmsVmIdGetVncPostResponse
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) ContentType() string
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetBody() []byte
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) Status() string
- func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) StatusCode() int
- type GetVmsSvcV1VmsGetParams
- type GetVmsSvcV1VmsGetResponse
- func (r GetVmsSvcV1VmsGetResponse) ContentType() string
- func (r GetVmsSvcV1VmsGetResponse) GetBody() []byte
- func (r GetVmsSvcV1VmsGetResponse) GetJSON200() *PaginationResponsePublicVmResponseItem
- func (r GetVmsSvcV1VmsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r GetVmsSvcV1VmsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r GetVmsSvcV1VmsGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
- func (r GetVmsSvcV1VmsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r GetVmsSvcV1VmsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r GetVmsSvcV1VmsGetResponse) Status() string
- func (r GetVmsSvcV1VmsGetResponse) StatusCode() int
- type HTTPValidationError
- type HttpRequestDoer
- type ImageAlreadyExistsExceptionSchema
- type ImageCanNotBeDeletedFromCurrentStateExceptionSchema
- type ImageHasReferencesExceptionSchema
- type ImageMetadataCreateRequest
- type ImageMiniResponse
- type ImageNotFoundExceptionSchema
- type ImageType
- type InterfaceAlreadyConnectedAnotherFloatingIpSchema
- type InterfaceExtendedLiteSchema
- type InterfaceFloatingIpLiteSchema
- type InterfaceMiniResponse
- type InterfaceNotFoundExceptionSchema
- type InterfaceState
- type InterfaceType
- type InterfaceTypeForVmCreationEnum
- type InterfaceUpdateRequest
- type InterfaceUpdateRequestAllowedAddressPairs0
- type InterfaceUpdateRequestAllowedAddressPairs1
- type InterfaceUpdateRequestDescription0
- type InterfaceUpdateRequestDescription1
- type InterfaceUpdateRequestName0
- type InterfaceUpdateRequestName1
- type InterfaceUpdateRequestSecurityGroups0
- type InterfaceUpdateRequestSecurityGroups1
- type InterfaceUpdateRequestSecurityGroupsNames0
- type InterfaceUpdateRequestSecurityGroupsNames1
- type InterfaceUpdateRequest_AllowedAddressPairs
- func (t InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs0() (InterfaceUpdateRequestAllowedAddressPairs0, error)
- func (t InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs1() (InterfaceUpdateRequestAllowedAddressPairs1, error)
- func (t *InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs0(v InterfaceUpdateRequestAllowedAddressPairs0) error
- func (t *InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs1(v InterfaceUpdateRequestAllowedAddressPairs1) error
- func (t InterfaceUpdateRequest_AllowedAddressPairs) MarshalJSON() ([]byte, error)
- func (t *InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs0(v InterfaceUpdateRequestAllowedAddressPairs0) error
- func (t *InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs1(v InterfaceUpdateRequestAllowedAddressPairs1) error
- func (t *InterfaceUpdateRequest_AllowedAddressPairs) UnmarshalJSON(b []byte) error
- type InterfaceUpdateRequest_Description
- func (t InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription0() (InterfaceUpdateRequestDescription0, error)
- func (t InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription1() (InterfaceUpdateRequestDescription1, error)
- func (t *InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription0(v InterfaceUpdateRequestDescription0) error
- func (t *InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription1(v InterfaceUpdateRequestDescription1) error
- func (t InterfaceUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription0(v InterfaceUpdateRequestDescription0) error
- func (t *InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription1(v InterfaceUpdateRequestDescription1) error
- func (t *InterfaceUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type InterfaceUpdateRequest_Name
- func (t InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName0() (InterfaceUpdateRequestName0, error)
- func (t InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName1() (InterfaceUpdateRequestName1, error)
- func (t *InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName0(v InterfaceUpdateRequestName0) error
- func (t *InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName1(v InterfaceUpdateRequestName1) error
- func (t InterfaceUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName0(v InterfaceUpdateRequestName0) error
- func (t *InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName1(v InterfaceUpdateRequestName1) error
- func (t *InterfaceUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type InterfaceUpdateRequest_SecurityGroups
- func (t InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups0() (InterfaceUpdateRequestSecurityGroups0, error)
- func (t InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups1() (InterfaceUpdateRequestSecurityGroups1, error)
- func (t *InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups0(v InterfaceUpdateRequestSecurityGroups0) error
- func (t *InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups1(v InterfaceUpdateRequestSecurityGroups1) error
- func (t InterfaceUpdateRequest_SecurityGroups) MarshalJSON() ([]byte, error)
- func (t *InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups0(v InterfaceUpdateRequestSecurityGroups0) error
- func (t *InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups1(v InterfaceUpdateRequestSecurityGroups1) error
- func (t *InterfaceUpdateRequest_SecurityGroups) UnmarshalJSON(b []byte) error
- type InterfaceUpdateRequest_SecurityGroupsNames
- func (t InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames0() (InterfaceUpdateRequestSecurityGroupsNames0, error)
- func (t InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames1() (InterfaceUpdateRequestSecurityGroupsNames1, error)
- func (t *InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames0(v InterfaceUpdateRequestSecurityGroupsNames0) error
- func (t *InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames1(v InterfaceUpdateRequestSecurityGroupsNames1) error
- func (t InterfaceUpdateRequest_SecurityGroupsNames) MarshalJSON() ([]byte, error)
- func (t *InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames0(v InterfaceUpdateRequestSecurityGroupsNames0) error
- func (t *InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames1(v InterfaceUpdateRequestSecurityGroupsNames1) error
- func (t *InterfaceUpdateRequest_SecurityGroupsNames) UnmarshalJSON(b []byte) error
- type IpProtocol
- type ListBackupsResponseSchema
- type ListBackupsSvcV1BackupsGetParams
- type ListBackupsSvcV1BackupsGetParamsOrderBy
- type ListBackupsSvcV1BackupsGetResponse
- func (r ListBackupsSvcV1BackupsGetResponse) ContentType() string
- func (r ListBackupsSvcV1BackupsGetResponse) GetBody() []byte
- func (r ListBackupsSvcV1BackupsGetResponse) GetJSON200() *PublicBackupResponse
- func (r ListBackupsSvcV1BackupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r ListBackupsSvcV1BackupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r ListBackupsSvcV1BackupsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r ListBackupsSvcV1BackupsGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r ListBackupsSvcV1BackupsGetResponse) Status() string
- func (r ListBackupsSvcV1BackupsGetResponse) StatusCode() int
- type ListProtectionPlansResponseSchema
- type ListProtectionPlansSvcV1ProtectionPlansGetParams
- type ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy
- type ListProtectionPlansSvcV1ProtectionPlansGetResponse
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) ContentType() string
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetBody() []byte
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON200() *ListProtectionPlansResponseSchema
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON422() *HTTPValidationError
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) Status() string
- func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) StatusCode() int
- type MetaType
- type MetadataField
- type MiniImageMetadataResponse
- type NATGatewayMiniResponse
- type NATGatewayNotFoundExceptionSchema
- type NATGatewayState
- type NATGatewayType
- type NATGatewayUpdateRequest
- type NATGatewayUpdateRequestDescription0
- type NATGatewayUpdateRequestDescription1
- type NATGatewayUpdateRequestName0
- type NATGatewayUpdateRequestName1
- type NATGatewayUpdateRequest_Description
- func (t NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription0() (NATGatewayUpdateRequestDescription0, error)
- func (t NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription1() (NATGatewayUpdateRequestDescription1, error)
- func (t *NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription0(v NATGatewayUpdateRequestDescription0) error
- func (t *NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription1(v NATGatewayUpdateRequestDescription1) error
- func (t NATGatewayUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription0(v NATGatewayUpdateRequestDescription0) error
- func (t *NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription1(v NATGatewayUpdateRequestDescription1) error
- func (t *NATGatewayUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type NATGatewayUpdateRequest_Name
- func (t NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName0() (NATGatewayUpdateRequestName0, error)
- func (t NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName1() (NATGatewayUpdateRequestName1, error)
- func (t *NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName0(v NATGatewayUpdateRequestName0) error
- func (t *NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName1(v NATGatewayUpdateRequestName1) error
- func (t NATGatewayUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName0(v NATGatewayUpdateRequestName0) error
- func (t *NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName1(v NATGatewayUpdateRequestName1) error
- func (t *NATGatewayUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type NoEnableAvailabilityZoneExceptionSchema
- type OrganizationLimitMiniResponse
- type OrganizationLimitTypeName
- type OrganizationNotFoundExceptionSchema
- type OutOfBoundsExceptionSchema
- type PaginationResponseIPv4Address
- type PaginationResponseIPv4Network
- type PaginationResponsePublicDiskResponse
- type PaginationResponsePublicFlavorResponse
- type PaginationResponsePublicFloatingIpResponse
- type PaginationResponsePublicImageResponse
- type PaginationResponsePublicInterfaceResponse
- type PaginationResponsePublicNATGatewayResponse
- type PaginationResponsePublicPlacementGroupResponse
- type PaginationResponsePublicSecurityGroupResponse
- type PaginationResponsePublicSecurityGroupRuleResponse
- type PaginationResponsePublicSubnetListItemResponse
- type PaginationResponsePublicTaskResponse
- type PaginationResponsePublicVmResponseItem
- type ParamListResponse
- type ParamResponse
- type PciDisks
- type PciGpus
- type PciNetworkInterfaces
- type PciSerialPort
- type PciTotal
- type PlacementGroupAlreadyExistsExceptionSchema
- type PlacementGroupBadCreationParamsExceptionSchema
- type PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema
- type PlacementGroupLiteSchema
- type PlacementGroupMiniResponse
- type PlacementGroupNotFoundExceptionSchema
- type PlacementGroupPolicyEnum
- type PlacementGroupState
- type PlacementGroupUpdateRequest
- type PlacementGroupUpdateRequestDescription0
- type PlacementGroupUpdateRequestDescription1
- type PlacementGroupUpdateRequestName0
- type PlacementGroupUpdateRequestName1
- type PlacementGroupUpdateRequestTagIds0
- type PlacementGroupUpdateRequestTagIds1
- type PlacementGroupUpdateRequestTagNames0
- type PlacementGroupUpdateRequestTagNames1
- type PlacementGroupUpdateRequest_Description
- func (t PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription0() (PlacementGroupUpdateRequestDescription0, error)
- func (t PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription1() (PlacementGroupUpdateRequestDescription1, error)
- func (t *PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription0(v PlacementGroupUpdateRequestDescription0) error
- func (t *PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription1(v PlacementGroupUpdateRequestDescription1) error
- func (t PlacementGroupUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription0(v PlacementGroupUpdateRequestDescription0) error
- func (t *PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription1(v PlacementGroupUpdateRequestDescription1) error
- func (t *PlacementGroupUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type PlacementGroupUpdateRequest_Name
- func (t PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName0() (PlacementGroupUpdateRequestName0, error)
- func (t PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName1() (PlacementGroupUpdateRequestName1, error)
- func (t *PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName0(v PlacementGroupUpdateRequestName0) error
- func (t *PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName1(v PlacementGroupUpdateRequestName1) error
- func (t PlacementGroupUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName0(v PlacementGroupUpdateRequestName0) error
- func (t *PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName1(v PlacementGroupUpdateRequestName1) error
- func (t *PlacementGroupUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type PlacementGroupUpdateRequest_TagIds
- func (t PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds0() (PlacementGroupUpdateRequestTagIds0, error)
- func (t PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds1() (PlacementGroupUpdateRequestTagIds1, error)
- func (t *PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds0(v PlacementGroupUpdateRequestTagIds0) error
- func (t *PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds1(v PlacementGroupUpdateRequestTagIds1) error
- func (t PlacementGroupUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
- func (t *PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds0(v PlacementGroupUpdateRequestTagIds0) error
- func (t *PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds1(v PlacementGroupUpdateRequestTagIds1) error
- func (t *PlacementGroupUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
- type PlacementGroupUpdateRequest_TagNames
- func (t PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames0() (PlacementGroupUpdateRequestTagNames0, error)
- func (t PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames1() (PlacementGroupUpdateRequestTagNames1, error)
- func (t *PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames0(v PlacementGroupUpdateRequestTagNames0) error
- func (t *PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames1(v PlacementGroupUpdateRequestTagNames1) error
- func (t PlacementGroupUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
- func (t *PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames0(v PlacementGroupUpdateRequestTagNames0) error
- func (t *PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames1(v PlacementGroupUpdateRequestTagNames1) error
- func (t *PlacementGroupUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
- type ProjectEntityUsageSection
- type ProjectHasNoVpcExceptionSchema
- type ProjectLiteSchema
- type ProjectMiniResponse
- type ProjectNotFoundExceptionSchema
- type ProjectPermissionsResponse
- type ProjectPriceRequest
- type ProjectPriceResponse
- type ProjectState
- type ProjectValidateNameResponse
- type ProjectValidateNameResponseSection
- type ProtectionPlanLiteSchema
- type ProtectionPlanResourceRequestSchema
- type ProtectionPlanResourceResponseSchema
- type ProtectionPlanScheduleRequestSchema
- type ProtectionPlanScheduleResponseSchema
- type ProtectionPlanSchema
- type ProtectionPlanState
- type PublicAvailabilityZoneDiskTypeResponse
- type PublicAvailabilityZoneFlavorResponse
- type PublicAvailabilityZoneImageCreateRequest
- type PublicAvailabilityZoneImageResponse
- type PublicAvailabilityZoneImageUpdateRequest
- type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0
- type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1
- type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0
- type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1
- type PublicAvailabilityZoneImageUpdateRequestEnabled0
- type PublicAvailabilityZoneImageUpdateRequestEnabled1
- type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0, error)
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) error
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MarshalJSON() ([]byte, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) UnmarshalJSON(b []byte) error
- type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0, error)
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) error
- func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MarshalJSON() ([]byte, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) UnmarshalJSON(b []byte) error
- type PublicAvailabilityZoneImageUpdateRequest_Enabled
- func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled0() (PublicAvailabilityZoneImageUpdateRequestEnabled0, error)
- func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled1() (PublicAvailabilityZoneImageUpdateRequestEnabled1, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled0(v PublicAvailabilityZoneImageUpdateRequestEnabled0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled1(v PublicAvailabilityZoneImageUpdateRequestEnabled1) error
- func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) MarshalJSON() ([]byte, error)
- func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled0(v PublicAvailabilityZoneImageUpdateRequestEnabled0) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled1(v PublicAvailabilityZoneImageUpdateRequestEnabled1) error
- func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) UnmarshalJSON(b []byte) error
- type PublicAvailabilityZonePlacementGroupResponse
- type PublicAvailabilityZoneResponse
- type PublicAvailabilityZoneSettings
- type PublicAvailabilityZoneSettingsResponse
- type PublicBackupResponse
- type PublicCreateBackupRequest
- type PublicDiskCreateRequest
- type PublicDiskResponse
- type PublicDiskTypeResponse
- type PublicDiskUpdateRequest
- type PublicFlavorResponse
- type PublicFlavorTypeResponse
- type PublicFloatingIpCreateRequest
- type PublicFloatingIpResponse
- type PublicImageCreateRequest
- type PublicImageResponse
- type PublicImageUpdateRequest
- type PublicImageUpdateRequestAvailabilityZones0
- type PublicImageUpdateRequestAvailabilityZones1
- type PublicImageUpdateRequestDescription0
- type PublicImageUpdateRequestDescription1
- type PublicImageUpdateRequestDisplayName0
- type PublicImageUpdateRequestDisplayName1
- type PublicImageUpdateRequestIcon0
- type PublicImageUpdateRequestIcon1
- type PublicImageUpdateRequestMinCpu0
- type PublicImageUpdateRequestMinCpu1
- type PublicImageUpdateRequestMinDisk0
- type PublicImageUpdateRequestMinDisk1
- type PublicImageUpdateRequestMinGpu0
- type PublicImageUpdateRequestMinGpu1
- type PublicImageUpdateRequestMinRam0
- type PublicImageUpdateRequestMinRam1
- type PublicImageUpdateRequestName0
- type PublicImageUpdateRequestName1
- type PublicImageUpdateRequestUserDataTemplate0
- type PublicImageUpdateRequestUserDataTemplate1
- type PublicImageUpdateRequest_AvailabilityZones
- func (t PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones0() (PublicImageUpdateRequestAvailabilityZones0, error)
- func (t PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones1() (PublicImageUpdateRequestAvailabilityZones1, error)
- func (t *PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones0(v PublicImageUpdateRequestAvailabilityZones0) error
- func (t *PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones1(v PublicImageUpdateRequestAvailabilityZones1) error
- func (t PublicImageUpdateRequest_AvailabilityZones) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones0(v PublicImageUpdateRequestAvailabilityZones0) error
- func (t *PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones1(v PublicImageUpdateRequestAvailabilityZones1) error
- func (t *PublicImageUpdateRequest_AvailabilityZones) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_Description
- func (t PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription0() (PublicImageUpdateRequestDescription0, error)
- func (t PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription1() (PublicImageUpdateRequestDescription1, error)
- func (t *PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription0(v PublicImageUpdateRequestDescription0) error
- func (t *PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription1(v PublicImageUpdateRequestDescription1) error
- func (t PublicImageUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription0(v PublicImageUpdateRequestDescription0) error
- func (t *PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription1(v PublicImageUpdateRequestDescription1) error
- func (t *PublicImageUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_DisplayName
- func (t PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName0() (PublicImageUpdateRequestDisplayName0, error)
- func (t PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName1() (PublicImageUpdateRequestDisplayName1, error)
- func (t *PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName0(v PublicImageUpdateRequestDisplayName0) error
- func (t *PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName1(v PublicImageUpdateRequestDisplayName1) error
- func (t PublicImageUpdateRequest_DisplayName) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName0(v PublicImageUpdateRequestDisplayName0) error
- func (t *PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName1(v PublicImageUpdateRequestDisplayName1) error
- func (t *PublicImageUpdateRequest_DisplayName) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_Icon
- func (t PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon0() (PublicImageUpdateRequestIcon0, error)
- func (t PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon1() (PublicImageUpdateRequestIcon1, error)
- func (t *PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon0(v PublicImageUpdateRequestIcon0) error
- func (t *PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon1(v PublicImageUpdateRequestIcon1) error
- func (t PublicImageUpdateRequest_Icon) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon0(v PublicImageUpdateRequestIcon0) error
- func (t *PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon1(v PublicImageUpdateRequestIcon1) error
- func (t *PublicImageUpdateRequest_Icon) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_MinCpu
- func (t PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu0() (PublicImageUpdateRequestMinCpu0, error)
- func (t PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu1() (PublicImageUpdateRequestMinCpu1, error)
- func (t *PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu0(v PublicImageUpdateRequestMinCpu0) error
- func (t *PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu1(v PublicImageUpdateRequestMinCpu1) error
- func (t PublicImageUpdateRequest_MinCpu) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu0(v PublicImageUpdateRequestMinCpu0) error
- func (t *PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu1(v PublicImageUpdateRequestMinCpu1) error
- func (t *PublicImageUpdateRequest_MinCpu) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_MinDisk
- func (t PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk0() (PublicImageUpdateRequestMinDisk0, error)
- func (t PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk1() (PublicImageUpdateRequestMinDisk1, error)
- func (t *PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk0(v PublicImageUpdateRequestMinDisk0) error
- func (t *PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk1(v PublicImageUpdateRequestMinDisk1) error
- func (t PublicImageUpdateRequest_MinDisk) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk0(v PublicImageUpdateRequestMinDisk0) error
- func (t *PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk1(v PublicImageUpdateRequestMinDisk1) error
- func (t *PublicImageUpdateRequest_MinDisk) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_MinGpu
- func (t PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu0() (PublicImageUpdateRequestMinGpu0, error)
- func (t PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu1() (PublicImageUpdateRequestMinGpu1, error)
- func (t *PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu0(v PublicImageUpdateRequestMinGpu0) error
- func (t *PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu1(v PublicImageUpdateRequestMinGpu1) error
- func (t PublicImageUpdateRequest_MinGpu) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu0(v PublicImageUpdateRequestMinGpu0) error
- func (t *PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu1(v PublicImageUpdateRequestMinGpu1) error
- func (t *PublicImageUpdateRequest_MinGpu) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_MinRam
- func (t PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam0() (PublicImageUpdateRequestMinRam0, error)
- func (t PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam1() (PublicImageUpdateRequestMinRam1, error)
- func (t *PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam0(v PublicImageUpdateRequestMinRam0) error
- func (t *PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam1(v PublicImageUpdateRequestMinRam1) error
- func (t PublicImageUpdateRequest_MinRam) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam0(v PublicImageUpdateRequestMinRam0) error
- func (t *PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam1(v PublicImageUpdateRequestMinRam1) error
- func (t *PublicImageUpdateRequest_MinRam) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_Name
- func (t PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName0() (PublicImageUpdateRequestName0, error)
- func (t PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName1() (PublicImageUpdateRequestName1, error)
- func (t *PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName0(v PublicImageUpdateRequestName0) error
- func (t *PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName1(v PublicImageUpdateRequestName1) error
- func (t PublicImageUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName0(v PublicImageUpdateRequestName0) error
- func (t *PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName1(v PublicImageUpdateRequestName1) error
- func (t *PublicImageUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type PublicImageUpdateRequest_UserDataTemplate
- func (t PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate0() (PublicImageUpdateRequestUserDataTemplate0, error)
- func (t PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate1() (PublicImageUpdateRequestUserDataTemplate1, error)
- func (t *PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate0(v PublicImageUpdateRequestUserDataTemplate0) error
- func (t *PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate1(v PublicImageUpdateRequestUserDataTemplate1) error
- func (t PublicImageUpdateRequest_UserDataTemplate) MarshalJSON() ([]byte, error)
- func (t *PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate0(v PublicImageUpdateRequestUserDataTemplate0) error
- func (t *PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate1(v PublicImageUpdateRequestUserDataTemplate1) error
- func (t *PublicImageUpdateRequest_UserDataTemplate) UnmarshalJSON(b []byte) error
- type PublicInterfaceCreateRequest
- type PublicInterfaceResponse
- type PublicNATGatewayCreateRequest
- type PublicNATGatewayResponse
- type PublicNATGatewayRuleResponse
- type PublicNATGatewayRuleResponseInternalAddress0
- type PublicNATGatewayRuleResponseInternalAddress1
- type PublicNATGatewayRuleResponse_InternalAddress
- func (t PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress0() (PublicNATGatewayRuleResponseInternalAddress0, error)
- func (t PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress1() (PublicNATGatewayRuleResponseInternalAddress1, error)
- func (t *PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress0(v PublicNATGatewayRuleResponseInternalAddress0) error
- func (t *PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress1(v PublicNATGatewayRuleResponseInternalAddress1) error
- func (t PublicNATGatewayRuleResponse_InternalAddress) MarshalJSON() ([]byte, error)
- func (t *PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress0(v PublicNATGatewayRuleResponseInternalAddress0) error
- func (t *PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress1(v PublicNATGatewayRuleResponseInternalAddress1) error
- func (t *PublicNATGatewayRuleResponse_InternalAddress) UnmarshalJSON(b []byte) error
- type PublicNATGatewayType
- type PublicPlacementGroupCreateRequest
- type PublicPlacementGroupResponse
- type PublicProjectEntityUsageResponse
- type PublicSecurityGroupCreateRequest
- type PublicSecurityGroupResponse
- type PublicSecurityGroupRuleCreateRequest
- type PublicSecurityGroupRuleResponse
- type PublicSubnetCreateRequest
- type PublicSubnetListItemResponse
- type PublicSubnetResponse
- type PublicSubnetUpdateRequest
- type PublicSubnetUpdateRequestDefault0
- type PublicSubnetUpdateRequestDefault1
- type PublicSubnetUpdateRequestDescription0
- type PublicSubnetUpdateRequestDescription1
- type PublicSubnetUpdateRequestDnsServers0
- type PublicSubnetUpdateRequestDnsServers1
- type PublicSubnetUpdateRequestName0
- type PublicSubnetUpdateRequestName1
- type PublicSubnetUpdateRequestRoutedNetwork0
- type PublicSubnetUpdateRequestRoutedNetwork1
- type PublicSubnetUpdateRequestTagIds0
- type PublicSubnetUpdateRequestTagIds1
- type PublicSubnetUpdateRequestTagNames0
- type PublicSubnetUpdateRequestTagNames1
- type PublicSubnetUpdateRequest_Default
- func (t PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault0() (PublicSubnetUpdateRequestDefault0, error)
- func (t PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault1() (PublicSubnetUpdateRequestDefault1, error)
- func (t *PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault0(v PublicSubnetUpdateRequestDefault0) error
- func (t *PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault1(v PublicSubnetUpdateRequestDefault1) error
- func (t PublicSubnetUpdateRequest_Default) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault0(v PublicSubnetUpdateRequestDefault0) error
- func (t *PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault1(v PublicSubnetUpdateRequestDefault1) error
- func (t *PublicSubnetUpdateRequest_Default) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_Description
- func (t PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription0() (PublicSubnetUpdateRequestDescription0, error)
- func (t PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription1() (PublicSubnetUpdateRequestDescription1, error)
- func (t *PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription0(v PublicSubnetUpdateRequestDescription0) error
- func (t *PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription1(v PublicSubnetUpdateRequestDescription1) error
- func (t PublicSubnetUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription0(v PublicSubnetUpdateRequestDescription0) error
- func (t *PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription1(v PublicSubnetUpdateRequestDescription1) error
- func (t *PublicSubnetUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_DnsServers
- func (t PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers0() (PublicSubnetUpdateRequestDnsServers0, error)
- func (t PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers1() (PublicSubnetUpdateRequestDnsServers1, error)
- func (t *PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers0(v PublicSubnetUpdateRequestDnsServers0) error
- func (t *PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers1(v PublicSubnetUpdateRequestDnsServers1) error
- func (t PublicSubnetUpdateRequest_DnsServers) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers0(v PublicSubnetUpdateRequestDnsServers0) error
- func (t *PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers1(v PublicSubnetUpdateRequestDnsServers1) error
- func (t *PublicSubnetUpdateRequest_DnsServers) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_Name
- func (t PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName0() (PublicSubnetUpdateRequestName0, error)
- func (t PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName1() (PublicSubnetUpdateRequestName1, error)
- func (t *PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName0(v PublicSubnetUpdateRequestName0) error
- func (t *PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName1(v PublicSubnetUpdateRequestName1) error
- func (t PublicSubnetUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName0(v PublicSubnetUpdateRequestName0) error
- func (t *PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName1(v PublicSubnetUpdateRequestName1) error
- func (t *PublicSubnetUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_RoutedNetwork
- func (t PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork0() (PublicSubnetUpdateRequestRoutedNetwork0, error)
- func (t PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork1() (PublicSubnetUpdateRequestRoutedNetwork1, error)
- func (t *PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork0(v PublicSubnetUpdateRequestRoutedNetwork0) error
- func (t *PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork1(v PublicSubnetUpdateRequestRoutedNetwork1) error
- func (t PublicSubnetUpdateRequest_RoutedNetwork) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork0(v PublicSubnetUpdateRequestRoutedNetwork0) error
- func (t *PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork1(v PublicSubnetUpdateRequestRoutedNetwork1) error
- func (t *PublicSubnetUpdateRequest_RoutedNetwork) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_TagIds
- func (t PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds0() (PublicSubnetUpdateRequestTagIds0, error)
- func (t PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds1() (PublicSubnetUpdateRequestTagIds1, error)
- func (t *PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds0(v PublicSubnetUpdateRequestTagIds0) error
- func (t *PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds1(v PublicSubnetUpdateRequestTagIds1) error
- func (t PublicSubnetUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds0(v PublicSubnetUpdateRequestTagIds0) error
- func (t *PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds1(v PublicSubnetUpdateRequestTagIds1) error
- func (t *PublicSubnetUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
- type PublicSubnetUpdateRequest_TagNames
- func (t PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames0() (PublicSubnetUpdateRequestTagNames0, error)
- func (t PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames1() (PublicSubnetUpdateRequestTagNames1, error)
- func (t *PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames0(v PublicSubnetUpdateRequestTagNames0) error
- func (t *PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames1(v PublicSubnetUpdateRequestTagNames1) error
- func (t PublicSubnetUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
- func (t *PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames0(v PublicSubnetUpdateRequestTagNames0) error
- func (t *PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames1(v PublicSubnetUpdateRequestTagNames1) error
- func (t *PublicSubnetUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
- type PublicTaskResponse
- type PublicUpdateBackupRequest
- type PublicVmCreateRemoteConsoleRequest
- type PublicVmFreeTierReachedResponse
- type PublicVmResponse
- type PublicVmResponseItem
- type RebuildVmRequestSchemaBody
- type RebuildVmResponseSchema
- type RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody
- type RebuildVmSvcV1VmsVmIdRebuildPostResponse
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) ContentType() string
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetBody() []byte
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON200() *RebuildVmResponseSchema
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON422() *HTTPValidationError
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) Status() string
- func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) StatusCode() int
- type ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody
- type ReimageDiskSvcV1DisksDiskIdReimagePostResponse
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) ContentType() string
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetBody() []byte
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON200() *PublicDiskResponse
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON500() *[]APIExceptionSchema
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) Status() string
- func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) StatusCode() int
- type RemoteConsoleProtocol
- type RemoteSecurityGroupMiniResponse
- type RequestEditorFn
- type Resource
- type ResourceAvailabilityZone
- type ResourceProjectSchema
- type ResourceType
- type ResourceUsageResponse
- type RestoreBackupDiskTargetConfig
- type RestoreBackupResource
- type RestoreBackupResource_TargetConfig
- func (t RestoreBackupResource_TargetConfig) AsDiskRestoreConfig() (DiskRestoreConfig, error)
- func (t RestoreBackupResource_TargetConfig) AsVmRestoreConfig() (VmRestoreConfig, error)
- func (t *RestoreBackupResource_TargetConfig) FromDiskRestoreConfig(v DiskRestoreConfig) error
- func (t *RestoreBackupResource_TargetConfig) FromVmRestoreConfig(v VmRestoreConfig) error
- func (t RestoreBackupResource_TargetConfig) MarshalJSON() ([]byte, error)
- func (t *RestoreBackupResource_TargetConfig) MergeDiskRestoreConfig(v DiskRestoreConfig) error
- func (t *RestoreBackupResource_TargetConfig) MergeVmRestoreConfig(v VmRestoreConfig) error
- func (t *RestoreBackupResource_TargetConfig) UnmarshalJSON(b []byte) error
- type RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody
- type RestoreBackupSvcV1BackupsBackupIdActionPostResponse
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) ContentType() string
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetBody() []byte
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON201() *UpdateBackupResponseSchema
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON422() *[]HTTPValidationError
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) Status() string
- func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) StatusCode() int
- type RestoreBackupTargetConfigInterface
- type RestoreBackupVmTargetConfig
- type RestoreDiskBackupResource
- type RestoreDiskBackupResourceResourceType
- type RestoreTargetConfigVmDisk
- type RestoreVmBackupResource
- type RestoreVmBackupResourceResourceType
- type RouterNotFoundByProjectAndAzExceptionSchema
- type SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema
- type SecurityGroupHasReferencesExceptionSchema
- type SecurityGroupLiteSchema
- type SecurityGroupMiniResponse
- type SecurityGroupNotFoundExceptionSchema
- type SecurityGroupRuleNotFoundExceptionSchema
- type SecurityGroupRuleState
- type SecurityGroupRuleUpdateRequest
- type SecurityGroupRuleUpdateRequestDescription0
- type SecurityGroupRuleUpdateRequestDescription1
- type SecurityGroupRuleUpdateRequestDirection1
- type SecurityGroupRuleUpdateRequestEtherType1
- type SecurityGroupRuleUpdateRequestIpProtocol1
- type SecurityGroupRuleUpdateRequestPortRange0
- type SecurityGroupRuleUpdateRequestPortRange1
- type SecurityGroupRuleUpdateRequestRemoteIpPrefix0
- type SecurityGroupRuleUpdateRequestRemoteIpPrefix1
- type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0
- type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1
- type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0
- type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1
- type SecurityGroupRuleUpdateRequest_Description
- func (t SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription0() (SecurityGroupRuleUpdateRequestDescription0, error)
- func (t SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription1() (SecurityGroupRuleUpdateRequestDescription1, error)
- func (t *SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription0(v SecurityGroupRuleUpdateRequestDescription0) error
- func (t *SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription1(v SecurityGroupRuleUpdateRequestDescription1) error
- func (t SecurityGroupRuleUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription0(v SecurityGroupRuleUpdateRequestDescription0) error
- func (t *SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription1(v SecurityGroupRuleUpdateRequestDescription1) error
- func (t *SecurityGroupRuleUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_Direction
- func (t SecurityGroupRuleUpdateRequest_Direction) AsSecurityGroupRuleUpdateRequestDirection1() (SecurityGroupRuleUpdateRequestDirection1, error)
- func (t SecurityGroupRuleUpdateRequest_Direction) AsTrafficDirection() (TrafficDirection, error)
- func (t *SecurityGroupRuleUpdateRequest_Direction) FromSecurityGroupRuleUpdateRequestDirection1(v SecurityGroupRuleUpdateRequestDirection1) error
- func (t *SecurityGroupRuleUpdateRequest_Direction) FromTrafficDirection(v TrafficDirection) error
- func (t SecurityGroupRuleUpdateRequest_Direction) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_Direction) MergeSecurityGroupRuleUpdateRequestDirection1(v SecurityGroupRuleUpdateRequestDirection1) error
- func (t *SecurityGroupRuleUpdateRequest_Direction) MergeTrafficDirection(v TrafficDirection) error
- func (t *SecurityGroupRuleUpdateRequest_Direction) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_EtherType
- func (t SecurityGroupRuleUpdateRequest_EtherType) AsEtherType() (EtherType, error)
- func (t SecurityGroupRuleUpdateRequest_EtherType) AsSecurityGroupRuleUpdateRequestEtherType1() (SecurityGroupRuleUpdateRequestEtherType1, error)
- func (t *SecurityGroupRuleUpdateRequest_EtherType) FromEtherType(v EtherType) error
- func (t *SecurityGroupRuleUpdateRequest_EtherType) FromSecurityGroupRuleUpdateRequestEtherType1(v SecurityGroupRuleUpdateRequestEtherType1) error
- func (t SecurityGroupRuleUpdateRequest_EtherType) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_EtherType) MergeEtherType(v EtherType) error
- func (t *SecurityGroupRuleUpdateRequest_EtherType) MergeSecurityGroupRuleUpdateRequestEtherType1(v SecurityGroupRuleUpdateRequestEtherType1) error
- func (t *SecurityGroupRuleUpdateRequest_EtherType) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_IpProtocol
- func (t SecurityGroupRuleUpdateRequest_IpProtocol) AsIpProtocol() (IpProtocol, error)
- func (t SecurityGroupRuleUpdateRequest_IpProtocol) AsSecurityGroupRuleUpdateRequestIpProtocol1() (SecurityGroupRuleUpdateRequestIpProtocol1, error)
- func (t *SecurityGroupRuleUpdateRequest_IpProtocol) FromIpProtocol(v IpProtocol) error
- func (t *SecurityGroupRuleUpdateRequest_IpProtocol) FromSecurityGroupRuleUpdateRequestIpProtocol1(v SecurityGroupRuleUpdateRequestIpProtocol1) error
- func (t SecurityGroupRuleUpdateRequest_IpProtocol) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_IpProtocol) MergeIpProtocol(v IpProtocol) error
- func (t *SecurityGroupRuleUpdateRequest_IpProtocol) MergeSecurityGroupRuleUpdateRequestIpProtocol1(v SecurityGroupRuleUpdateRequestIpProtocol1) error
- func (t *SecurityGroupRuleUpdateRequest_IpProtocol) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_PortRange
- func (t SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange0() (SecurityGroupRuleUpdateRequestPortRange0, error)
- func (t SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange1() (SecurityGroupRuleUpdateRequestPortRange1, error)
- func (t *SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange0(v SecurityGroupRuleUpdateRequestPortRange0) error
- func (t *SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange1(v SecurityGroupRuleUpdateRequestPortRange1) error
- func (t SecurityGroupRuleUpdateRequest_PortRange) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange0(v SecurityGroupRuleUpdateRequestPortRange0) error
- func (t *SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange1(v SecurityGroupRuleUpdateRequestPortRange1) error
- func (t *SecurityGroupRuleUpdateRequest_PortRange) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_RemoteIpPrefix
- func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix0() (SecurityGroupRuleUpdateRequestRemoteIpPrefix0, error)
- func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix1() (SecurityGroupRuleUpdateRequestRemoteIpPrefix1, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix0(v SecurityGroupRuleUpdateRequestRemoteIpPrefix0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix1(v SecurityGroupRuleUpdateRequestRemoteIpPrefix1) error
- func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix0(v SecurityGroupRuleUpdateRequestRemoteIpPrefix0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix1(v SecurityGroupRuleUpdateRequestRemoteIpPrefix1) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0, error)
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) error
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) UnmarshalJSON(b []byte) error
- type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0, error)
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) error
- func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) error
- func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) UnmarshalJSON(b []byte) error
- type SecurityGroupState
- type SecurityGroupUpdateRequest
- type SecurityGroupUpdateRequestDescription0
- type SecurityGroupUpdateRequestDescription1
- type SecurityGroupUpdateRequestName0
- type SecurityGroupUpdateRequestName1
- type SecurityGroupUpdateRequestTagIds0
- type SecurityGroupUpdateRequestTagIds1
- type SecurityGroupUpdateRequestTagNames0
- type SecurityGroupUpdateRequestTagNames1
- type SecurityGroupUpdateRequest_Description
- func (t SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription0() (SecurityGroupUpdateRequestDescription0, error)
- func (t SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription1() (SecurityGroupUpdateRequestDescription1, error)
- func (t *SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription0(v SecurityGroupUpdateRequestDescription0) error
- func (t *SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription1(v SecurityGroupUpdateRequestDescription1) error
- func (t SecurityGroupUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription0(v SecurityGroupUpdateRequestDescription0) error
- func (t *SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription1(v SecurityGroupUpdateRequestDescription1) error
- func (t *SecurityGroupUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type SecurityGroupUpdateRequest_Name
- func (t SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName0() (SecurityGroupUpdateRequestName0, error)
- func (t SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName1() (SecurityGroupUpdateRequestName1, error)
- func (t *SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName0(v SecurityGroupUpdateRequestName0) error
- func (t *SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName1(v SecurityGroupUpdateRequestName1) error
- func (t SecurityGroupUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName0(v SecurityGroupUpdateRequestName0) error
- func (t *SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName1(v SecurityGroupUpdateRequestName1) error
- func (t *SecurityGroupUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type SecurityGroupUpdateRequest_TagIds
- func (t SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds0() (SecurityGroupUpdateRequestTagIds0, error)
- func (t SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds1() (SecurityGroupUpdateRequestTagIds1, error)
- func (t *SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds0(v SecurityGroupUpdateRequestTagIds0) error
- func (t *SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds1(v SecurityGroupUpdateRequestTagIds1) error
- func (t SecurityGroupUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds0(v SecurityGroupUpdateRequestTagIds0) error
- func (t *SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds1(v SecurityGroupUpdateRequestTagIds1) error
- func (t *SecurityGroupUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
- type SecurityGroupUpdateRequest_TagNames
- func (t SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames0() (SecurityGroupUpdateRequestTagNames0, error)
- func (t SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames1() (SecurityGroupUpdateRequestTagNames1, error)
- func (t *SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames0(v SecurityGroupUpdateRequestTagNames0) error
- func (t *SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames1(v SecurityGroupUpdateRequestTagNames1) error
- func (t SecurityGroupUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
- func (t *SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames0(v SecurityGroupUpdateRequestTagNames0) error
- func (t *SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames1(v SecurityGroupUpdateRequestTagNames1) error
- func (t *SecurityGroupUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
- type ServiceUnavailableExceptionSchema
- type ServiceVariableMissingExceptionSchema
- type SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody
- type SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) ContentType() string
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetBody() []byte
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) Status() string
- func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) StatusCode() int
- type SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody
- type SetVmPowerSvcV1VmsVmIdSetPowerPostResponse
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) ContentType() string
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetBody() []byte
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON500() *[]APIExceptionSchema
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) Status() string
- func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) StatusCode() int
- type SpeedLimit
- type SubnetAlreadyExistsExceptionSchema
- type SubnetCanNotBeDeletedFromCurrentStateExceptionSchema
- type SubnetHasReferencesExceptionSchema
- type SubnetLiteSchema
- type SubnetNotFoundExceptionSchema
- type SubnetParamTypes
- type SubnetState
- type SubnetType
- type SubnetWithAddressMiniResponse
- type TagLiteSchema
- type TagMiniResponse
- type TaskNotFoundExceptionSchema
- type TaskStatusEnum
- type TrafficDirection
- type UnderscoreDisksCount
- type UnderscoreFipCount
- type UnderscoreNatGatewaysCount
- type UnsupportedFloatingIpActionExceptionSchema
- type UpdateBackupRequestBody
- type UpdateBackupResponseSchema
- type UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody
- type UpdateBackupSvcV1BackupsBackupIdPutResponse
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) ContentType() string
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetBody() []byte
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON200() *UpdateBackupResponseSchema
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON422() *[]UpdateBackupResponseSchema
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) Status() string
- func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) StatusCode() int
- type UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody
- type UpdateDiskSvcV1DisksDiskIdPutResponse
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) ContentType() string
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetBody() []byte
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON200() *PublicDiskResponse
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON409() *[]DiskAlreadyExistsExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON422() *[]WrongDiskTypeByIdExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) Status() string
- func (r UpdateDiskSvcV1DisksDiskIdPutResponse) StatusCode() int
- type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody
- type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) ContentType() string
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetBody() []byte
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON200() *PublicFloatingIpResponse
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON422() *[]InterfaceAlreadyConnectedAnotherFloatingIpSchema
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) Status() string
- func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) StatusCode() int
- type UpdateImageSvcV1ImagesImageIdPutJSONRequestBody
- type UpdateImageSvcV1ImagesImageIdPutResponse
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) ContentType() string
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetBody() []byte
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON200() *PublicImageResponse
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON422() *[]WrongAvailabilityZoneForImageExceptionSchema
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) Status() string
- func (r UpdateImageSvcV1ImagesImageIdPutResponse) StatusCode() int
- type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONBody
- type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody
- type UpdateMultipleVmStatesPublicSvcV1VmsPutResponse
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) ContentType() string
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetBody() []byte
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) Status() string
- func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) StatusCode() int
- type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody
- type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) ContentType() string
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetBody() []byte
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON200() *PublicNATGatewayResponse
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON422() *[]WrongVdcExceptionSchema
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) Status() string
- func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) StatusCode() int
- type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody
- type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) ContentType() string
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetBody() []byte
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON200() *PublicPlacementGroupResponse
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON409() *[]PlacementGroupAlreadyExistsExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON422() *[]PlacementGroupBadCreationParamsExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) Status() string
- func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) StatusCode() int
- type UpdateProtectionPlanRequestBody
- type UpdateProtectionPlanResponseSchema
- type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody
- type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) ContentType() string
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetBody() []byte
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON200() *UpdateProtectionPlanResponseSchema
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON422() *HTTPValidationError
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) Status() string
- func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) StatusCode() int
- type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody
- type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) ContentType() string
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetBody() []byte
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON200() *PublicInterfaceResponse
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) Status() string
- func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) StatusCode() int
- type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody
- type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) ContentType() string
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetBody() []byte
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON200() *PublicSecurityGroupRuleResponse
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) Status() string
- func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) StatusCode() int
- type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody
- type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) ContentType() string
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetBody() []byte
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON200() *PublicSecurityGroupResponse
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON422() *[]SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) Status() string
- func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) StatusCode() int
- type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody
- type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) ContentType() string
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetBody() []byte
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON200() *PublicSubnetResponse
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON409() *[]SubnetAlreadyExistsExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON422() *[]WrongTagByIdExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) Status() string
- func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) StatusCode() int
- type UpdateVmSvcV1VmsVmIdPutJSONRequestBody
- type UpdateVmSvcV1VmsVmIdPutResponse
- func (r UpdateVmSvcV1VmsVmIdPutResponse) ContentType() string
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetBody() []byte
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON200() *PublicVmResponse
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
- func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON500() *[]APIExceptionSchema
- func (r UpdateVmSvcV1VmsVmIdPutResponse) Status() string
- func (r UpdateVmSvcV1VmsVmIdPutResponse) StatusCode() int
- type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams
- type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) ContentType() string
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetBody() []byte
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON200() *ProjectValidateNameResponse
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON500() *[]APIExceptionSchema
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) Status() string
- func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) StatusCode() int
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type VmCanNotBeDeletedFromCurrentStateExceptionSchema
- type VmCreateInterfaceSection
- type VmCreateMetadataByIdSection
- type VmCreateSubnetSection
- type VmDeleteAttachmentsRequest
- type VmDeletePasswordRequest
- type VmDeleteRequest
- type VmDiskLiteSchema
- type VmDisksResponseSection
- type VmGuestAgentState
- type VmHasReferencesExceptionSchema
- type VmImageLiteSchema
- type VmMetadataLiteSchema
- type VmMetadataResponseSection
- type VmMiniResponse
- type VmNotFoundExceptionSchema
- type VmOrderByFields
- type VmParamTypes
- type VmPowerEnum
- type VmRemoteConsoleProtocol
- type VmResource
- type VmResourceDisk
- type VmResourceDiskType
- type VmResourceFlavor
- type VmResourceFloatingIp
- type VmResourceImage
- type VmResourceInterface
- type VmResourcePlacementGroup
- type VmResourceSecurityGroup
- type VmResourceSubnet
- type VmResponseDiskTypeSection
- type VmResponseFreeTierInterfaceSection
- type VmResponseInterfaceSection
- type VmResponseItemInterfaceSection
- type VmRestore
- type VmRestoreAvailabilityZone
- type VmRestoreConfig
- type VmRestoreDisk
- type VmRestoreDiskRestoreConfig
- type VmRestoreDiskType
- type VmRestoreFlavor
- type VmRestoreFloatingIp
- type VmRestoreImage
- type VmRestoreInterface
- type VmRestoreInterfaceConfig
- type VmRestorePlacementGroup
- type VmRestoreSecurityGroup
- type VmRestoreSubnet
- type VmRestoreSubnetConfig
- type VmSetPasswordRequest
- type VmSetPowerRequest
- type VmSetStateRequest
- type VmSetStateRequestState
- type VmState
- type VmStateBlocksInterfaceDeletionExceptionSchema
- type VmUpdateRequest
- type VmUpdateRequestDescription0
- type VmUpdateRequestDescription1
- type VmUpdateRequestFlavorId0
- type VmUpdateRequestFlavorId1
- type VmUpdateRequestFlavorName0
- type VmUpdateRequestFlavorName1
- type VmUpdateRequestName0
- type VmUpdateRequestName1
- type VmUpdateRequestTagIds0
- type VmUpdateRequestTagIds1
- type VmUpdateRequestTagNames0
- type VmUpdateRequestTagNames1
- type VmUpdateRequest_Description
- func (t VmUpdateRequest_Description) AsVmUpdateRequestDescription0() (VmUpdateRequestDescription0, error)
- func (t VmUpdateRequest_Description) AsVmUpdateRequestDescription1() (VmUpdateRequestDescription1, error)
- func (t *VmUpdateRequest_Description) FromVmUpdateRequestDescription0(v VmUpdateRequestDescription0) error
- func (t *VmUpdateRequest_Description) FromVmUpdateRequestDescription1(v VmUpdateRequestDescription1) error
- func (t VmUpdateRequest_Description) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_Description) MergeVmUpdateRequestDescription0(v VmUpdateRequestDescription0) error
- func (t *VmUpdateRequest_Description) MergeVmUpdateRequestDescription1(v VmUpdateRequestDescription1) error
- func (t *VmUpdateRequest_Description) UnmarshalJSON(b []byte) error
- type VmUpdateRequest_FlavorId
- func (t VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId0() (VmUpdateRequestFlavorId0, error)
- func (t VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId1() (VmUpdateRequestFlavorId1, error)
- func (t *VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId0(v VmUpdateRequestFlavorId0) error
- func (t *VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId1(v VmUpdateRequestFlavorId1) error
- func (t VmUpdateRequest_FlavorId) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId0(v VmUpdateRequestFlavorId0) error
- func (t *VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId1(v VmUpdateRequestFlavorId1) error
- func (t *VmUpdateRequest_FlavorId) UnmarshalJSON(b []byte) error
- type VmUpdateRequest_FlavorName
- func (t VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName0() (VmUpdateRequestFlavorName0, error)
- func (t VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName1() (VmUpdateRequestFlavorName1, error)
- func (t *VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName0(v VmUpdateRequestFlavorName0) error
- func (t *VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName1(v VmUpdateRequestFlavorName1) error
- func (t VmUpdateRequest_FlavorName) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName0(v VmUpdateRequestFlavorName0) error
- func (t *VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName1(v VmUpdateRequestFlavorName1) error
- func (t *VmUpdateRequest_FlavorName) UnmarshalJSON(b []byte) error
- type VmUpdateRequest_Name
- func (t VmUpdateRequest_Name) AsVmUpdateRequestName0() (VmUpdateRequestName0, error)
- func (t VmUpdateRequest_Name) AsVmUpdateRequestName1() (VmUpdateRequestName1, error)
- func (t *VmUpdateRequest_Name) FromVmUpdateRequestName0(v VmUpdateRequestName0) error
- func (t *VmUpdateRequest_Name) FromVmUpdateRequestName1(v VmUpdateRequestName1) error
- func (t VmUpdateRequest_Name) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_Name) MergeVmUpdateRequestName0(v VmUpdateRequestName0) error
- func (t *VmUpdateRequest_Name) MergeVmUpdateRequestName1(v VmUpdateRequestName1) error
- func (t *VmUpdateRequest_Name) UnmarshalJSON(b []byte) error
- type VmUpdateRequest_TagIds
- func (t VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds0() (VmUpdateRequestTagIds0, error)
- func (t VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds1() (VmUpdateRequestTagIds1, error)
- func (t *VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds0(v VmUpdateRequestTagIds0) error
- func (t *VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds1(v VmUpdateRequestTagIds1) error
- func (t VmUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds0(v VmUpdateRequestTagIds0) error
- func (t *VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds1(v VmUpdateRequestTagIds1) error
- func (t *VmUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
- type VmUpdateRequest_TagNames
- func (t VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames0() (VmUpdateRequestTagNames0, error)
- func (t VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames1() (VmUpdateRequestTagNames1, error)
- func (t *VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames0(v VmUpdateRequestTagNames0) error
- func (t *VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames1(v VmUpdateRequestTagNames1) error
- func (t VmUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
- func (t *VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames0(v VmUpdateRequestTagNames0) error
- func (t *VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames1(v VmUpdateRequestTagNames1) error
- func (t *VmUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
- type VmWithFlavorMiniResponse
- type VmsBlockResponse
- type WrongAvailabilityZoneByIdExceptionSchema
- type WrongAvailabilityZoneForImageExceptionSchema
- type WrongDiskTypeByIdExceptionSchema
- type WrongProjectExceptionSchema
- type WrongSecurityGroupByIdExceptionSchema
- type WrongTagByIdExceptionSchema
- type WrongVdcExceptionSchema
- type WrongVmByIdExceptionSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttachDiskSvcV1DisksDiskIdAttachPostRequest ¶
func NewAttachDiskSvcV1DisksDiskIdAttachPostRequest(server string, diskId string, body AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody) (*http.Request, error)
NewAttachDiskSvcV1DisksDiskIdAttachPostRequest calls the generic AttachDiskSvcV1DisksDiskIdAttachPost builder with application/json body
func NewAttachDiskSvcV1DisksDiskIdAttachPostRequestWithBody ¶
func NewAttachDiskSvcV1DisksDiskIdAttachPostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
NewAttachDiskSvcV1DisksDiskIdAttachPostRequestWithBody constructs an http.Request for the AttachDiskSvcV1DisksDiskIdAttachPost method, with any body, and a specified content type
func NewCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostRequest ¶
func NewCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
NewCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostRequest constructs an http.Request for the CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost method
func NewCreateBackupSvcV1BackupsPostRequest ¶
func NewCreateBackupSvcV1BackupsPostRequest(server string, body CreateBackupSvcV1BackupsPostJSONRequestBody) (*http.Request, error)
NewCreateBackupSvcV1BackupsPostRequest calls the generic CreateBackupSvcV1BackupsPost builder with application/json body
func NewCreateBackupSvcV1BackupsPostRequestWithBody ¶
func NewCreateBackupSvcV1BackupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBackupSvcV1BackupsPostRequestWithBody constructs an http.Request for the CreateBackupSvcV1BackupsPost method, with any body, and a specified content type
func NewCreateDiskSvcV1DisksPostRequest ¶
func NewCreateDiskSvcV1DisksPostRequest(server string, body CreateDiskSvcV1DisksPostJSONRequestBody) (*http.Request, error)
NewCreateDiskSvcV1DisksPostRequest calls the generic CreateDiskSvcV1DisksPost builder with application/json body
func NewCreateDiskSvcV1DisksPostRequestWithBody ¶
func NewCreateDiskSvcV1DisksPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDiskSvcV1DisksPostRequestWithBody constructs an http.Request for the CreateDiskSvcV1DisksPost method, with any body, and a specified content type
func NewCreateFloatingIpSvcV1FloatingIpsPostRequest ¶
func NewCreateFloatingIpSvcV1FloatingIpsPostRequest(server string, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody) (*http.Request, error)
NewCreateFloatingIpSvcV1FloatingIpsPostRequest calls the generic CreateFloatingIpSvcV1FloatingIpsPost builder with application/json body
func NewCreateFloatingIpSvcV1FloatingIpsPostRequestWithBody ¶
func NewCreateFloatingIpSvcV1FloatingIpsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFloatingIpSvcV1FloatingIpsPostRequestWithBody constructs an http.Request for the CreateFloatingIpSvcV1FloatingIpsPost method, with any body, and a specified content type
func NewCreateImageSvcV1ImagesPostRequest ¶
func NewCreateImageSvcV1ImagesPostRequest(server string, body CreateImageSvcV1ImagesPostJSONRequestBody) (*http.Request, error)
NewCreateImageSvcV1ImagesPostRequest calls the generic CreateImageSvcV1ImagesPost builder with application/json body
func NewCreateImageSvcV1ImagesPostRequestWithBody ¶
func NewCreateImageSvcV1ImagesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImageSvcV1ImagesPostRequestWithBody constructs an http.Request for the CreateImageSvcV1ImagesPost method, with any body, and a specified content type
func NewCreateInterfaceSvcV1InterfacesPostRequest ¶
func NewCreateInterfaceSvcV1InterfacesPostRequest(server string, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody) (*http.Request, error)
NewCreateInterfaceSvcV1InterfacesPostRequest calls the generic CreateInterfaceSvcV1InterfacesPost builder with application/json body
func NewCreateInterfaceSvcV1InterfacesPostRequestWithBody ¶
func NewCreateInterfaceSvcV1InterfacesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInterfaceSvcV1InterfacesPostRequestWithBody constructs an http.Request for the CreateInterfaceSvcV1InterfacesPost method, with any body, and a specified content type
func NewCreateNatGatewaySvcV1NatGatewaysPostRequest ¶
func NewCreateNatGatewaySvcV1NatGatewaysPostRequest(server string, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody) (*http.Request, error)
NewCreateNatGatewaySvcV1NatGatewaysPostRequest calls the generic CreateNatGatewaySvcV1NatGatewaysPost builder with application/json body
func NewCreateNatGatewaySvcV1NatGatewaysPostRequestWithBody ¶
func NewCreateNatGatewaySvcV1NatGatewaysPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateNatGatewaySvcV1NatGatewaysPostRequestWithBody constructs an http.Request for the CreateNatGatewaySvcV1NatGatewaysPost method, with any body, and a specified content type
func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequest ¶
func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequest(server string, body CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody) (*http.Request, error)
NewCreatePlacementGroupSvcV1PlacementGroupsPostRequest calls the generic CreatePlacementGroupSvcV1PlacementGroupsPost builder with application/json body
func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequestWithBody ¶
func NewCreatePlacementGroupSvcV1PlacementGroupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePlacementGroupSvcV1PlacementGroupsPostRequestWithBody constructs an http.Request for the CreatePlacementGroupSvcV1PlacementGroupsPost method, with any body, and a specified content type
func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequest ¶
func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequest(server string, body CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody) (*http.Request, error)
NewCreateProtectionPlanSvcV1ProtectionPlansPostRequest calls the generic CreateProtectionPlanSvcV1ProtectionPlansPost builder with application/json body
func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequestWithBody ¶
func NewCreateProtectionPlanSvcV1ProtectionPlansPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProtectionPlanSvcV1ProtectionPlansPostRequestWithBody constructs an http.Request for the CreateProtectionPlanSvcV1ProtectionPlansPost method, with any body, and a specified content type
func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequest ¶
func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequest(server string, securityGroupId string, body CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody) (*http.Request, error)
NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequest calls the generic CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost builder with application/json body
func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequestWithBody ¶
func NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequestWithBody(server string, securityGroupId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostRequestWithBody constructs an http.Request for the CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost method, with any body, and a specified content type
func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequest ¶
func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequest(server string, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody) (*http.Request, error)
NewCreateSecurityGroupSvcV1SecurityGroupsPostRequest calls the generic CreateSecurityGroupSvcV1SecurityGroupsPost builder with application/json body
func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequestWithBody ¶
func NewCreateSecurityGroupSvcV1SecurityGroupsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecurityGroupSvcV1SecurityGroupsPostRequestWithBody constructs an http.Request for the CreateSecurityGroupSvcV1SecurityGroupsPost method, with any body, and a specified content type
func NewCreateSubnetSvcV1SubnetsPostRequest ¶
func NewCreateSubnetSvcV1SubnetsPostRequest(server string, body CreateSubnetSvcV1SubnetsPostJSONRequestBody) (*http.Request, error)
NewCreateSubnetSvcV1SubnetsPostRequest calls the generic CreateSubnetSvcV1SubnetsPost builder with application/json body
func NewCreateSubnetSvcV1SubnetsPostRequestWithBody ¶
func NewCreateSubnetSvcV1SubnetsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSubnetSvcV1SubnetsPostRequestWithBody constructs an http.Request for the CreateSubnetSvcV1SubnetsPost method, with any body, and a specified content type
func NewCreateVmSvcV1VmsPostRequest ¶
func NewCreateVmSvcV1VmsPostRequest(server string, body CreateVmSvcV1VmsPostJSONRequestBody) (*http.Request, error)
NewCreateVmSvcV1VmsPostRequest calls the generic CreateVmSvcV1VmsPost builder with application/json body
func NewCreateVmSvcV1VmsPostRequestWithBody ¶
func NewCreateVmSvcV1VmsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVmSvcV1VmsPostRequestWithBody constructs an http.Request for the CreateVmSvcV1VmsPost method, with any body, and a specified content type
func NewCreateVmV11SvcV11VmsPostRequest ¶
func NewCreateVmV11SvcV11VmsPostRequest(server string, body CreateVmV11SvcV11VmsPostJSONRequestBody) (*http.Request, error)
NewCreateVmV11SvcV11VmsPostRequest calls the generic CreateVmV11SvcV11VmsPost builder with application/json body
func NewCreateVmV11SvcV11VmsPostRequestWithBody ¶
func NewCreateVmV11SvcV11VmsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVmV11SvcV11VmsPostRequestWithBody constructs an http.Request for the CreateVmV11SvcV11VmsPost method, with any body, and a specified content type
func NewDeleteBackupSvcV1BackupsBackupIdDeleteRequest ¶
func NewDeleteBackupSvcV1BackupsBackupIdDeleteRequest(server string, backupId string) (*http.Request, error)
NewDeleteBackupSvcV1BackupsBackupIdDeleteRequest constructs an http.Request for the DeleteBackupSvcV1BackupsBackupIdDelete method
func NewDeleteDiskSvcV1DisksDiskIdDeleteRequest ¶
func NewDeleteDiskSvcV1DisksDiskIdDeleteRequest(server string, diskId string) (*http.Request, error)
NewDeleteDiskSvcV1DisksDiskIdDeleteRequest constructs an http.Request for the DeleteDiskSvcV1DisksDiskIdDelete method
func NewDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteRequest ¶
func NewDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteRequest(server string, floatingIpId string) (*http.Request, error)
NewDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteRequest constructs an http.Request for the DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete method
func NewDeleteImageSvcV1ImagesImageIdDeleteRequest ¶
func NewDeleteImageSvcV1ImagesImageIdDeleteRequest(server string, imageId string) (*http.Request, error)
NewDeleteImageSvcV1ImagesImageIdDeleteRequest constructs an http.Request for the DeleteImageSvcV1ImagesImageIdDelete method
func NewDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteRequest ¶
func NewDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteRequest(server string, interfaceId string) (*http.Request, error)
NewDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteRequest constructs an http.Request for the DeleteInterfaceSvcV1InterfacesInterfaceIdDelete method
func NewDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteRequest ¶
func NewDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteRequest(server string, natGatewayId openapi_types.UUID) (*http.Request, error)
NewDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteRequest constructs an http.Request for the DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete method
func NewDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteRequest ¶
func NewDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteRequest(server string, placementGroupId openapi_types.UUID) (*http.Request, error)
NewDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteRequest constructs an http.Request for the DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete method
func NewDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteRequest ¶
func NewDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteRequest(server string, protectionPlanId string) (*http.Request, error)
NewDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteRequest constructs an http.Request for the DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete method
func NewDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteRequest ¶
func NewDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteRequest(server string, securityGroupId string, securityGroupRuleId string) (*http.Request, error)
NewDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteRequest constructs an http.Request for the DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete method
func NewDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteRequest ¶
func NewDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteRequest(server string, securityGroupId string) (*http.Request, error)
NewDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteRequest constructs an http.Request for the DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete method
func NewDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteRequest ¶
func NewDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteRequest(server string, subnetId openapi_types.UUID) (*http.Request, error)
NewDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteRequest constructs an http.Request for the DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete method
func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequest ¶
func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequest(server string, vmId openapi_types.UUID, body DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody) (*http.Request, error)
NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequest calls the generic DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost builder with application/json body
func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequestWithBody ¶
func NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostRequestWithBody constructs an http.Request for the DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost method, with any body, and a specified content type
func NewDeleteVmSvcV1VmsVmIdDeleteRequest ¶
func NewDeleteVmSvcV1VmsVmIdDeleteRequest(server string, vmId openapi_types.UUID, body DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody) (*http.Request, error)
NewDeleteVmSvcV1VmsVmIdDeleteRequest calls the generic DeleteVmSvcV1VmsVmIdDelete builder with application/json body
func NewDeleteVmSvcV1VmsVmIdDeleteRequestWithBody ¶
func NewDeleteVmSvcV1VmsVmIdDeleteRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVmSvcV1VmsVmIdDeleteRequestWithBody constructs an http.Request for the DeleteVmSvcV1VmsVmIdDelete method, with any body, and a specified content type
func NewDetachDiskSvcV1DisksDiskIdDetachPostRequest ¶
func NewDetachDiskSvcV1DisksDiskIdDetachPostRequest(server string, diskId string, body DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody) (*http.Request, error)
NewDetachDiskSvcV1DisksDiskIdDetachPostRequest calls the generic DetachDiskSvcV1DisksDiskIdDetachPost builder with application/json body
func NewDetachDiskSvcV1DisksDiskIdDetachPostRequestWithBody ¶
func NewDetachDiskSvcV1DisksDiskIdDetachPostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
NewDetachDiskSvcV1DisksDiskIdDetachPostRequestWithBody constructs an http.Request for the DetachDiskSvcV1DisksDiskIdDetachPost method, with any body, and a specified content type
func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequest ¶
func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequest(server string, vmId openapi_types.UUID, body GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody) (*http.Request, error)
NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequest calls the generic GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost builder with application/json body
func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequestWithBody ¶
func NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostRequestWithBody constructs an http.Request for the GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost method, with any body, and a specified content type
func NewGetAvailabilityZoneListSvcV1AvailabilityZonesGetRequest ¶
func NewGetAvailabilityZoneListSvcV1AvailabilityZonesGetRequest(server string, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams) (*http.Request, error)
NewGetAvailabilityZoneListSvcV1AvailabilityZonesGetRequest constructs an http.Request for the GetAvailabilityZoneListSvcV1AvailabilityZonesGet method
func NewGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetRequest ¶
func NewGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetRequest(server string, params *GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams) (*http.Request, error)
NewGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetRequest constructs an http.Request for the GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet method
func NewGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetRequest ¶
func NewGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetRequest(server string, availabilityZoneId string) (*http.Request, error)
NewGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetRequest constructs an http.Request for the GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet method
func NewGetAvailableIpAddressesSvcV1AvailableIpAddressesGetRequest ¶
func NewGetAvailableIpAddressesSvcV1AvailableIpAddressesGetRequest(server string, params *GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams) (*http.Request, error)
NewGetAvailableIpAddressesSvcV1AvailableIpAddressesGetRequest constructs an http.Request for the GetAvailableIpAddressesSvcV1AvailableIpAddressesGet method
func NewGetAvailableSubnetsSvcV1AvailableSubnetsGetRequest ¶
func NewGetAvailableSubnetsSvcV1AvailableSubnetsGetRequest(server string, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams) (*http.Request, error)
NewGetAvailableSubnetsSvcV1AvailableSubnetsGetRequest constructs an http.Request for the GetAvailableSubnetsSvcV1AvailableSubnetsGet method
func NewGetBackupSvcV1BackupsBackupIdGetRequest ¶
func NewGetBackupSvcV1BackupsBackupIdGetRequest(server string, backupId string) (*http.Request, error)
NewGetBackupSvcV1BackupsBackupIdGetRequest constructs an http.Request for the GetBackupSvcV1BackupsBackupIdGet method
func NewGetDiskByIdSvcV1DisksDiskIdGetRequest ¶
NewGetDiskByIdSvcV1DisksDiskIdGetRequest constructs an http.Request for the GetDiskByIdSvcV1DisksDiskIdGet method
func NewGetDiskParamsSvcV1ParamsDiskGetRequest ¶
func NewGetDiskParamsSvcV1ParamsDiskGetRequest(server string, params *GetDiskParamsSvcV1ParamsDiskGetParams) (*http.Request, error)
NewGetDiskParamsSvcV1ParamsDiskGetRequest constructs an http.Request for the GetDiskParamsSvcV1ParamsDiskGet method
func NewGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetRequest ¶
func NewGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetRequest(server string, diskTypeId string) (*http.Request, error)
NewGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetRequest constructs an http.Request for the GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet method
func NewGetDiskTypesSvcV1DiskTypesGetRequest ¶
func NewGetDiskTypesSvcV1DiskTypesGetRequest(server string, params *GetDiskTypesSvcV1DiskTypesGetParams) (*http.Request, error)
NewGetDiskTypesSvcV1DiskTypesGetRequest constructs an http.Request for the GetDiskTypesSvcV1DiskTypesGet method
func NewGetDisksSvcV1DisksGetRequest ¶
func NewGetDisksSvcV1DisksGetRequest(server string, params *GetDisksSvcV1DisksGetParams) (*http.Request, error)
NewGetDisksSvcV1DisksGetRequest constructs an http.Request for the GetDisksSvcV1DisksGet method
func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequest ¶
func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequest(server string, projectId string, body GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody) (*http.Request, error)
NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequest calls the generic GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost builder with application/json body
func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequestWithBody ¶
func NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)
NewGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostRequestWithBody constructs an http.Request for the GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost method, with any body, and a specified content type
func NewGetFlavorByIdSvcV1FlavorsFlavorIdGetRequest ¶
func NewGetFlavorByIdSvcV1FlavorsFlavorIdGetRequest(server string, flavorId string) (*http.Request, error)
NewGetFlavorByIdSvcV1FlavorsFlavorIdGetRequest constructs an http.Request for the GetFlavorByIdSvcV1FlavorsFlavorIdGet method
func NewGetFlavorParamsSvcV1ParamsFlavorGetRequest ¶
func NewGetFlavorParamsSvcV1ParamsFlavorGetRequest(server string, params *GetFlavorParamsSvcV1ParamsFlavorGetParams) (*http.Request, error)
NewGetFlavorParamsSvcV1ParamsFlavorGetRequest constructs an http.Request for the GetFlavorParamsSvcV1ParamsFlavorGet method
func NewGetFlavorsSvcV1FlavorsGetRequest ¶
func NewGetFlavorsSvcV1FlavorsGetRequest(server string, params *GetFlavorsSvcV1FlavorsGetParams) (*http.Request, error)
NewGetFlavorsSvcV1FlavorsGetRequest constructs an http.Request for the GetFlavorsSvcV1FlavorsGet method
func NewGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetRequest ¶
func NewGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetRequest(server string, floatingIpId string) (*http.Request, error)
NewGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetRequest constructs an http.Request for the GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet method
func NewGetFloatingIpFipsSvcV1FloatingIpsGetRequest ¶
func NewGetFloatingIpFipsSvcV1FloatingIpsGetRequest(server string, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams) (*http.Request, error)
NewGetFloatingIpFipsSvcV1FloatingIpsGetRequest constructs an http.Request for the GetFloatingIpFipsSvcV1FloatingIpsGet method
func NewGetImageByIdSvcV1ImagesImageIdGetRequest ¶
func NewGetImageByIdSvcV1ImagesImageIdGetRequest(server string, imageId string) (*http.Request, error)
NewGetImageByIdSvcV1ImagesImageIdGetRequest constructs an http.Request for the GetImageByIdSvcV1ImagesImageIdGet method
func NewGetImagesSvcV1ImagesGetRequest ¶
func NewGetImagesSvcV1ImagesGetRequest(server string, params *GetImagesSvcV1ImagesGetParams) (*http.Request, error)
NewGetImagesSvcV1ImagesGetRequest constructs an http.Request for the GetImagesSvcV1ImagesGet method
func NewGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetRequest ¶
func NewGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetRequest(server string, natGatewayId openapi_types.UUID) (*http.Request, error)
NewGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetRequest constructs an http.Request for the GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet method
func NewGetNatGatewaysSvcV1NatGatewaysGetRequest ¶
func NewGetNatGatewaysSvcV1NatGatewaysGetRequest(server string, params *GetNatGatewaysSvcV1NatGatewaysGetParams) (*http.Request, error)
NewGetNatGatewaysSvcV1NatGatewaysGetRequest constructs an http.Request for the GetNatGatewaysSvcV1NatGatewaysGet method
func NewGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetRequest ¶
func NewGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetRequest(server string, organizationId string) (*http.Request, error)
NewGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetRequest constructs an http.Request for the GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet method
func NewGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetRequest ¶
func NewGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetRequest(server string, placementGroupId openapi_types.UUID) (*http.Request, error)
NewGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetRequest constructs an http.Request for the GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet method
func NewGetPlacementGroupsSvcV1PlacementGroupsGetRequest ¶
func NewGetPlacementGroupsSvcV1PlacementGroupsGetRequest(server string, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams) (*http.Request, error)
NewGetPlacementGroupsSvcV1PlacementGroupsGetRequest constructs an http.Request for the GetPlacementGroupsSvcV1PlacementGroupsGet method
func NewGetProjectForPublicSvcV1ProjectsProjectIdGetRequest ¶
func NewGetProjectForPublicSvcV1ProjectsProjectIdGetRequest(server string, projectId string) (*http.Request, error)
NewGetProjectForPublicSvcV1ProjectsProjectIdGetRequest constructs an http.Request for the GetProjectForPublicSvcV1ProjectsProjectIdGet method
func NewGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetRequest ¶
func NewGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetRequest(server string, projectId string) (*http.Request, error)
NewGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetRequest constructs an http.Request for the GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet method
func NewGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetRequest ¶
func NewGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetRequest(server string, protectionPlanId string) (*http.Request, error)
NewGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetRequest constructs an http.Request for the GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet method
func NewGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetRequest ¶
func NewGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetRequest(server string, interfaceId string) (*http.Request, error)
NewGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetRequest constructs an http.Request for the GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet method
func NewGetPublicInterfacesSvcV1InterfacesGetRequest ¶
func NewGetPublicInterfacesSvcV1InterfacesGetRequest(server string, params *GetPublicInterfacesSvcV1InterfacesGetParams) (*http.Request, error)
NewGetPublicInterfacesSvcV1InterfacesGetRequest constructs an http.Request for the GetPublicInterfacesSvcV1InterfacesGet method
func NewGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetRequest ¶
func NewGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetRequest(server string, params *GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams) (*http.Request, error)
NewGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetRequest constructs an http.Request for the GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet method
func NewGetPublicTaskByIdSvcV1TasksTaskIdGetRequest ¶
func NewGetPublicTaskByIdSvcV1TasksTaskIdGetRequest(server string, taskId string) (*http.Request, error)
NewGetPublicTaskByIdSvcV1TasksTaskIdGetRequest constructs an http.Request for the GetPublicTaskByIdSvcV1TasksTaskIdGet method
func NewGetPublicTasksSvcV1TasksGetRequest ¶
func NewGetPublicTasksSvcV1TasksGetRequest(server string, params *GetPublicTasksSvcV1TasksGetParams) (*http.Request, error)
NewGetPublicTasksSvcV1TasksGetRequest constructs an http.Request for the GetPublicTasksSvcV1TasksGet method
func NewGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetRequest ¶
func NewGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetRequest(server string, securityGroupId string) (*http.Request, error)
NewGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetRequest constructs an http.Request for the GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet method
func NewGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetRequest ¶
func NewGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetRequest(server string, securityGroupId string, securityGroupRuleId string) (*http.Request, error)
NewGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetRequest constructs an http.Request for the GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet method
func NewGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetRequest ¶
func NewGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetRequest(server string, securityGroupId string, params *GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams) (*http.Request, error)
NewGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetRequest constructs an http.Request for the GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet method
func NewGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetRequest ¶
func NewGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetRequest(server string, params *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams) (*http.Request, error)
NewGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetRequest constructs an http.Request for the GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet method
func NewGetSubnetByIdSvcV1SubnetsSubnetIdGetRequest ¶
func NewGetSubnetByIdSvcV1SubnetsSubnetIdGetRequest(server string, subnetId openapi_types.UUID) (*http.Request, error)
NewGetSubnetByIdSvcV1SubnetsSubnetIdGetRequest constructs an http.Request for the GetSubnetByIdSvcV1SubnetsSubnetIdGet method
func NewGetSubnetParamsSvcV1ParamsSubnetGetRequest ¶
func NewGetSubnetParamsSvcV1ParamsSubnetGetRequest(server string, params *GetSubnetParamsSvcV1ParamsSubnetGetParams) (*http.Request, error)
NewGetSubnetParamsSvcV1ParamsSubnetGetRequest constructs an http.Request for the GetSubnetParamsSvcV1ParamsSubnetGet method
func NewGetSubnetsSvcV1SubnetsGetRequest ¶
func NewGetSubnetsSvcV1SubnetsGetRequest(server string, params *GetSubnetsSvcV1SubnetsGetParams) (*http.Request, error)
NewGetSubnetsSvcV1SubnetsGetRequest constructs an http.Request for the GetSubnetsSvcV1SubnetsGet method
func NewGetVmByIdSvcV1VmsVmIdGetRequest ¶
func NewGetVmByIdSvcV1VmsVmIdGetRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
NewGetVmByIdSvcV1VmsVmIdGetRequest constructs an http.Request for the GetVmByIdSvcV1VmsVmIdGet method
func NewGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetRequest ¶
func NewGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
NewGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetRequest constructs an http.Request for the GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet method
func NewGetVmParamsSvcV1ParamsVmGetRequest ¶
func NewGetVmParamsSvcV1ParamsVmGetRequest(server string, params *GetVmParamsSvcV1ParamsVmGetParams) (*http.Request, error)
NewGetVmParamsSvcV1ParamsVmGetRequest constructs an http.Request for the GetVmParamsSvcV1ParamsVmGet method
func NewGetVmVncSvcV1VmsVmIdGetVncPostRequest ¶
func NewGetVmVncSvcV1VmsVmIdGetVncPostRequest(server string, vmId openapi_types.UUID) (*http.Request, error)
NewGetVmVncSvcV1VmsVmIdGetVncPostRequest constructs an http.Request for the GetVmVncSvcV1VmsVmIdGetVncPost method
func NewGetVmsSvcV1VmsGetRequest ¶
func NewGetVmsSvcV1VmsGetRequest(server string, params *GetVmsSvcV1VmsGetParams) (*http.Request, error)
NewGetVmsSvcV1VmsGetRequest constructs an http.Request for the GetVmsSvcV1VmsGet method
func NewListBackupsSvcV1BackupsGetRequest ¶
func NewListBackupsSvcV1BackupsGetRequest(server string, params *ListBackupsSvcV1BackupsGetParams) (*http.Request, error)
NewListBackupsSvcV1BackupsGetRequest constructs an http.Request for the ListBackupsSvcV1BackupsGet method
func NewListProtectionPlansSvcV1ProtectionPlansGetRequest ¶
func NewListProtectionPlansSvcV1ProtectionPlansGetRequest(server string, params *ListProtectionPlansSvcV1ProtectionPlansGetParams) (*http.Request, error)
NewListProtectionPlansSvcV1ProtectionPlansGetRequest constructs an http.Request for the ListProtectionPlansSvcV1ProtectionPlansGet method
func NewRebuildVmSvcV1VmsVmIdRebuildPostRequest ¶
func NewRebuildVmSvcV1VmsVmIdRebuildPostRequest(server string, vmId string, body RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody) (*http.Request, error)
NewRebuildVmSvcV1VmsVmIdRebuildPostRequest calls the generic RebuildVmSvcV1VmsVmIdRebuildPost builder with application/json body
func NewRebuildVmSvcV1VmsVmIdRebuildPostRequestWithBody ¶
func NewRebuildVmSvcV1VmsVmIdRebuildPostRequestWithBody(server string, vmId string, contentType string, body io.Reader) (*http.Request, error)
NewRebuildVmSvcV1VmsVmIdRebuildPostRequestWithBody constructs an http.Request for the RebuildVmSvcV1VmsVmIdRebuildPost method, with any body, and a specified content type
func NewReimageDiskSvcV1DisksDiskIdReimagePostRequest ¶
func NewReimageDiskSvcV1DisksDiskIdReimagePostRequest(server string, diskId string, body ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody) (*http.Request, error)
NewReimageDiskSvcV1DisksDiskIdReimagePostRequest calls the generic ReimageDiskSvcV1DisksDiskIdReimagePost builder with application/json body
func NewReimageDiskSvcV1DisksDiskIdReimagePostRequestWithBody ¶
func NewReimageDiskSvcV1DisksDiskIdReimagePostRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
NewReimageDiskSvcV1DisksDiskIdReimagePostRequestWithBody constructs an http.Request for the ReimageDiskSvcV1DisksDiskIdReimagePost method, with any body, and a specified content type
func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequest ¶
func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequest(server string, backupId string, body RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody) (*http.Request, error)
NewRestoreBackupSvcV1BackupsBackupIdActionPostRequest calls the generic RestoreBackupSvcV1BackupsBackupIdActionPost builder with application/json body
func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequestWithBody ¶
func NewRestoreBackupSvcV1BackupsBackupIdActionPostRequestWithBody(server string, backupId string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreBackupSvcV1BackupsBackupIdActionPostRequestWithBody constructs an http.Request for the RestoreBackupSvcV1BackupsBackupIdActionPost method, with any body, and a specified content type
func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequest ¶
func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequest(server string, vmId openapi_types.UUID, body SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody) (*http.Request, error)
NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequest calls the generic SetVmPasswordSvcV1VmsVmIdSetPasswordPost builder with application/json body
func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequestWithBody ¶
func NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetVmPasswordSvcV1VmsVmIdSetPasswordPostRequestWithBody constructs an http.Request for the SetVmPasswordSvcV1VmsVmIdSetPasswordPost method, with any body, and a specified content type
func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequest ¶
func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequest(server string, vmId openapi_types.UUID, body SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody) (*http.Request, error)
NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequest calls the generic SetVmPowerSvcV1VmsVmIdSetPowerPost builder with application/json body
func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequestWithBody ¶
func NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetVmPowerSvcV1VmsVmIdSetPowerPostRequestWithBody constructs an http.Request for the SetVmPowerSvcV1VmsVmIdSetPowerPost method, with any body, and a specified content type
func NewUpdateBackupSvcV1BackupsBackupIdPutRequest ¶
func NewUpdateBackupSvcV1BackupsBackupIdPutRequest(server string, backupId string, body UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody) (*http.Request, error)
NewUpdateBackupSvcV1BackupsBackupIdPutRequest calls the generic UpdateBackupSvcV1BackupsBackupIdPut builder with application/json body
func NewUpdateBackupSvcV1BackupsBackupIdPutRequestWithBody ¶
func NewUpdateBackupSvcV1BackupsBackupIdPutRequestWithBody(server string, backupId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBackupSvcV1BackupsBackupIdPutRequestWithBody constructs an http.Request for the UpdateBackupSvcV1BackupsBackupIdPut method, with any body, and a specified content type
func NewUpdateDiskSvcV1DisksDiskIdPutRequest ¶
func NewUpdateDiskSvcV1DisksDiskIdPutRequest(server string, diskId string, body UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody) (*http.Request, error)
NewUpdateDiskSvcV1DisksDiskIdPutRequest calls the generic UpdateDiskSvcV1DisksDiskIdPut builder with application/json body
func NewUpdateDiskSvcV1DisksDiskIdPutRequestWithBody ¶
func NewUpdateDiskSvcV1DisksDiskIdPutRequestWithBody(server string, diskId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDiskSvcV1DisksDiskIdPutRequestWithBody constructs an http.Request for the UpdateDiskSvcV1DisksDiskIdPut method, with any body, and a specified content type
func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequest ¶
func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequest(server string, floatingIpId string, body UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody) (*http.Request, error)
NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequest calls the generic UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut builder with application/json body
func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequestWithBody ¶
func NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequestWithBody(server string, floatingIpId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutRequestWithBody constructs an http.Request for the UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut method, with any body, and a specified content type
func NewUpdateImageSvcV1ImagesImageIdPutRequest ¶
func NewUpdateImageSvcV1ImagesImageIdPutRequest(server string, imageId string, body UpdateImageSvcV1ImagesImageIdPutJSONRequestBody) (*http.Request, error)
NewUpdateImageSvcV1ImagesImageIdPutRequest calls the generic UpdateImageSvcV1ImagesImageIdPut builder with application/json body
func NewUpdateImageSvcV1ImagesImageIdPutRequestWithBody ¶
func NewUpdateImageSvcV1ImagesImageIdPutRequestWithBody(server string, imageId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateImageSvcV1ImagesImageIdPutRequestWithBody constructs an http.Request for the UpdateImageSvcV1ImagesImageIdPut method, with any body, and a specified content type
func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequest ¶
func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequest(server string, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody) (*http.Request, error)
NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequest calls the generic UpdateMultipleVmStatesPublicSvcV1VmsPut builder with application/json body
func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequestWithBody ¶
func NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMultipleVmStatesPublicSvcV1VmsPutRequestWithBody constructs an http.Request for the UpdateMultipleVmStatesPublicSvcV1VmsPut method, with any body, and a specified content type
func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequest ¶
func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequest(server string, natGatewayId openapi_types.UUID, body UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody) (*http.Request, error)
NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequest calls the generic UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut builder with application/json body
func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequestWithBody ¶
func NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequestWithBody(server string, natGatewayId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutRequestWithBody constructs an http.Request for the UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut method, with any body, and a specified content type
func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequest ¶
func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequest(server string, placementGroupId openapi_types.UUID, body UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody) (*http.Request, error)
NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequest calls the generic UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut builder with application/json body
func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequestWithBody ¶
func NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequestWithBody(server string, placementGroupId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutRequestWithBody constructs an http.Request for the UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut method, with any body, and a specified content type
func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequest ¶
func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequest(server string, protectionPlanId string, body UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody) (*http.Request, error)
NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequest calls the generic UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut builder with application/json body
func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequestWithBody ¶
func NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequestWithBody(server string, protectionPlanId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutRequestWithBody constructs an http.Request for the UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut method, with any body, and a specified content type
func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequest ¶
func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequest(server string, interfaceId string, body UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody) (*http.Request, error)
NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequest calls the generic UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut builder with application/json body
func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequestWithBody ¶
func NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequestWithBody(server string, interfaceId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutRequestWithBody constructs an http.Request for the UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut method, with any body, and a specified content type
func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequest ¶
func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequest(server string, securityGroupId string, securityGroupRuleId string, body UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody) (*http.Request, error)
NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequest calls the generic UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut builder with application/json body
func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequestWithBody ¶
func NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequestWithBody(server string, securityGroupId string, securityGroupRuleId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutRequestWithBody constructs an http.Request for the UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut method, with any body, and a specified content type
func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequest ¶
func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequest(server string, securityGroupId string, body UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody) (*http.Request, error)
NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequest calls the generic UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut builder with application/json body
func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequestWithBody ¶
func NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequestWithBody(server string, securityGroupId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutRequestWithBody constructs an http.Request for the UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut method, with any body, and a specified content type
func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequest ¶
func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequest(server string, subnetId openapi_types.UUID, body UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody) (*http.Request, error)
NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequest calls the generic UpdateSubnetByIdSvcV1SubnetsSubnetIdPut builder with application/json body
func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequestWithBody ¶
func NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequestWithBody(server string, subnetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSubnetByIdSvcV1SubnetsSubnetIdPutRequestWithBody constructs an http.Request for the UpdateSubnetByIdSvcV1SubnetsSubnetIdPut method, with any body, and a specified content type
func NewUpdateVmSvcV1VmsVmIdPutRequest ¶
func NewUpdateVmSvcV1VmsVmIdPutRequest(server string, vmId openapi_types.UUID, body UpdateVmSvcV1VmsVmIdPutJSONRequestBody) (*http.Request, error)
NewUpdateVmSvcV1VmsVmIdPutRequest calls the generic UpdateVmSvcV1VmsVmIdPut builder with application/json body
func NewUpdateVmSvcV1VmsVmIdPutRequestWithBody ¶
func NewUpdateVmSvcV1VmsVmIdPutRequestWithBody(server string, vmId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVmSvcV1VmsVmIdPutRequestWithBody constructs an http.Request for the UpdateVmSvcV1VmsVmIdPut method, with any body, and a specified content type
func NewValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetRequest ¶
func NewValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetRequest(server string, projectId string, params *ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams) (*http.Request, error)
NewValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetRequest constructs an http.Request for the ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet method
Types ¶
type APIExceptionSchema ¶
type APIExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
APIExceptionSchema defines model for APIExceptionSchema.
type ActionBackupRequestBody ¶
type ActionBackupRequestBody struct {
// Action Действие с резервной копией.
// Доступно только значение “restore“ — восстановление ресурса из копии.
Action *BackupAction `json:"action,omitempty"`
// Resource Ресурс.
Resource RestoreBackupResource `json:"resource"`
}
ActionBackupRequestBody defines model for ActionBackupRequestBody.
type AllowedAddressPairMiniResponse ¶
type AllowedAddressPairMiniResponse struct {
// IpAddress IP-адрес.
IpAddress AllowedAddressPairMiniResponse_IpAddress `json:"ip_address"`
// MacAddress MAC-адрес
MacAddress string `json:"mac_address"`
}
AllowedAddressPairMiniResponse defines model for AllowedAddressPairMiniResponse.
type AllowedAddressPairMiniResponseIpAddress0 ¶
type AllowedAddressPairMiniResponseIpAddress0 = string
AllowedAddressPairMiniResponseIpAddress0 defines model for AllowedAddressPairMiniResponse.IpAddress.0.
type AllowedAddressPairMiniResponseIpAddress1 ¶
type AllowedAddressPairMiniResponseIpAddress1 = string
AllowedAddressPairMiniResponseIpAddress1 defines model for AllowedAddressPairMiniResponse.IpAddress.1.
type AllowedAddressPairMiniResponse_IpAddress ¶
type AllowedAddressPairMiniResponse_IpAddress struct {
// contains filtered or unexported fields
}
AllowedAddressPairMiniResponse_IpAddress IP-адрес.
func (AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress0 ¶
func (t AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress0() (AllowedAddressPairMiniResponseIpAddress0, error)
AsAllowedAddressPairMiniResponseIpAddress0 returns the union data inside the AllowedAddressPairMiniResponse_IpAddress as a AllowedAddressPairMiniResponseIpAddress0
func (AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress1 ¶
func (t AllowedAddressPairMiniResponse_IpAddress) AsAllowedAddressPairMiniResponseIpAddress1() (AllowedAddressPairMiniResponseIpAddress1, error)
AsAllowedAddressPairMiniResponseIpAddress1 returns the union data inside the AllowedAddressPairMiniResponse_IpAddress as a AllowedAddressPairMiniResponseIpAddress1
func (*AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress0 ¶
func (t *AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress0(v AllowedAddressPairMiniResponseIpAddress0) error
FromAllowedAddressPairMiniResponseIpAddress0 overwrites any union data inside the AllowedAddressPairMiniResponse_IpAddress as the provided AllowedAddressPairMiniResponseIpAddress0
func (*AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress1 ¶
func (t *AllowedAddressPairMiniResponse_IpAddress) FromAllowedAddressPairMiniResponseIpAddress1(v AllowedAddressPairMiniResponseIpAddress1) error
FromAllowedAddressPairMiniResponseIpAddress1 overwrites any union data inside the AllowedAddressPairMiniResponse_IpAddress as the provided AllowedAddressPairMiniResponseIpAddress1
func (AllowedAddressPairMiniResponse_IpAddress) MarshalJSON ¶
func (t AllowedAddressPairMiniResponse_IpAddress) MarshalJSON() ([]byte, error)
func (*AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress0 ¶
func (t *AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress0(v AllowedAddressPairMiniResponseIpAddress0) error
MergeAllowedAddressPairMiniResponseIpAddress0 performs a merge with any union data inside the AllowedAddressPairMiniResponse_IpAddress, using the provided AllowedAddressPairMiniResponseIpAddress0
func (*AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress1 ¶
func (t *AllowedAddressPairMiniResponse_IpAddress) MergeAllowedAddressPairMiniResponseIpAddress1(v AllowedAddressPairMiniResponseIpAddress1) error
MergeAllowedAddressPairMiniResponseIpAddress1 performs a merge with any union data inside the AllowedAddressPairMiniResponse_IpAddress, using the provided AllowedAddressPairMiniResponseIpAddress1
func (*AllowedAddressPairMiniResponse_IpAddress) UnmarshalJSON ¶
func (t *AllowedAddressPairMiniResponse_IpAddress) UnmarshalJSON(b []byte) error
type AllowedAddressPairScheme ¶
type AllowedAddressPairScheme struct {
// IpAddress IP-адрес.
IpAddress AllowedAddressPairScheme_IpAddress `json:"ip_address"`
// MacAddress MAC-адрес
MacAddress *string `json:"mac_address,omitempty"`
}
AllowedAddressPairScheme defines model for AllowedAddressPairScheme.
type AllowedAddressPairSchemeIpAddress0 ¶
type AllowedAddressPairSchemeIpAddress0 = string
AllowedAddressPairSchemeIpAddress0 defines model for AllowedAddressPairScheme.IpAddress.0.
type AllowedAddressPairSchemeIpAddress1 ¶
type AllowedAddressPairSchemeIpAddress1 = string
AllowedAddressPairSchemeIpAddress1 defines model for AllowedAddressPairScheme.IpAddress.1.
type AllowedAddressPairScheme_IpAddress ¶
type AllowedAddressPairScheme_IpAddress struct {
// contains filtered or unexported fields
}
AllowedAddressPairScheme_IpAddress IP-адрес.
func (AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress0 ¶
func (t AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress0() (AllowedAddressPairSchemeIpAddress0, error)
AsAllowedAddressPairSchemeIpAddress0 returns the union data inside the AllowedAddressPairScheme_IpAddress as a AllowedAddressPairSchemeIpAddress0
func (AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress1 ¶
func (t AllowedAddressPairScheme_IpAddress) AsAllowedAddressPairSchemeIpAddress1() (AllowedAddressPairSchemeIpAddress1, error)
AsAllowedAddressPairSchemeIpAddress1 returns the union data inside the AllowedAddressPairScheme_IpAddress as a AllowedAddressPairSchemeIpAddress1
func (*AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress0 ¶
func (t *AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress0(v AllowedAddressPairSchemeIpAddress0) error
FromAllowedAddressPairSchemeIpAddress0 overwrites any union data inside the AllowedAddressPairScheme_IpAddress as the provided AllowedAddressPairSchemeIpAddress0
func (*AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress1 ¶
func (t *AllowedAddressPairScheme_IpAddress) FromAllowedAddressPairSchemeIpAddress1(v AllowedAddressPairSchemeIpAddress1) error
FromAllowedAddressPairSchemeIpAddress1 overwrites any union data inside the AllowedAddressPairScheme_IpAddress as the provided AllowedAddressPairSchemeIpAddress1
func (AllowedAddressPairScheme_IpAddress) MarshalJSON ¶
func (t AllowedAddressPairScheme_IpAddress) MarshalJSON() ([]byte, error)
func (*AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress0 ¶
func (t *AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress0(v AllowedAddressPairSchemeIpAddress0) error
MergeAllowedAddressPairSchemeIpAddress0 performs a merge with any union data inside the AllowedAddressPairScheme_IpAddress, using the provided AllowedAddressPairSchemeIpAddress0
func (*AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress1 ¶
func (t *AllowedAddressPairScheme_IpAddress) MergeAllowedAddressPairSchemeIpAddress1(v AllowedAddressPairSchemeIpAddress1) error
MergeAllowedAddressPairSchemeIpAddress1 performs a merge with any union data inside the AllowedAddressPairScheme_IpAddress, using the provided AllowedAddressPairSchemeIpAddress1
func (*AllowedAddressPairScheme_IpAddress) UnmarshalJSON ¶
func (t *AllowedAddressPairScheme_IpAddress) UnmarshalJSON(b []byte) error
type ApiModelsV11VmSchemasPublicVmCreateRequest ¶
type ApiModelsV11VmSchemasPublicVmCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
//
// Обязательно укажите один из параметров: `availability_zone_id` или `availability_zone_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор зоны доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneId *openapi_types.UUID `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
//
// Обязательно укажите один из параметров: `availability_zone_id` или `availability_zone_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Название зоны доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// CloudInit Шаблон [скрипта cloud-init](https://cloudinit.readthedocs.io/en/latest/explanation/introduction.html): позволяет автоматизировать начальную настройку виртуальной машины при первом запуске. В шаблоне передаются поля метаданных и пользовательских данных, которые автоматически подставятся при разворачивании виртуальной машины из образа. Например, в cloud-init можно передать имя хоста, IP-адрес, логин и пароль пользователя, SSH-ключи и другие параметры.
CloudInit *string `json:"cloud_init,omitempty"`
// Description Описание виртуальной машины.
Description *string `json:"description,omitempty"`
// Disks Диски. При создании ВМ ей необходимо подключить загрузочный диск, с которого будет загружаться система:
// - Если в запросе вы указываете образ для развертывания системы, создайте новый диск, указав параметы блока `NewDisk`.
// - Если образ в запросе не указан, подключите существующий диск, указав параметры блока `ExistingDisk`.
// При этом выбранный диск должен быть загрузочным — `"bootable": true`, чтобы содержать образ для развертывания системы.
//
// Вы также можете подключить несколько дополнительных новых или существующих дисков, у которых `"bootable": false`.
// Максимальное количество дисков определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины.
//
// [Подробнее о дисках](https://cloud.ru/docs/disks/ug/topics/concepts__disks?source-platform=Evolution)
Disks ApiModelsV11VmSchemasVmCreateDiskSection `json:"disks"`
// FlavorId Идентификатор флейвора.
// [Подробнее о флейворах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors?source-platform=Evolution).
//
// Обязательно укажите один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификаторы флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorId *openapi_types.UUID `json:"flavor_id,omitempty"`
// FlavorName Название флейвора.
// [Подробнее о флейворах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors?source-platform=Evolution).
//
// Обязательно укажите один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Названия флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorName *string `json:"flavor_name,omitempty"`
// ImageId Идентификатор образа.
// Образ содержит файлы операционной системы, необходимые для создания ВМ.
// [Подробнее об образах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__images?source-platform=Evolution).
//
// Укажите один из параметров: `image_id` или `image_name`. Нельзя указывать оба параметра одновременно.
// Идентификаторы образов можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
//
// Операционную систему ВМ можно развернуть с готового загрузочного диска. В этом случае указывается диск в блоке `disks`, а параметры образа не задаются.
ImageId *openapi_types.UUID `json:"image_id,omitempty"`
// ImageMetadata Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно получить, выполнив запрос [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// При создании ВМ укажите каждое необходимое поле метаданных в виде пары `"ключ": "значение"`, где `"ключ"` — параметр `name` поля метаданных.
ImageMetadata *map[string]string `json:"image_metadata,omitempty"`
// ImageName Название образа.
// Образ содержит файлы операционной системы, необходимые для создания ВМ.
// [Подробнее об образах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__images?source-platform=Evolution).
//
// Укажите один из параметров: `image_id` или `image_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы образов можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
//
// Операционную систему ВМ можно развернуть с готового загрузочного диска. В этом случае указывается диск в блоке `disks`, а параметры образа не задаются.
ImageName *string `json:"image_name,omitempty"`
// Interfaces Сетевые интерфейсы. Максимальное количество интерфейсов определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины. Если интерфейсы не будут указаны в параметрах запроса, машина будет создана с одним сетевым интерфейсом в подсети по умолчанию.
Interfaces *[]VmCreateInterfaceSection `json:"interfaces,omitempty"`
// Name Название виртуальной машины. Обязательный параметр.
Name string `json:"name"`
// PlacementGroupId Идентификатор группы размещения.
// [Подробнее о группах размещения](https://cloud.ru/docs/placement-groups/ug/topics/overview__limitations?source-platform=Evolution).
//
// Чтобы добавить ВМ в группу размещения, укажите параметр `placement_group_id` или `placement_group_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы групп размещения можно получить, выполнив запрос [GET /api/v1/placement-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Placement-Groups/operation/get_placement_groups_svc_v1_placement_groups_get).
PlacementGroupId *openapi_types.UUID `json:"placement_group_id,omitempty"`
// PlacementGroupName Название группы размещения.
// [Подробнее о группах размещения](https://cloud.ru/docs/placement-groups/ug/topics/overview__limitations?source-platform=Evolution).
//
// Чтобы добавить ВМ в группу размещения, укажите параметр `placement_group_id` или `placement_group_name`.
// Нельзя указывать оба параметра одновременно.
// Названия групп размещения можно получить, выполнив запрос [GET /api/v1/placement-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Placement-Groups/operation/get_placement_groups_svc_v1_placement_groups_get).
PlacementGroupName *string `json:"placement_group_name,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос. Обязательный параметр.
ProjectId openapi_types.UUID `json:"project_id"`
// TagIds Идентификаторы тегов.
//
// Чтобы назначить теги ВМ, укажите их в одном из параметров: `tag_ids` или `tag_names`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]openapi_types.UUID `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
//
// Чтобы назначить теги ВМ, укажите их в одном из параметров: `tag_ids` или `tag_names`.
// Нельзя указывать оба параметра одновременно.
// Названия тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagNames *[]string `json:"tag_names,omitempty"`
}
ApiModelsV11VmSchemasPublicVmCreateRequest defines model for api__models__v1_1__vm_schemas__PublicVmCreateRequest.
type ApiModelsV11VmSchemasPublicVmsCreateRequest ¶
type ApiModelsV11VmSchemasPublicVmsCreateRequest = []ApiModelsV11VmSchemasPublicVmCreateRequest
ApiModelsV11VmSchemasPublicVmsCreateRequest defines model for api__models__v1_1__vm_schemas__PublicVmsCreateRequest.
type ApiModelsV11VmSchemasVmCreateDiskSection ¶
type ApiModelsV11VmSchemasVmCreateDiskSection = []ApiModelsV11VmSchemasVmCreateDiskSection_Item
ApiModelsV11VmSchemasVmCreateDiskSection Диски. При создании ВМ ей необходимо подключить загрузочный диск, с которого будет загружаться система:
- Если в запросе вы указываете образ для развертывания системы, создайте новый диск, указав параметы блока `NewDisk`.
- Если образ в запросе не указан, подключите существующий диск, указав параметры блока `ExistingDisk`. При этом выбранный диск должен быть загрузочным — `"bootable": true`, чтобы содержать образ для развертывания системы.
Вы также можете подключить несколько дополнительных новых или существующих дисков, у которых `"bootable": false`. Максимальное количество дисков определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины.
[Подробнее о дисках](https://cloud.ru/docs/disks/ug/topics/concepts__disks?source-platform=Evolution)
type ApiModelsV11VmSchemasVmCreateDiskSection_Item ¶
type ApiModelsV11VmSchemasVmCreateDiskSection_Item struct {
// contains filtered or unexported fields
}
ApiModelsV11VmSchemasVmCreateDiskSection_Item defines model for api__models__v1_1__vm_schemas__VmCreateDiskSection.Item.
func (ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateExistingDiskItem ¶
func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateExistingDiskItem() (ApiModelsV11VmSchemasVmCreateExistingDiskItem, error)
AsApiModelsV11VmSchemasVmCreateExistingDiskItem returns the union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item as a ApiModelsV11VmSchemasVmCreateExistingDiskItem
func (ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateNewDiskItem ¶
func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) AsApiModelsV11VmSchemasVmCreateNewDiskItem() (ApiModelsV11VmSchemasVmCreateNewDiskItem, error)
AsApiModelsV11VmSchemasVmCreateNewDiskItem returns the union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item as a ApiModelsV11VmSchemasVmCreateNewDiskItem
func (*ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateExistingDiskItem ¶
func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateExistingDiskItem(v ApiModelsV11VmSchemasVmCreateExistingDiskItem) error
FromApiModelsV11VmSchemasVmCreateExistingDiskItem overwrites any union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item as the provided ApiModelsV11VmSchemasVmCreateExistingDiskItem
func (*ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateNewDiskItem ¶
func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) FromApiModelsV11VmSchemasVmCreateNewDiskItem(v ApiModelsV11VmSchemasVmCreateNewDiskItem) error
FromApiModelsV11VmSchemasVmCreateNewDiskItem overwrites any union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item as the provided ApiModelsV11VmSchemasVmCreateNewDiskItem
func (ApiModelsV11VmSchemasVmCreateDiskSection_Item) MarshalJSON ¶
func (t ApiModelsV11VmSchemasVmCreateDiskSection_Item) MarshalJSON() ([]byte, error)
func (*ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateExistingDiskItem ¶
func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateExistingDiskItem(v ApiModelsV11VmSchemasVmCreateExistingDiskItem) error
MergeApiModelsV11VmSchemasVmCreateExistingDiskItem performs a merge with any union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item, using the provided ApiModelsV11VmSchemasVmCreateExistingDiskItem
func (*ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateNewDiskItem ¶
func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) MergeApiModelsV11VmSchemasVmCreateNewDiskItem(v ApiModelsV11VmSchemasVmCreateNewDiskItem) error
MergeApiModelsV11VmSchemasVmCreateNewDiskItem performs a merge with any union data inside the ApiModelsV11VmSchemasVmCreateDiskSection_Item, using the provided ApiModelsV11VmSchemasVmCreateNewDiskItem
func (*ApiModelsV11VmSchemasVmCreateDiskSection_Item) UnmarshalJSON ¶
func (t *ApiModelsV11VmSchemasVmCreateDiskSection_Item) UnmarshalJSON(b []byte) error
type ApiModelsV11VmSchemasVmCreateExistingDiskItem ¶
type ApiModelsV11VmSchemasVmCreateExistingDiskItem struct {
// DiskId Идентификатор диска.
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификаторы доступных дисков можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskId *openapi_types.UUID `json:"disk_id,omitempty"`
// DiskName Название диска.
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Названия доступных дисков можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskName *string `json:"disk_name,omitempty"`
}
ApiModelsV11VmSchemasVmCreateExistingDiskItem Существующий диск.
type ApiModelsV11VmSchemasVmCreateNewDiskItem ¶
type ApiModelsV11VmSchemasVmCreateNewDiskItem struct {
// DiskTypeId Идентификатор [типа диска](https://cloud.ru/docs/disks/ug/topics/overview__limitations?source-platform=Evolution#concepts-overview-limitations-disk-parameters).
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор типа диска можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeId *openapi_types.UUID `json:"disk_type_id,omitempty"`
// DiskTypeName Название [типа диска](https://cloud.ru/docs/disks/ug/topics/overview__limitations?source-platform=Evolution#concepts-overview-limitations-disk-parameters).
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор типа диска можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Name Название диска.
Name string `json:"name"`
// Size Размер диска в ГБ.
Size int `json:"size"`
}
ApiModelsV11VmSchemasVmCreateNewDiskItem Новый диск.
type ApiModelsVmSchemasPublicVmCreateRequest ¶
type ApiModelsVmSchemasPublicVmCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
//
// Обязательно укажите один из параметров: `availability_zone_id` или `availability_zone_name`. Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор зоны доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneId *openapi_types.UUID `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
//
// Обязательно укажите один из параметров: `availability_zone_id` или `availability_zone_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Название зоны доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// CloudInit Шаблон [скрипта cloud-init](https://cloudinit.readthedocs.io/en/latest/explanation/introduction.html): позволяет автоматизировать начальную настройку виртуальной машины при первом запуске. В шаблоне передаются поля метаданных и пользовательских данных, которые автоматически подставятся при разворачивании виртуальной машины из образа. Например, в cloud-init можно передать имя хоста, IP-адрес, логин и пароль пользователя, SSH-ключи и другие параметры.
CloudInit *string `json:"cloud_init,omitempty"`
// Description Описание виртуальной машины.
Description *string `json:"description,omitempty"`
// Disks Диски.
// При создании ВМ ей необходимо подключить загрузочный диск, с которого будет загружаться система:
// - Если в запросе вы указываете образ для развертывания системы, создайте новый диск, указав параметы блока `NewDisk`.
// - Если образ в запросе не указан, подключите существующий диск, указав параметры блока `ExistingDisk`.
// При этом выбранный диск должен быть загрузочным — `"bootable": true`, чтобы содержать образ для развертывания системы.
//
// Вы также можете подключить несколько дополнительных новых или существующих дисков, у которых `"bootable": false`.
// Максимальное количество дисков определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины.
//
// [Подробнее о дисках](https://cloud.ru/docs/disks/ug/topics/concepts__disks?source-platform=Evolution)
Disks ApiModelsVmSchemasVmCreateDiskSection `json:"disks"`
// FlavorId Идентификатор флейвора.
// [Подробнее о флейворах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors?source-platform=Evolution).
//
// Обязательно укажите один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор флейвора можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorId *openapi_types.UUID `json:"flavor_id,omitempty"`
// FlavorName Название флейвора.
// [Подробнее о флейворах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors?source-platform=Evolution).
//
// Обязательно укажите один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Название флейвора можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorName *string `json:"flavor_name,omitempty"`
// ImageId Идентификатор образа.
// Образ содержит файлы операционной системы, необходимые для создания ВМ.
// [Подробнее об образах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__images?source-platform=Evolution).
//
// Укажите один из параметров: `image_id` или `image_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор образа можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
//
// Операционную систему ВМ можно развернуть с готового загрузочного диска.
// В этом случает указывается диск в блоке `disks`, а параметры образа не задаются.
ImageId *openapi_types.UUID `json:"image_id,omitempty"`
// ImageMetadata Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно получить, выполнив запрос [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// При создании ВМ укажите каждое необходимое поле метаданных в виде пары `"ключ": "значение"`, где `"ключ"` — параметр `name` поля метаданных.
// Вы можете передать метаданные в блоке `metadata_fields` или `image_metadata`.
// Если оба блока указаны, в ВМ будут переданы значения блока `metadata_fields`.
ImageMetadata *map[string]string `json:"image_metadata,omitempty"`
// ImageName Название образа.
// Образ содержит файлы операционной системы, необходимые для создания ВМ.
// [Подробнее об образах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__images?source-platform=Evolution).
//
// Укажите один из параметров: `image_id` или `image_name`. Нельзя указывать оба параметра одновременно.
// Название образа можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
//
// Операционную систему ВМ можно развернуть с готового загрузочного диска.
// В этом случает указывается диск в блоке `disks`, а параметры образа не задаются.
ImageName *string `json:"image_name,omitempty"`
// MetadataFields Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно получить, выполнив запрос [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// Вы можете передать метаданные в блоке `metadata_fields` или `image_metadata`.
// Если оба блока указаны, в ВМ будут переданы значения блока `metadata_fields`.
MetadataFields *[]VmCreateMetadataByIdSection `json:"metadata_fields,omitempty"`
// Name Название виртуальной машины. Обязательный параметр.
Name string `json:"name"`
// PlacementGroupId Идентификатор группы размещения.
// [Подробнее о группах размещения](https://cloud.ru/docs/placement-groups/ug/topics/overview__limitations?source-platform=Evolution).
//
// Чтобы добавить ВМ в группу размещения, укажите параметр `placement_group_id` или `placement_group_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор группы размещения можно получить, выполнив запрос [GET /api/v1/placement-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Placement-Groups/operation/get_placement_groups_svc_v1_placement_groups_get).
PlacementGroupId *openapi_types.UUID `json:"placement_group_id,omitempty"`
// PlacementGroupName Название группы размещения.
// [Подробнее о группах размещения](https://cloud.ru/docs/placement-groups/ug/topics/overview__limitations?source-platform=Evolution).
//
// Чтобы добавить ВМ в группу размещения, укажите параметр `placement_group_id` или `placement_group_name`.
// Нельзя указывать оба параметра одновременно.
// Название группы размещения можно получить, выполнив запрос [GET /api/v1/placement-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Placement-Groups/operation/get_placement_groups_svc_v1_placement_groups_get).
PlacementGroupName *string `json:"placement_group_name,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос. Обязательный параметр.
ProjectId openapi_types.UUID `json:"project_id"`
// Subnets Подсети.
// В этом блоке указываются подсети, к которым будет подключена ВМ.
// Для каждого подключения можно указать IP-адрес ВМ в этой подсети, группы безопасности, а также один публичный IP-адрес в одной из подключенных подсетей.
// Если вы не укажете ни одной подсети, ВМ будет подключена к подсети по умолчанию в этой зоне доступности.
//
// Максимальное количество подсетей определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины.
Subnets *[]VmCreateSubnetSection `json:"subnets,omitempty"`
// TagIds Идентификаторы тегов.
//
// Чтобы назначить теги ВМ, укажите их в одном из параметров: `tag_ids` или `tag_names`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]openapi_types.UUID `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
//
// Чтобы назначить теги ВМ, укажите их в одном из параметров: `tag_ids` или `tag_names`.
// Нельзя указывать оба параметра одновременно.
// Названия тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagNames *[]string `json:"tag_names,omitempty"`
}
ApiModelsVmSchemasPublicVmCreateRequest defines model for api__models__vm_schemas__PublicVmCreateRequest.
type ApiModelsVmSchemasPublicVmsCreateRequest ¶
type ApiModelsVmSchemasPublicVmsCreateRequest = []ApiModelsVmSchemasPublicVmCreateRequest
ApiModelsVmSchemasPublicVmsCreateRequest defines model for api__models__vm_schemas__PublicVmsCreateRequest.
type ApiModelsVmSchemasVmCreateDiskSection ¶
type ApiModelsVmSchemasVmCreateDiskSection = []ApiModelsVmSchemasVmCreateDiskSection_Item
ApiModelsVmSchemasVmCreateDiskSection Диски. При создании ВМ ей необходимо подключить загрузочный диск, с которого будет загружаться система:
- Если в запросе вы указываете образ для развертывания системы, создайте новый диск, указав параметы блока `NewDisk`.
- Если образ в запросе не указан, подключите существующий диск, указав параметры блока `ExistingDisk`. При этом выбранный диск должен быть загрузочным — `"bootable": true`, чтобы содержать образ для развертывания системы.
Вы также можете подключить несколько дополнительных новых или существующих дисков, у которых `"bootable": false`. Максимальное количество дисков определяется [количеством PCI-слотов](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#pci) и зависит от конфигурации машины.
[Подробнее о дисках](https://cloud.ru/docs/disks/ug/topics/concepts__disks?source-platform=Evolution)
type ApiModelsVmSchemasVmCreateDiskSection_Item ¶
type ApiModelsVmSchemasVmCreateDiskSection_Item struct {
// contains filtered or unexported fields
}
ApiModelsVmSchemasVmCreateDiskSection_Item defines model for api__models__vm_schemas__VmCreateDiskSection.Item.
func (ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateExistingDiskItem ¶
func (t ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateExistingDiskItem() (ApiModelsVmSchemasVmCreateExistingDiskItem, error)
AsApiModelsVmSchemasVmCreateExistingDiskItem returns the union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item as a ApiModelsVmSchemasVmCreateExistingDiskItem
func (ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateNewDiskItem ¶
func (t ApiModelsVmSchemasVmCreateDiskSection_Item) AsApiModelsVmSchemasVmCreateNewDiskItem() (ApiModelsVmSchemasVmCreateNewDiskItem, error)
AsApiModelsVmSchemasVmCreateNewDiskItem returns the union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item as a ApiModelsVmSchemasVmCreateNewDiskItem
func (*ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateExistingDiskItem ¶
func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateExistingDiskItem(v ApiModelsVmSchemasVmCreateExistingDiskItem) error
FromApiModelsVmSchemasVmCreateExistingDiskItem overwrites any union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item as the provided ApiModelsVmSchemasVmCreateExistingDiskItem
func (*ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateNewDiskItem ¶
func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) FromApiModelsVmSchemasVmCreateNewDiskItem(v ApiModelsVmSchemasVmCreateNewDiskItem) error
FromApiModelsVmSchemasVmCreateNewDiskItem overwrites any union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item as the provided ApiModelsVmSchemasVmCreateNewDiskItem
func (ApiModelsVmSchemasVmCreateDiskSection_Item) MarshalJSON ¶
func (t ApiModelsVmSchemasVmCreateDiskSection_Item) MarshalJSON() ([]byte, error)
func (*ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateExistingDiskItem ¶
func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateExistingDiskItem(v ApiModelsVmSchemasVmCreateExistingDiskItem) error
MergeApiModelsVmSchemasVmCreateExistingDiskItem performs a merge with any union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item, using the provided ApiModelsVmSchemasVmCreateExistingDiskItem
func (*ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateNewDiskItem ¶
func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) MergeApiModelsVmSchemasVmCreateNewDiskItem(v ApiModelsVmSchemasVmCreateNewDiskItem) error
MergeApiModelsVmSchemasVmCreateNewDiskItem performs a merge with any union data inside the ApiModelsVmSchemasVmCreateDiskSection_Item, using the provided ApiModelsVmSchemasVmCreateNewDiskItem
func (*ApiModelsVmSchemasVmCreateDiskSection_Item) UnmarshalJSON ¶
func (t *ApiModelsVmSchemasVmCreateDiskSection_Item) UnmarshalJSON(b []byte) error
type ApiModelsVmSchemasVmCreateExistingDiskItem ¶
type ApiModelsVmSchemasVmCreateExistingDiskItem struct {
// DiskId Идентификатор диска.
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор диска можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskId *openapi_types.UUID `json:"disk_id,omitempty"`
// DiskName Название диска.
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Название диска можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskName *string `json:"disk_name,omitempty"`
}
ApiModelsVmSchemasVmCreateExistingDiskItem Существующий диск.
type ApiModelsVmSchemasVmCreateNewDiskItem ¶
type ApiModelsVmSchemasVmCreateNewDiskItem struct {
// DiskTypeId Идентификатор [типа диска](https://cloud.ru/docs/disks/ug/topics/overview__limitations?source-platform=Evolution#concepts-overview-limitations-disk-parameters).
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор типа диска можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeId *openapi_types.UUID `json:"disk_type_id,omitempty"`
// DiskTypeName Название [типа диска](https://cloud.ru/docs/disks/ug/topics/overview__limitations?source-platform=Evolution#concepts-overview-limitations-disk-parameters).
//
// Обязательно укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор типа диска можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Name Название диска.
Name string `json:"name"`
// Size Размер диска в ГБ.
Size int `json:"size"`
}
ApiModelsVmSchemasVmCreateNewDiskItem Новый диск.
type AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody ¶
type AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody = DiskAttachRequest
AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody defines body for AttachDiskSvcV1DisksDiskIdAttachPost for application/json ContentType.
type AttachDiskSvcV1DisksDiskIdAttachPostResponse ¶
type AttachDiskSvcV1DisksDiskIdAttachPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseAttachDiskSvcV1DisksDiskIdAttachPostResponse ¶
func ParseAttachDiskSvcV1DisksDiskIdAttachPostResponse(rsp *http.Response) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
ParseAttachDiskSvcV1DisksDiskIdAttachPostResponse parses an HTTP response from a AttachDiskSvcV1DisksDiskIdAttachPostWithResponse call
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) ContentType ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetBody ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON200 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON200() *PublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON401 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON403 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON404 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON422 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON500 ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) Status ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) Status() string
Status returns HTTPResponse.Status
func (AttachDiskSvcV1DisksDiskIdAttachPostResponse) StatusCode ¶
func (r AttachDiskSvcV1DisksDiskIdAttachPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthForbiddenExceptionSchema ¶
type AuthForbiddenExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
AuthForbiddenExceptionSchema defines model for AuthForbiddenExceptionSchema.
type AuthUnauthorizedExceptionSchema ¶
type AuthUnauthorizedExceptionSchema struct {
Code string `json:"code"`
Message string `json:"message"`
}
AuthUnauthorizedExceptionSchema defines model for AuthUnauthorizedExceptionSchema.
type AvailabilityZoneLiteSchema ¶
type AvailabilityZoneLiteSchema struct {
// Enabled Если указано значение `true`, зона доступности включена.
Enabled bool `json:"enabled"`
// Id Идентификатор зоны доступности.
Id string `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
AvailabilityZoneLiteSchema Зона доступности.
type AvailabilityZoneMiniResponse ¶
type AvailabilityZoneMiniResponse struct {
// Id Идентификатор зоны доступности.
Id string `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
AvailabilityZoneMiniResponse Зона доступности.
type AvailabilityZoneNotFoundExceptionSchema ¶
type AvailabilityZoneNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
AvailabilityZoneNotFoundExceptionSchema defines model for AvailabilityZoneNotFoundExceptionSchema.
type BackupAction ¶
type BackupAction string
BackupAction Действие с резервной копией. Доступно только значение “restore“ — восстановление ресурса из копии.
const (
BackupActionRestore BackupAction = "restore"
)
Defines values for BackupAction.
func (BackupAction) Valid ¶
func (e BackupAction) Valid() bool
Valid indicates whether the value is a known member of the BackupAction enum.
type BackupDiskResourceStateDiskMountSection ¶
type BackupDiskResourceStateDiskMountSection struct {
// DiskId Идентификатор диска.
DiskId openapi_types.UUID `json:"disk_id"`
// Hidden Признак скрытого объекта.
Hidden bool `json:"hidden"`
// Id Идентификатор записи.
Id openapi_types.UUID `json:"id"`
// Mode Режим доступа: `rw` — чтение и запись, `ro` — только чтение.
Mode string `json:"mode"`
// MountPoint Точка монтирования.
MountPoint string `json:"mount_point"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// UserId Идентификатор пользователя.
UserId openapi_types.UUID `json:"user_id"`
// Vm Виртуальная машина, к которой примонтирован диск.
Vm BackupDiskResourceStateDiskMountVmSection `json:"vm"`
// VmId Идентификатор виртуальной машины.
VmId openapi_types.UUID `json:"vm_id"`
}
BackupDiskResourceStateDiskMountSection Записи о монтировании.
type BackupDiskResourceStateDiskMountVmSection ¶
type BackupDiskResourceStateDiskMountVmSection struct {
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Name Название виртуальной машины.
Name string `json:"name"`
// State Статус виртуальной машины.
State string `json:"state"`
}
BackupDiskResourceStateDiskMountVmSection Виртуальная машина, к которой примонтирован диск.
type BackupDiskResourceStateDiskTypeSection ¶
type BackupDiskResourceStateDiskTypeSection struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id openapi_types.UUID `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
BackupDiskResourceStateDiskTypeSection Тип диска.
type BackupDiskResourceStateSection ¶
type BackupDiskResourceStateSection struct {
// AvailabilityZone Зона доступности.
AvailabilityZone *BackupResourceStateAvailabilityZoneSection `json:"availability_zone,omitempty"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId openapi_types.UUID `json:"availability_zone_id"`
// Bootable Признак загрузочного диска.
Bootable bool `json:"bootable"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание диска.
Description *string `json:"description,omitempty"`
// DiskMounts Записи о монтировании.
DiskMounts []BackupDiskResourceStateDiskMountSection `json:"disk_mounts"`
// DiskType Тип диска.
DiskType BackupDiskResourceStateDiskTypeSection `json:"disk_type"`
// DiskTypeId Идентификатор типа диска.
DiskTypeId openapi_types.UUID `json:"disk_type_id"`
// Encrypted Признак зашифрованного диска.
Encrypted bool `json:"encrypted"`
// Hidden Признак скрытого объекта.
Hidden bool `json:"hidden"`
// Id Идентификатор диска.
Id openapi_types.UUID `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для нового размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название диска.
Name string `json:"name"`
// OwnerProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
OwnerProductInstanceId openapi_types.UUID `json:"owner_product_instance_id"`
// Project Проект.
Project *BackupResourceStateProjectSection `json:"project,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId openapi_types.UUID `json:"project_id"`
// Readonly Признак диска только для чтения.
Readonly bool `json:"readonly"`
// SerialId Серийный номер диска.
SerialId string `json:"serial_id"`
Shared bool `json:"shared"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска.
State string `json:"state"`
// Tags Теги.
Tags []BackupTagItemSection `json:"tags"`
// UserId Идентификатор пользователя.
UserId openapi_types.UUID `json:"user_id"`
}
BackupDiskResourceStateSection Конфигурация диска.
type BackupDiskRestoreConfigurationAvailabilityZoneSection ¶
type BackupDiskRestoreConfigurationAvailabilityZoneSection struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId openapi_types.UUID `json:"availability_zone_id"`
// Default `true` - является зоной доступности по умолчанию, `false` - не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled bool `json:"enabled"`
}
BackupDiskRestoreConfigurationAvailabilityZoneSection defines model for BackupDiskRestoreConfigurationAvailabilityZoneSection.
type BackupDiskRestoreConfigurationDiskTypeSection ¶
type BackupDiskRestoreConfigurationDiskTypeSection struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id openapi_types.UUID `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
BackupDiskRestoreConfigurationDiskTypeSection defines model for BackupDiskRestoreConfigurationDiskTypeSection.
type BackupDiskRestoreConfigurationSection ¶
type BackupDiskRestoreConfigurationSection struct {
AvailabilityZone BackupDiskRestoreConfigurationAvailabilityZoneSection `json:"availability_zone"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId openapi_types.UUID `json:"availability_zone_id"`
// Bootable Признак загрузочного диска.
Bootable bool `json:"bootable"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание диска.
Description *string `json:"description,omitempty"`
// DiskMounts Записи о монтировании.
DiskMounts []BackupDiskResourceStateDiskMountSection `json:"disk_mounts"`
DiskType BackupDiskRestoreConfigurationDiskTypeSection `json:"disk_type"`
// DiskTypeId Идентификатор типа диска.
DiskTypeId openapi_types.UUID `json:"disk_type_id"`
// Encrypted Признак зашифрованного диска.
Encrypted bool `json:"encrypted"`
// Hidden Признак скрытого объекта.
Hidden bool `json:"hidden"`
// Id Идентификатор диска.
Id openapi_types.UUID `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для этого размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название диска.
Name string `json:"name"`
// OwnerProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
OwnerProductInstanceId openapi_types.UUID `json:"owner_product_instance_id"`
// Project Проект.
Project BackupResourceStateProjectSection `json:"project"`
// ProjectId Идентификатор проекта.
ProjectId openapi_types.UUID `json:"project_id"`
// Readonly Признак диска только для чтения.
Readonly bool `json:"readonly"`
// SerialId Серийный номер диска.
SerialId string `json:"serial_id"`
Shared bool `json:"shared"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска.
State string `json:"state"`
// Tags Теги.
Tags []BackupTagItemSection `json:"tags"`
// UserId Идентификатор пользователя.
UserId openapi_types.UUID `json:"user_id"`
}
BackupDiskRestoreConfigurationSection Конфигурация диска для восстановления.
type BackupDiskRestoreSection ¶
type BackupDiskRestoreSection struct {
// ResourceId Идентификатор ресурса.
ResourceId openapi_types.UUID `json:"resource_id"`
// ResourceState Конфигурация диска.
ResourceState BackupDiskResourceStateSection `json:"resource_state"`
// ResourceType Тип ресурса.
ResourceType BackupResourceTypeEnum `json:"resource_type"`
// RestoreConfiguration Конфигурация диска для восстановления.
RestoreConfiguration BackupDiskRestoreConfigurationSection `json:"restore_configuration"`
}
BackupDiskRestoreSection defines model for BackupDiskRestoreSection.
type BackupItemResponse ¶
type BackupItemResponse struct {
// CreatedAt Дата и время создания.
CreatedAt time.Time `json:"created_at"`
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии.
Id string `json:"id"`
// LastRestoreTime Дата и время последнего восстановления.
LastRestoreTime *time.Time `json:"last_restore_time,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ParentFullBackupId Идентификатор предыдущей полной копии.
ParentFullBackupId *string `json:"parent_full_backup_id,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resource Ресурс, для которого создана резервная копия.
Resource BackupItemResponse_Resource `json:"resource"`
// Size Размер резервной копии в МБ.
Size *int `json:"size,omitempty"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State CheckpointState `json:"state"`
// Tags Теги.
Tags []BackupTagItemSection `json:"tags"`
// UpdatedAt Дата и время изменения.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
BackupItemResponse defines model for BackupItemResponse.
type BackupItemResponse_Resource ¶
type BackupItemResponse_Resource struct {
// contains filtered or unexported fields
}
BackupItemResponse_Resource Ресурс, для которого создана резервная копия.
func (BackupItemResponse_Resource) AsBackupDiskRestoreSection ¶
func (t BackupItemResponse_Resource) AsBackupDiskRestoreSection() (BackupDiskRestoreSection, error)
AsBackupDiskRestoreSection returns the union data inside the BackupItemResponse_Resource as a BackupDiskRestoreSection
func (BackupItemResponse_Resource) AsBackupVmRestoreSection ¶
func (t BackupItemResponse_Resource) AsBackupVmRestoreSection() (BackupVmRestoreSection, error)
AsBackupVmRestoreSection returns the union data inside the BackupItemResponse_Resource as a BackupVmRestoreSection
func (*BackupItemResponse_Resource) FromBackupDiskRestoreSection ¶
func (t *BackupItemResponse_Resource) FromBackupDiskRestoreSection(v BackupDiskRestoreSection) error
FromBackupDiskRestoreSection overwrites any union data inside the BackupItemResponse_Resource as the provided BackupDiskRestoreSection
func (*BackupItemResponse_Resource) FromBackupVmRestoreSection ¶
func (t *BackupItemResponse_Resource) FromBackupVmRestoreSection(v BackupVmRestoreSection) error
FromBackupVmRestoreSection overwrites any union data inside the BackupItemResponse_Resource as the provided BackupVmRestoreSection
func (BackupItemResponse_Resource) MarshalJSON ¶
func (t BackupItemResponse_Resource) MarshalJSON() ([]byte, error)
func (*BackupItemResponse_Resource) MergeBackupDiskRestoreSection ¶
func (t *BackupItemResponse_Resource) MergeBackupDiskRestoreSection(v BackupDiskRestoreSection) error
MergeBackupDiskRestoreSection performs a merge with any union data inside the BackupItemResponse_Resource, using the provided BackupDiskRestoreSection
func (*BackupItemResponse_Resource) MergeBackupVmRestoreSection ¶
func (t *BackupItemResponse_Resource) MergeBackupVmRestoreSection(v BackupVmRestoreSection) error
MergeBackupVmRestoreSection performs a merge with any union data inside the BackupItemResponse_Resource, using the provided BackupVmRestoreSection
func (*BackupItemResponse_Resource) UnmarshalJSON ¶
func (t *BackupItemResponse_Resource) UnmarshalJSON(b []byte) error
type BackupListItemResourceSection ¶
type BackupListItemResourceSection struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceState Конфигурация ресурса.
ResourceState BackupListItemResourceSection_ResourceState `json:"resource_state"`
// ResourceType Тип ресурса.
ResourceType BackupResourceTypeEnum `json:"resource_type"`
}
BackupListItemResourceSection Ресурс.
type BackupListItemResourceSection_ResourceState ¶
type BackupListItemResourceSection_ResourceState struct {
// contains filtered or unexported fields
}
BackupListItemResourceSection_ResourceState Конфигурация ресурса.
func (BackupListItemResourceSection_ResourceState) AsBackupDiskResourceStateSection ¶
func (t BackupListItemResourceSection_ResourceState) AsBackupDiskResourceStateSection() (BackupDiskResourceStateSection, error)
AsBackupDiskResourceStateSection returns the union data inside the BackupListItemResourceSection_ResourceState as a BackupDiskResourceStateSection
func (BackupListItemResourceSection_ResourceState) AsBackupVmResourceStateSection ¶
func (t BackupListItemResourceSection_ResourceState) AsBackupVmResourceStateSection() (BackupVmResourceStateSection, error)
AsBackupVmResourceStateSection returns the union data inside the BackupListItemResourceSection_ResourceState as a BackupVmResourceStateSection
func (*BackupListItemResourceSection_ResourceState) FromBackupDiskResourceStateSection ¶
func (t *BackupListItemResourceSection_ResourceState) FromBackupDiskResourceStateSection(v BackupDiskResourceStateSection) error
FromBackupDiskResourceStateSection overwrites any union data inside the BackupListItemResourceSection_ResourceState as the provided BackupDiskResourceStateSection
func (*BackupListItemResourceSection_ResourceState) FromBackupVmResourceStateSection ¶
func (t *BackupListItemResourceSection_ResourceState) FromBackupVmResourceStateSection(v BackupVmResourceStateSection) error
FromBackupVmResourceStateSection overwrites any union data inside the BackupListItemResourceSection_ResourceState as the provided BackupVmResourceStateSection
func (BackupListItemResourceSection_ResourceState) MarshalJSON ¶
func (t BackupListItemResourceSection_ResourceState) MarshalJSON() ([]byte, error)
func (*BackupListItemResourceSection_ResourceState) MergeBackupDiskResourceStateSection ¶
func (t *BackupListItemResourceSection_ResourceState) MergeBackupDiskResourceStateSection(v BackupDiskResourceStateSection) error
MergeBackupDiskResourceStateSection performs a merge with any union data inside the BackupListItemResourceSection_ResourceState, using the provided BackupDiskResourceStateSection
func (*BackupListItemResourceSection_ResourceState) MergeBackupVmResourceStateSection ¶
func (t *BackupListItemResourceSection_ResourceState) MergeBackupVmResourceStateSection(v BackupVmResourceStateSection) error
MergeBackupVmResourceStateSection performs a merge with any union data inside the BackupListItemResourceSection_ResourceState, using the provided BackupVmResourceStateSection
func (*BackupListItemResourceSection_ResourceState) UnmarshalJSON ¶
func (t *BackupListItemResourceSection_ResourceState) UnmarshalJSON(b []byte) error
type BackupLiteSchema ¶
type BackupLiteSchema struct {
// Id Идентификатор резервной копии.
Id string `json:"id"`
// Name Название резервной копии.
Name string `json:"name"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State BackupState `json:"state"`
}
BackupLiteSchema defines model for BackupLiteSchema.
type BackupMetadataFieldSection ¶
type BackupMetadataFieldSection struct {
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// Id Идентификатор поля метаданных.
Id openapi_types.UUID `json:"id"`
// MetadataId Идентификатор метаданных.
MetadataId openapi_types.UUID `json:"metadata_id"`
// Name Название.
Name string `json:"name"`
// Value Значение.
Value string `json:"value"`
}
BackupMetadataFieldSection defines model for BackupMetadataFieldSection.
type BackupResourceRequest ¶
type BackupResourceRequest struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
BackupResourceRequest Ресурс.
type BackupResourceResponse ¶
type BackupResourceResponse struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceState Статус ресурса.
ResourceState map[string]interface{} `json:"resource_state"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
BackupResourceResponse Ресурс.
type BackupResourceSchema ¶
type BackupResourceSchema struct {
ResourceId string `json:"resource_id"`
ResourceState map[string]interface{} `json:"resource_state"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
BackupResourceSchema defines model for BackupResourceSchema.
type BackupResourceStateAvailabilityZoneSection ¶
type BackupResourceStateAvailabilityZoneSection struct {
// Id Идентификатор зоны доступности.
Id openapi_types.UUID `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
BackupResourceStateAvailabilityZoneSection Зона доступности.
type BackupResourceStateProjectSection ¶
type BackupResourceStateProjectSection struct {
// Id Идентификатор проекта.
Id openapi_types.UUID `json:"id"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId openapi_types.UUID `json:"product_instance_id"`
}
BackupResourceStateProjectSection Проект.
type BackupResourceTypeEnum ¶
type BackupResourceTypeEnum string
BackupResourceTypeEnum Тип ресурса.
const ( BackupResourceTypeEnumDisk BackupResourceTypeEnum = "disk" BackupResourceTypeEnumVirtualMachine BackupResourceTypeEnum = "virtual_machine" )
Defines values for BackupResourceTypeEnum.
func (BackupResourceTypeEnum) Valid ¶
func (e BackupResourceTypeEnum) Valid() bool
Valid indicates whether the value is a known member of the BackupResourceTypeEnum enum.
type BackupSchema ¶
type BackupSchema struct {
// CreatedAt Дата и время создания.
CreatedAt time.Time `json:"created_at"`
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии.
Id string `json:"id"`
// LastRestoreTime Дата и время последнего восстановления.
LastRestoreTime *time.Time `json:"last_restore_time,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ParentFullBackupId Идентификатор предыдущей полной копии.
ParentFullBackupId *string `json:"parent_full_backup_id,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// ProtectionPlan План резервного копирования.
ProtectionPlan *ProtectionPlanLiteSchema `json:"protection_plan,omitempty"`
Resource BackupResourceSchema `json:"resource"`
Size int `json:"size"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State BackupState `json:"state"`
Tags []TagLiteSchema `json:"tags"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время изменения.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
BackupSchema defines model for BackupSchema.
type BackupState ¶
type BackupState string
BackupState Статус резервной копии:
- `creating` — копия создается; - `created` — копия создана; - `error_creating` — ошибка создания копии; - `updating` — обновляется; - `error` — ошибка; - `deleting` — копия удаляется; - `error_deleting` — ошибка удаления копии.
const ( BackupStateCreated BackupState = "created" BackupStateCreating BackupState = "creating" BackupStateDeleting BackupState = "deleting" BackupStateError BackupState = "error" BackupStateErrorCreating BackupState = "error_creating" BackupStateErrorDeleting BackupState = "error_deleting" BackupStateUpdating BackupState = "updating" )
Defines values for BackupState.
func (BackupState) Valid ¶
func (e BackupState) Valid() bool
Valid indicates whether the value is a known member of the BackupState enum.
type BackupTagItemSection ¶
type BackupTagItemSection struct {
// Color Цвет тега.
Color string `json:"color"`
// Id Идентификатор тега.
Id string `json:"id"`
// Name Название тега.
Name string `json:"name"`
}
BackupTagItemSection Тег.
type BackupTagMiniResponse ¶
type BackupTagMiniResponse struct {
// Color Цвет тега.
Color string `json:"color"`
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор тега.
Id string `json:"id"`
// Name Название тега.
Name string `json:"name"`
}
BackupTagMiniResponse Тег.
type BackupType ¶
type BackupType string
BackupType Тип резервной копии:
- “full“ — полная копия; - “incremental“ — инкрементальная копия.
const ( BackupTypeFull BackupType = "full" BackupTypeIncremental BackupType = "incremental" )
Defines values for BackupType.
func (BackupType) Valid ¶
func (e BackupType) Valid() bool
Valid indicates whether the value is a known member of the BackupType enum.
type BackupVmResourceStateDiskSection ¶
type BackupVmResourceStateDiskSection struct {
// DiskType Тип диска.
DiskType BackupVmResourceStateDiskTypeSection `json:"disk_type"`
// Id Идентификатор диска.
Id openapi_types.UUID `json:"id"`
// Name Название диска.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска:
// - `available` — доступен;
// - `in_use` — используется;
// - `reserved` — зарезервирован;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `updating` — обновляется;
// - `deleting` — удаляется;
// - `attaching` — подключается;
// - `detaching` — отключается.
State DiskState `json:"state"`
}
BackupVmResourceStateDiskSection Диск.
type BackupVmResourceStateDiskTypeSection ¶
type BackupVmResourceStateDiskTypeSection struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Id Идентификатор типа диска.
Id openapi_types.UUID `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
BackupVmResourceStateDiskTypeSection Тип диска.
type BackupVmResourceStateFlavorSection ¶
type BackupVmResourceStateFlavorSection struct {
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id openapi_types.UUID `json:"id"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
BackupVmResourceStateFlavorSection Флейвор.
type BackupVmResourceStateFloatingIpSection ¶
type BackupVmResourceStateFloatingIpSection struct {
// Id Идентификатор публичного IP.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название публичного IP.
Name string `json:"name"`
// State Статус публичного IP:
// - `available` — свободен;
// - `in_use` — назначен;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `attaching` — прикрепляется;
// - `detaching` — открепляется.
State FloatingIpState `json:"state"`
}
BackupVmResourceStateFloatingIpSection Публичный IP-адрес.
type BackupVmResourceStateImageSection ¶
type BackupVmResourceStateImageSection struct {
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// FreeTierEnabled Если указано `true`, образ можно использовать для бесплатной ВМ (free tier).
FreeTierEnabled *bool `json:"free_tier_enabled,omitempty"`
// Id Идентификатор образа.
Id openapi_types.UUID `json:"id"`
// Name Название образа.
Name string `json:"name"`
// Type Тип образа:
// - `public` — публичный;
// - `private` — пользовательский;
// - `marketplace` — из Маркетплейса.
Type ImageType `json:"type"`
}
BackupVmResourceStateImageSection Образ.
type BackupVmResourceStateInterfaceSection ¶
type BackupVmResourceStateInterfaceSection struct {
// FloatingIp Публичный IP-адрес.
FloatingIp *BackupVmResourceStateFloatingIpSection `json:"floating_ip,omitempty"`
// Id Идентификатор интерфейса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// Primary Если указано `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []BackupVmResourceStateSecurityGroupSection `json:"security_groups"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Subnet Подсеть.
Subnet *BackupVmResourceStateSubnetSection `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
BackupVmResourceStateInterfaceSection Сетевой интерфейс.
type BackupVmResourceStatePlacementGroupSection ¶
type BackupVmResourceStatePlacementGroupSection struct {
// Id Идентификатор группы размещения.
Id openapi_types.UUID `json:"id"`
// Name Название группы размещения.
Name string `json:"name"`
}
BackupVmResourceStatePlacementGroupSection Группа размещения.
type BackupVmResourceStateSection ¶
type BackupVmResourceStateSection struct {
// AvailabilityZone Зона доступности.
AvailabilityZone BackupResourceStateAvailabilityZoneSection `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины.
Description *string `json:"description,omitempty"`
// Disks Диски.
Disks []BackupVmResourceStateDiskSection `json:"disks"`
// Flavor Флейвор.
Flavor BackupVmResourceStateFlavorSection `json:"flavor"`
// Hidden Признак скрытого объекта.
Hidden bool `json:"hidden"`
// Id Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
Id openapi_types.UUID `json:"id"`
// Image Образ.
Image BackupVmResourceStateImageSection `json:"image"`
// Interfaces Сетевые интерфейсы.
Interfaces []BackupVmResourceStateInterfaceSection `json:"interfaces"`
// MetadataFields Метаданные.
MetadataFields []BackupMetadataFieldSection `json:"metadata_fields"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
// PlacementGroup Группа размещения.
PlacementGroup *BackupVmResourceStatePlacementGroupSection `json:"placement_group,omitempty"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId openapi_types.UUID `json:"product_instance_id"`
// Project Проект.
Project BackupResourceStateProjectSection `json:"project"`
// Tags Теги.
Tags []BackupTagItemSection `json:"tags"`
}
BackupVmResourceStateSection Конфигурация виртуальной машины.
type BackupVmResourceStateSecurityGroupSection ¶
type BackupVmResourceStateSecurityGroupSection struct {
// Id Идентификатор группы безопасности.
Id openapi_types.UUID `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
// State Статус группы безопасности:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SecurityGroupState `json:"state"`
}
BackupVmResourceStateSecurityGroupSection Группа безопасности.
type BackupVmResourceStateSubnetSection ¶
type BackupVmResourceStateSubnetSection struct {
// Id Идентификатор подсети.
Id openapi_types.UUID `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress IP-адрес подсети.
SubnetAddress string `json:"subnet_address"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
BackupVmResourceStateSubnetSection Подсеть.
type BackupVmRestoreConfigurationAvailabilityZoneSection ¶
type BackupVmRestoreConfigurationAvailabilityZoneSection struct {
// Available Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Available bool `json:"available"`
// Id Идентификатор зоны доступности.
Id openapi_types.UUID `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
BackupVmRestoreConfigurationAvailabilityZoneSection Зона доступности.
type BackupVmRestoreConfigurationDiskSection ¶
type BackupVmRestoreConfigurationDiskSection struct {
// DiskType Тип диска.
DiskType BackupVmRestoreConfigurationDiskTypeSection `json:"disk_type"`
// Id Идентификатор диска.
Id openapi_types.UUID `json:"id"`
// Name Название диска.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска:
// - `available` — доступен;
// - `in_use` — используется;
// - `reserved` — зарезервирован;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `updating` — обновляется;
// - `deleting` — удаляется;
// - `attaching` — подключается;
// - `detaching` — отключается.
State DiskState `json:"state"`
}
BackupVmRestoreConfigurationDiskSection Диск.
type BackupVmRestoreConfigurationDiskTypeSection ¶
type BackupVmRestoreConfigurationDiskTypeSection struct {
Available bool `json:"available"`
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Id Идентификатор типа диска.
Id openapi_types.UUID `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
BackupVmRestoreConfigurationDiskTypeSection Тип диска.
type BackupVmRestoreConfigurationFlavorSection ¶
type BackupVmRestoreConfigurationFlavorSection struct {
Available bool `json:"available"`
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id openapi_types.UUID `json:"id"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
BackupVmRestoreConfigurationFlavorSection Флейвор.
type BackupVmRestoreConfigurationFloatingIpSection ¶
type BackupVmRestoreConfigurationFloatingIpSection struct {
// Exists Признак того, что IP-адрес существует.
Exists bool `json:"exists"`
// Id Идентификатор публичного IP-адреса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название публичного IP-адреса.
Name string `json:"name"`
// State Статус публичного IP:
// - `available` — свободен;
// - `in_use` — назначен;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `attaching` — прикрепляется;
// - `detaching` — открепляется.
State FloatingIpState `json:"state"`
}
BackupVmRestoreConfigurationFloatingIpSection Публичный IP-адрес.
type BackupVmRestoreConfigurationImageSection ¶
type BackupVmRestoreConfigurationImageSection struct {
Available bool `json:"available"`
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// FreeTierEnabled Если указано `true`, образ можно использовать для бесплатной ВМ (free tier).
FreeTierEnabled *bool `json:"free_tier_enabled,omitempty"`
// Id Идентификатор образа.
Id openapi_types.UUID `json:"id"`
// Name Название образа.
Name string `json:"name"`
// Type Тип образа:
// - `public` — публичный;
// - `private` — пользовательский;
// - `marketplace` — из Маркетплейса.
Type ImageType `json:"type"`
}
BackupVmRestoreConfigurationImageSection Образ.
type BackupVmRestoreConfigurationInterfaceSection ¶
type BackupVmRestoreConfigurationInterfaceSection struct {
// ExistsIpAddresses Признак существующего объекта.
ExistsIpAddresses bool `json:"exists_ip_addresses"`
// FloatingIp Публичный IP-адрес.
FloatingIp *BackupVmRestoreConfigurationFloatingIpSection `json:"floating_ip,omitempty"`
// Id Идентификатор сетевого интерфейса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название сетевого интерфейса.
Name string `json:"name"`
// Primary Если указано `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []BackupVmRestoreConfigurationSecurityGroupSection `json:"security_groups"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Subnet Подсеть.
Subnet *BackupVmRestoreConfigurationSubnetSection `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
BackupVmRestoreConfigurationInterfaceSection Сетевой интерфейс.
type BackupVmRestoreConfigurationPlacementGroupSection ¶
type BackupVmRestoreConfigurationPlacementGroupSection struct {
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор группы размещения.
Id openapi_types.UUID `json:"id"`
// Name Название группы размещения.
Name string `json:"name"`
}
BackupVmRestoreConfigurationPlacementGroupSection Группа размещения.
type BackupVmRestoreConfigurationSection ¶
type BackupVmRestoreConfigurationSection struct {
// AvailabilityZone Зона доступности.
AvailabilityZone BackupVmRestoreConfigurationAvailabilityZoneSection `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины.
Description *string `json:"description,omitempty"`
// Disks Диски.
Disks []BackupVmRestoreConfigurationDiskSection `json:"disks"`
// Flavor Флейвор.
Flavor BackupVmRestoreConfigurationFlavorSection `json:"flavor"`
// Hidden Признак скрытого объекта.
Hidden bool `json:"hidden"`
// Id Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
Id openapi_types.UUID `json:"id"`
// Image Образ.
Image BackupVmRestoreConfigurationImageSection `json:"image"`
// Interfaces Сетевые интерфейсы.
Interfaces []BackupVmRestoreConfigurationInterfaceSection `json:"interfaces"`
// MetadataFields Метаданные.
MetadataFields []BackupMetadataFieldSection `json:"metadata_fields"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
// PlacementGroup Группа размещения.
PlacementGroup *BackupVmRestoreConfigurationPlacementGroupSection `json:"placement_group,omitempty"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId openapi_types.UUID `json:"product_instance_id"`
// Project Проект.
Project BackupResourceStateProjectSection `json:"project"`
// Tags Теги.
Tags []BackupTagItemSection `json:"tags"`
}
BackupVmRestoreConfigurationSection Конфигурация виртуальной машины для восстановления.
type BackupVmRestoreConfigurationSecurityGroupSection ¶
type BackupVmRestoreConfigurationSecurityGroupSection struct {
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор группы безопасности.
Id openapi_types.UUID `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
// State Статус группы безопасности:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SecurityGroupState `json:"state"`
}
BackupVmRestoreConfigurationSecurityGroupSection Группа безопасности.
type BackupVmRestoreConfigurationSubnetSection ¶
type BackupVmRestoreConfigurationSubnetSection struct {
AvailableAddresses bool `json:"available_addresses"`
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор подсети.
Id openapi_types.UUID `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
BackupVmRestoreConfigurationSubnetSection Подсеть.
type BackupVmRestoreSection ¶
type BackupVmRestoreSection struct {
// ResourceId Идентификатор ресурса.
ResourceId openapi_types.UUID `json:"resource_id"`
// ResourceState Конфигурация виртуальной машины.
ResourceState BackupVmResourceStateSection `json:"resource_state"`
// ResourceType Тип ресурса.
ResourceType BackupResourceTypeEnum `json:"resource_type"`
// RestoreConfiguration Конфигурация виртуальной машины для восстановления.
RestoreConfiguration BackupVmRestoreConfigurationSection `json:"restore_configuration"`
}
BackupVmRestoreSection defines model for BackupVmRestoreSection.
type BaseBackupActionBody ¶
type BaseBackupActionBody struct {
// Action Действие с резервной копией.
// Доступно только значение “restore“ — восстановление ресурса из копии.
Action BackupAction `json:"action"`
// Resource Ресурс.
Resource BaseBackupActionBody_Resource `json:"resource"`
}
BaseBackupActionBody defines model for BaseBackupActionBody.
type BaseBackupActionBody_Resource ¶
type BaseBackupActionBody_Resource struct {
// contains filtered or unexported fields
}
BaseBackupActionBody_Resource Ресурс.
func (BaseBackupActionBody_Resource) AsRestoreDiskBackupResource ¶
func (t BaseBackupActionBody_Resource) AsRestoreDiskBackupResource() (RestoreDiskBackupResource, error)
AsRestoreDiskBackupResource returns the union data inside the BaseBackupActionBody_Resource as a RestoreDiskBackupResource
func (BaseBackupActionBody_Resource) AsRestoreVmBackupResource ¶
func (t BaseBackupActionBody_Resource) AsRestoreVmBackupResource() (RestoreVmBackupResource, error)
AsRestoreVmBackupResource returns the union data inside the BaseBackupActionBody_Resource as a RestoreVmBackupResource
func (BaseBackupActionBody_Resource) Discriminator ¶
func (t BaseBackupActionBody_Resource) Discriminator() (string, error)
func (*BaseBackupActionBody_Resource) FromRestoreDiskBackupResource ¶
func (t *BaseBackupActionBody_Resource) FromRestoreDiskBackupResource(v RestoreDiskBackupResource) error
FromRestoreDiskBackupResource overwrites any union data inside the BaseBackupActionBody_Resource as the provided RestoreDiskBackupResource
func (*BaseBackupActionBody_Resource) FromRestoreVmBackupResource ¶
func (t *BaseBackupActionBody_Resource) FromRestoreVmBackupResource(v RestoreVmBackupResource) error
FromRestoreVmBackupResource overwrites any union data inside the BaseBackupActionBody_Resource as the provided RestoreVmBackupResource
func (BaseBackupActionBody_Resource) MarshalJSON ¶
func (t BaseBackupActionBody_Resource) MarshalJSON() ([]byte, error)
func (*BaseBackupActionBody_Resource) MergeRestoreDiskBackupResource ¶
func (t *BaseBackupActionBody_Resource) MergeRestoreDiskBackupResource(v RestoreDiskBackupResource) error
MergeRestoreDiskBackupResource performs a merge with any union data inside the BaseBackupActionBody_Resource, using the provided RestoreDiskBackupResource
func (*BaseBackupActionBody_Resource) MergeRestoreVmBackupResource ¶
func (t *BaseBackupActionBody_Resource) MergeRestoreVmBackupResource(v RestoreVmBackupResource) error
MergeRestoreVmBackupResource performs a merge with any union data inside the BaseBackupActionBody_Resource, using the provided RestoreVmBackupResource
func (*BaseBackupActionBody_Resource) UnmarshalJSON ¶
func (t *BaseBackupActionBody_Resource) UnmarshalJSON(b []byte) error
func (BaseBackupActionBody_Resource) ValueByDiscriminator ¶
func (t BaseBackupActionBody_Resource) ValueByDiscriminator() (interface{}, error)
type BaseOrganizationResponse ¶
type BaseOrganizationResponse struct {
// Id Идентификатор организации.
Id string `json:"id"`
// Limits Действующие квоты.
Limits []OrganizationLimitMiniResponse `json:"limits"`
}
BaseOrganizationResponse defines model for BaseOrganizationResponse.
type BaseProjectResponse ¶
type BaseProjectResponse struct {
// Id Идентификатор проекта.
Id string `json:"id"`
// OrganizationId Идентификатор организации.
OrganizationId string `json:"organization_id"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId string `json:"product_instance_id"`
// State Статус проекта
State ProjectState `json:"state"`
}
BaseProjectResponse defines model for BaseProjectResponse.
type BulkDeleteVmError ¶
type BulkDeleteVmError struct {
// ErrorMsg Ошибка удаления.
ErrorMsg *string `json:"error_msg,omitempty"`
// VirtualMachineId Идентификатор виртуальной машины, которая не была удалена.
VirtualMachineId string `json:"virtual_machine_id"`
}
BulkDeleteVmError defines model for BulkDeleteVmError.
type BulkDeleteVmRequest ¶
type BulkDeleteVmRequest = []BulkDeleteVmRequestSchemaBody
BulkDeleteVmRequest defines model for BulkDeleteVmRequest.
type BulkDeleteVmRequestSchemaBody ¶
type BulkDeleteVmRequestSchemaBody struct {
// DeleteAttachments Ресурсы, которые удаляются вместе с виртуальной машиной.
DeleteAttachments *VmDeleteAttachmentsRequest `json:"delete_attachments,omitempty"`
// VirtualMachineId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VirtualMachineId string `json:"virtual_machine_id"`
}
BulkDeleteVmRequestSchemaBody defines model for BulkDeleteVmRequestSchemaBody.
type BulkDeleteVmResponse ¶
type BulkDeleteVmResponse struct {
// Errors Ошибки.
Errors *[]BulkDeleteVmError `json:"errors,omitempty"`
// SuccessForAll `true` — все виртуальные машины удалены, `false` — при удалении возникли ошибки, не все ВМ были удалены.
SuccessForAll bool `json:"success_for_all"`
}
BulkDeleteVmResponse defines model for BulkDeleteVmResponse.
type CanNotDeleteDefaultSecurityGroupExceptionSchema ¶
type CanNotDeleteDefaultSecurityGroupExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
CanNotDeleteDefaultSecurityGroupExceptionSchema defines model for CanNotDeleteDefaultSecurityGroupExceptionSchema.
type CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse ¶
type CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse ¶
func ParseCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse(rsp *http.Response) (*CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse, error)
ParseCheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse parses an HTTP response from a CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse call
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) ContentType ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetBody ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON401 ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON403 ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON422 ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON500 ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) Status ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) Status() string
Status returns HTTPResponse.Status
func (CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) StatusCode ¶
func (r CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckpointState ¶
type CheckpointState string
CheckpointState Статус резервной копии:
- `creating` — копия создается; - `created` — копия создана; - `error_creating` — ошибка создания копии; - `updating` — обновляется; - `error` — ошибка; - `deleting` — копия удаляется; - `error_deleting` — ошибка удаления копии.
const ( CheckpointStateCreated CheckpointState = "created" CheckpointStateCreating CheckpointState = "creating" CheckpointStateDeleting CheckpointState = "deleting" CheckpointStateError CheckpointState = "error" CheckpointStateErrorCreating CheckpointState = "error_creating" CheckpointStateErrorDeleting CheckpointState = "error_deleting" CheckpointStateUpdating CheckpointState = "updating" )
Defines values for CheckpointState.
func (CheckpointState) Valid ¶
func (e CheckpointState) Valid() bool
Valid indicates whether the value is a known member of the CheckpointState enum.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AttachDiskSvcV1DisksDiskIdAttachPost ¶
func (c *Client) AttachDiskSvcV1DisksDiskIdAttachPost(ctx context.Context, diskId string, body AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachDiskSvcV1DisksDiskIdAttachPost Подключение диска к ВМ
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
func (*Client) AttachDiskSvcV1DisksDiskIdAttachPostWithBody ¶
func (c *Client) AttachDiskSvcV1DisksDiskIdAttachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachDiskSvcV1DisksDiskIdAttachPostWithBody Подключение диска к ВМ
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
func (*Client) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost ¶
func (c *Client) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost Проверка доступности Compute Agent
Corresponds with POST /api/v1/vms/{vm_id}/check-guest-agent (the `CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost` operationId).
func (*Client) CreateBackupSvcV1BackupsPost ¶
func (c *Client) CreateBackupSvcV1BackupsPost(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBackupSvcV1BackupsPost Создание резервной копии
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
func (*Client) CreateBackupSvcV1BackupsPostWithBody ¶
func (c *Client) CreateBackupSvcV1BackupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBackupSvcV1BackupsPostWithBody Создание резервной копии
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
func (*Client) CreateDiskSvcV1DisksPost ¶
func (c *Client) CreateDiskSvcV1DisksPost(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDiskSvcV1DisksPost Создание диска
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
func (*Client) CreateDiskSvcV1DisksPostWithBody ¶
func (c *Client) CreateDiskSvcV1DisksPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDiskSvcV1DisksPostWithBody Создание диска
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
func (*Client) CreateFloatingIpSvcV1FloatingIpsPost ¶
func (c *Client) CreateFloatingIpSvcV1FloatingIpsPost(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFloatingIpSvcV1FloatingIpsPost Создание публичного IP-адреса
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
func (*Client) CreateFloatingIpSvcV1FloatingIpsPostWithBody ¶
func (c *Client) CreateFloatingIpSvcV1FloatingIpsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFloatingIpSvcV1FloatingIpsPostWithBody Создание публичного IP-адреса
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
func (*Client) CreateImageSvcV1ImagesPost ¶
func (c *Client) CreateImageSvcV1ImagesPost(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageSvcV1ImagesPost Создание образа
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
func (*Client) CreateImageSvcV1ImagesPostWithBody ¶
func (c *Client) CreateImageSvcV1ImagesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageSvcV1ImagesPostWithBody Создание образа
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
func (*Client) CreateInterfaceSvcV1InterfacesPost ¶
func (c *Client) CreateInterfaceSvcV1InterfacesPost(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInterfaceSvcV1InterfacesPost Создание сетевого интерфейса
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
func (*Client) CreateInterfaceSvcV1InterfacesPostWithBody ¶
func (c *Client) CreateInterfaceSvcV1InterfacesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInterfaceSvcV1InterfacesPostWithBody Создание сетевого интерфейса
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
func (*Client) CreateNatGatewaySvcV1NatGatewaysPost ¶
func (c *Client) CreateNatGatewaySvcV1NatGatewaysPost(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateNatGatewaySvcV1NatGatewaysPost Создание SNAT-шлюза
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
func (*Client) CreateNatGatewaySvcV1NatGatewaysPostWithBody ¶
func (c *Client) CreateNatGatewaySvcV1NatGatewaysPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateNatGatewaySvcV1NatGatewaysPostWithBody Создание SNAT-шлюза
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
func (*Client) CreatePlacementGroupSvcV1PlacementGroupsPost ¶
func (c *Client) CreatePlacementGroupSvcV1PlacementGroupsPost(ctx context.Context, body CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePlacementGroupSvcV1PlacementGroupsPost Создание группы размещения
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
func (*Client) CreatePlacementGroupSvcV1PlacementGroupsPostWithBody ¶
func (c *Client) CreatePlacementGroupSvcV1PlacementGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePlacementGroupSvcV1PlacementGroupsPostWithBody Создание группы размещения
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
func (*Client) CreateProtectionPlanSvcV1ProtectionPlansPost ¶
func (c *Client) CreateProtectionPlanSvcV1ProtectionPlansPost(ctx context.Context, body CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProtectionPlanSvcV1ProtectionPlansPost Создание плана резервного копирования
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
func (*Client) CreateProtectionPlanSvcV1ProtectionPlansPostWithBody ¶
func (c *Client) CreateProtectionPlanSvcV1ProtectionPlansPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProtectionPlanSvcV1ProtectionPlansPostWithBody Создание плана резервного копирования
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
func (*Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost ¶
func (c *Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost(ctx context.Context, securityGroupId string, body CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost Создание правила группы безопасности
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
func (*Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody ¶
func (c *Client) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody Создание правила группы безопасности
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
func (*Client) CreateSecurityGroupSvcV1SecurityGroupsPost ¶
func (c *Client) CreateSecurityGroupSvcV1SecurityGroupsPost(ctx context.Context, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSecurityGroupSvcV1SecurityGroupsPost Создание группы безопасности
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
func (*Client) CreateSecurityGroupSvcV1SecurityGroupsPostWithBody ¶
func (c *Client) CreateSecurityGroupSvcV1SecurityGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSecurityGroupSvcV1SecurityGroupsPostWithBody Создание группы безопасности
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
func (*Client) CreateSubnetSvcV1SubnetsPost ¶
func (c *Client) CreateSubnetSvcV1SubnetsPost(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSubnetSvcV1SubnetsPost Создание подсети
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
func (*Client) CreateSubnetSvcV1SubnetsPostWithBody ¶
func (c *Client) CreateSubnetSvcV1SubnetsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSubnetSvcV1SubnetsPostWithBody Создание подсети
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
func (*Client) CreateVmSvcV1VmsPost ¶
func (c *Client) CreateVmSvcV1VmsPost(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmSvcV1VmsPost Создание виртуальной машины
Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
func (*Client) CreateVmSvcV1VmsPostWithBody ¶
func (c *Client) CreateVmSvcV1VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmSvcV1VmsPostWithBody Создание виртуальной машины
Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
func (*Client) CreateVmV11SvcV11VmsPost ¶
func (c *Client) CreateVmV11SvcV11VmsPost(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmV11SvcV11VmsPost Создание виртуальной машины V1.1
Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код. Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
func (*Client) CreateVmV11SvcV11VmsPostWithBody ¶
func (c *Client) CreateVmV11SvcV11VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVmV11SvcV11VmsPostWithBody Создание виртуальной машины V1.1
Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код. Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
func (*Client) DeleteBackupSvcV1BackupsBackupIdDelete ¶
func (c *Client) DeleteBackupSvcV1BackupsBackupIdDelete(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteBackupSvcV1BackupsBackupIdDelete Удаление резервной копии
Corresponds with DELETE /api/v1/backups/{backup_id} (the `DeleteBackupSvcV1BackupsBackupIdDelete` operationId).
func (*Client) DeleteDiskSvcV1DisksDiskIdDelete ¶
func (c *Client) DeleteDiskSvcV1DisksDiskIdDelete(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDiskSvcV1DisksDiskIdDelete Удаление диска
Corresponds with DELETE /api/v1/disks/{disk_id} (the `DeleteDiskSvcV1DisksDiskIdDelete` operationId).
func (*Client) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete ¶
func (c *Client) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete Удаление публичного IP-адреса
Corresponds with DELETE /api/v1/floating-ips/{floating_ip_id} (the `DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete` operationId).
func (*Client) DeleteImageSvcV1ImagesImageIdDelete ¶
func (c *Client) DeleteImageSvcV1ImagesImageIdDelete(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteImageSvcV1ImagesImageIdDelete Удаление образа
Corresponds with DELETE /api/v1/images/{image_id} (the `DeleteImageSvcV1ImagesImageIdDelete` operationId).
func (*Client) DeleteInterfaceSvcV1InterfacesInterfaceIdDelete ¶
func (c *Client) DeleteInterfaceSvcV1InterfacesInterfaceIdDelete(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteInterfaceSvcV1InterfacesInterfaceIdDelete Удаление сетевого интерфейса
Corresponds with DELETE /api/v1/interfaces/{interface_id} (the `DeleteInterfaceSvcV1InterfacesInterfaceIdDelete` operationId).
func (*Client) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete ¶
func (c *Client) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete Удаление SNAT-шлюза
Corresponds with DELETE /api/v1/nat-gateways/{nat_gateway_id} (the `DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete` operationId).
func (*Client) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete ¶
func (c *Client) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete Удаление группы размещения
Corresponds with DELETE /api/v1/placement-groups/{placement_group_id} (the `DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete` operationId).
func (*Client) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete ¶
func (c *Client) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete Удаление плана резервного копирования
Corresponds with DELETE /api/v1/protection-plans/{protection_plan_id} (the `DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete` operationId).
func (*Client) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete ¶
func (c *Client) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete Удаление правила группы безопасности
Corresponds with DELETE /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete` operationId).
func (*Client) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete ¶
func (c *Client) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete Удаление группы безопасности
Corresponds with DELETE /api/v1/security-groups/{security_group_id} (the `DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete` operationId).
func (*Client) DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete ¶
func (c *Client) DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete Удаление подсети
Corresponds with DELETE /api/v1/subnets/{subnet_id} (the `DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete` operationId).
func (*Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost ¶
func (c *Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost(ctx context.Context, vmId openapi_types.UUID, body DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost Удаление пароля пользователя виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
func (*Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody ¶
func (c *Client) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody Удаление пароля пользователя виртуальной машины
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
func (*Client) DeleteVmSvcV1VmsVmIdDelete ¶
func (c *Client) DeleteVmSvcV1VmsVmIdDelete(ctx context.Context, vmId openapi_types.UUID, body DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmSvcV1VmsVmIdDelete Удаление виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
func (*Client) DeleteVmSvcV1VmsVmIdDeleteWithBody ¶
func (c *Client) DeleteVmSvcV1VmsVmIdDeleteWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVmSvcV1VmsVmIdDeleteWithBody Удаление виртуальной машины
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
func (*Client) DetachDiskSvcV1DisksDiskIdDetachPost ¶
func (c *Client) DetachDiskSvcV1DisksDiskIdDetachPost(ctx context.Context, diskId string, body DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachDiskSvcV1DisksDiskIdDetachPost Отключение диска от ВМ
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
func (*Client) DetachDiskSvcV1DisksDiskIdDetachPostWithBody ¶
func (c *Client) DetachDiskSvcV1DisksDiskIdDetachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DetachDiskSvcV1DisksDiskIdDetachPostWithBody Отключение диска от ВМ
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
func (*Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost ¶
func (c *Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost(ctx context.Context, vmId openapi_types.UUID, body GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost Запуск серийной или виртуальной консоли
Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
func (*Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody ¶
func (c *Client) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody Запуск серийной или виртуальной консоли
Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
func (*Client) GetAvailabilityZoneListSvcV1AvailabilityZonesGet ¶
func (c *Client) GetAvailabilityZoneListSvcV1AvailabilityZonesGet(ctx context.Context, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvailabilityZoneListSvcV1AvailabilityZonesGet Получение списка зон доступности
Corresponds with GET /api/v1/availability-zones (the `GetAvailabilityZoneListSvcV1AvailabilityZonesGet` operationId).
func (*Client) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet ¶
func (c *Client) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet(ctx context.Context, params *GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet Получение настроек зон доступности
Позволяет получить сведения о доступности виртуальной и серийной консоли для ВМ в зоне доступности.
Corresponds with GET /api/v1/availability-zones/settings (the `GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet` operationId).
func (*Client) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet ¶
func (c *Client) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet Получение информации о зоне доступности
Corresponds with GET /api/v1/availability-zones/{availability_zone_id} (the `GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet` operationId).
func (*Client) GetAvailableIpAddressesSvcV1AvailableIpAddressesGet ¶
func (c *Client) GetAvailableIpAddressesSvcV1AvailableIpAddressesGet(ctx context.Context, params *GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvailableIpAddressesSvcV1AvailableIpAddressesGet Получение списка доступных публичных IP-адресов
Corresponds with GET /api/v1/available-ip-addresses (the `GetAvailableIpAddressesSvcV1AvailableIpAddressesGet` operationId).
func (*Client) GetAvailableSubnetsSvcV1AvailableSubnetsGet ¶
func (c *Client) GetAvailableSubnetsSvcV1AvailableSubnetsGet(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvailableSubnetsSvcV1AvailableSubnetsGet Получение списка доступных подсетей
Corresponds with GET /api/v1/available-subnets (the `GetAvailableSubnetsSvcV1AvailableSubnetsGet` operationId).
func (*Client) GetBackupSvcV1BackupsBackupIdGet ¶
func (c *Client) GetBackupSvcV1BackupsBackupIdGet(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBackupSvcV1BackupsBackupIdGet Получение информации о резервной копии
Corresponds with GET /api/v1/backups/{backup_id} (the `GetBackupSvcV1BackupsBackupIdGet` operationId).
func (*Client) GetDiskByIdSvcV1DisksDiskIdGet ¶
func (c *Client) GetDiskByIdSvcV1DisksDiskIdGet(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDiskByIdSvcV1DisksDiskIdGet Получение информации о диске
Corresponds with GET /api/v1/disks/{disk_id} (the `GetDiskByIdSvcV1DisksDiskIdGet` operationId).
func (*Client) GetDiskParamsSvcV1ParamsDiskGet ¶
func (c *Client) GetDiskParamsSvcV1ParamsDiskGet(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDiskParamsSvcV1ParamsDiskGet Получение параметров диска
Corresponds with GET /api/v1/params/disk (the `GetDiskParamsSvcV1ParamsDiskGet` operationId).
func (*Client) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet ¶
func (c *Client) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet Получение информации о типе диска
Corresponds with GET /api/v1/disk-types/{disk_type_id} (the `GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet` operationId).
func (*Client) GetDiskTypesSvcV1DiskTypesGet ¶
func (c *Client) GetDiskTypesSvcV1DiskTypesGet(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDiskTypesSvcV1DiskTypesGet Получение списка типов диска
Corresponds with GET /api/v1/disk-types (the `GetDiskTypesSvcV1DiskTypesGet` operationId).
func (*Client) GetDisksSvcV1DisksGet ¶
func (c *Client) GetDisksSvcV1DisksGet(ctx context.Context, params *GetDisksSvcV1DisksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDisksSvcV1DisksGet Получение списка дисков
Corresponds with GET /api/v1/disks (the `GetDisksSvcV1DisksGet` operationId).
func (*Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost ¶
func (c *Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost(ctx context.Context, projectId string, body GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost Расчет стоимости ресурсов
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
func (*Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody ¶
func (c *Client) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody Расчет стоимости ресурсов
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
func (*Client) GetFlavorByIdSvcV1FlavorsFlavorIdGet ¶
func (c *Client) GetFlavorByIdSvcV1FlavorsFlavorIdGet(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFlavorByIdSvcV1FlavorsFlavorIdGet Получение информации о флейворе
Corresponds with GET /api/v1/flavors/{flavor_id} (the `GetFlavorByIdSvcV1FlavorsFlavorIdGet` operationId).
func (*Client) GetFlavorParamsSvcV1ParamsFlavorGet ¶
func (c *Client) GetFlavorParamsSvcV1ParamsFlavorGet(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFlavorParamsSvcV1ParamsFlavorGet Получение параметров флейвора
Corresponds with GET /api/v1/params/flavor (the `GetFlavorParamsSvcV1ParamsFlavorGet` operationId).
func (*Client) GetFlavorsSvcV1FlavorsGet ¶
func (c *Client) GetFlavorsSvcV1FlavorsGet(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFlavorsSvcV1FlavorsGet Получение списка флейворов
Corresponds with GET /api/v1/flavors (the `GetFlavorsSvcV1FlavorsGet` operationId).
func (*Client) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet ¶
func (c *Client) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet Получение информации о публичном IP-адресе
Corresponds with GET /api/v1/floating-ips/{floating_ip_id} (the `GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet` operationId).
func (*Client) GetFloatingIpFipsSvcV1FloatingIpsGet ¶
func (c *Client) GetFloatingIpFipsSvcV1FloatingIpsGet(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFloatingIpFipsSvcV1FloatingIpsGet Получение списка публичных IP-адресов
Corresponds with GET /api/v1/floating-ips (the `GetFloatingIpFipsSvcV1FloatingIpsGet` operationId).
func (*Client) GetImageByIdSvcV1ImagesImageIdGet ¶
func (c *Client) GetImageByIdSvcV1ImagesImageIdGet(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetImageByIdSvcV1ImagesImageIdGet Получение информации об образе
Corresponds with GET /api/v1/images/{image_id} (the `GetImageByIdSvcV1ImagesImageIdGet` operationId).
func (*Client) GetImagesSvcV1ImagesGet ¶
func (c *Client) GetImagesSvcV1ImagesGet(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetImagesSvcV1ImagesGet Получение списка образов
Corresponds with GET /api/v1/images (the `GetImagesSvcV1ImagesGet` operationId).
func (*Client) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet ¶
func (c *Client) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet Получение информации о SNAT-шлюзе
Corresponds with GET /api/v1/nat-gateways/{nat_gateway_id} (the `GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet` operationId).
func (*Client) GetNatGatewaysSvcV1NatGatewaysGet ¶
func (c *Client) GetNatGatewaysSvcV1NatGatewaysGet(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNatGatewaysSvcV1NatGatewaysGet Получение списка SNAT-шлюзов
Corresponds with GET /api/v1/nat-gateways (the `GetNatGatewaysSvcV1NatGatewaysGet` operationId).
func (*Client) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet ¶
func (c *Client) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet Получение информации об организации
Corresponds with GET /api/v1/organizations/{organization_id} (the `GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet` operationId).
func (*Client) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet ¶
func (c *Client) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet Получение информации о группе размещения
Corresponds with GET /api/v1/placement-groups/{placement_group_id} (the `GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet` operationId).
func (*Client) GetPlacementGroupsSvcV1PlacementGroupsGet ¶
func (c *Client) GetPlacementGroupsSvcV1PlacementGroupsGet(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPlacementGroupsSvcV1PlacementGroupsGet Получение списка групп размещения
Corresponds with GET /api/v1/placement-groups (the `GetPlacementGroupsSvcV1PlacementGroupsGet` operationId).
func (*Client) GetProjectForPublicSvcV1ProjectsProjectIdGet ¶
func (c *Client) GetProjectForPublicSvcV1ProjectsProjectIdGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectForPublicSvcV1ProjectsProjectIdGet Получение информации о проекте
Corresponds with GET /api/v1/projects/{project_id} (the `GetProjectForPublicSvcV1ProjectsProjectIdGet` operationId).
func (*Client) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet ¶
func (c *Client) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet Получение ролей проекта
Corresponds with GET /api/v1/projects/{project_id}/permissions (the `GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet` operationId).
func (*Client) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet ¶
func (c *Client) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet Получение информации о плане резервного копирования
Corresponds with GET /api/v1/protection-plans/{protection_plan_id} (the `GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet` operationId).
func (*Client) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet ¶
func (c *Client) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet Получение информации о сетевом интерфейсе
Corresponds with GET /api/v1/interfaces/{interface_id} (the `GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet` operationId).
func (*Client) GetPublicInterfacesSvcV1InterfacesGet ¶
func (c *Client) GetPublicInterfacesSvcV1InterfacesGet(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicInterfacesSvcV1InterfacesGet Получение списка сетевых интерфейсов
Corresponds with GET /api/v1/interfaces (the `GetPublicInterfacesSvcV1InterfacesGet` operationId).
func (*Client) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet ¶
func (c *Client) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet(ctx context.Context, params *GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet Получение списка ограничений на проект
Corresponds with GET /api/v1/project-entity-usage (the `GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet` operationId).
func (*Client) GetPublicTaskByIdSvcV1TasksTaskIdGet ¶
func (c *Client) GetPublicTaskByIdSvcV1TasksTaskIdGet(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicTaskByIdSvcV1TasksTaskIdGet Получение информации о задаче
Corresponds with GET /api/v1/tasks/{task_id} (the `GetPublicTaskByIdSvcV1TasksTaskIdGet` operationId).
func (*Client) GetPublicTasksSvcV1TasksGet ¶
func (c *Client) GetPublicTasksSvcV1TasksGet(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicTasksSvcV1TasksGet Получение списка задач
Corresponds with GET /api/v1/tasks (the `GetPublicTasksSvcV1TasksGet` operationId).
func (*Client) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet ¶
func (c *Client) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet Получение информации о группе безопасности
Corresponds with GET /api/v1/security-groups/{security_group_id} (the `GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet` operationId).
func (*Client) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet ¶
func (c *Client) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet Получение информации о правиле группы безопасности
Corresponds with GET /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet` operationId).
func (*Client) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet ¶
func (c *Client) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet(ctx context.Context, securityGroupId string, params *GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet Получение списка правил группы безопасности
Corresponds with GET /api/v1/security-groups/{security_group_id}/rules (the `GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet` operationId).
func (*Client) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet ¶
func (c *Client) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet(ctx context.Context, params *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet Получение списка групп безопасности
Corresponds with GET /api/v1/security-groups (the `GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet` operationId).
func (*Client) GetSubnetByIdSvcV1SubnetsSubnetIdGet ¶
func (c *Client) GetSubnetByIdSvcV1SubnetsSubnetIdGet(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubnetByIdSvcV1SubnetsSubnetIdGet Получение информации о подсети
Corresponds with GET /api/v1/subnets/{subnet_id} (the `GetSubnetByIdSvcV1SubnetsSubnetIdGet` operationId).
func (*Client) GetSubnetParamsSvcV1ParamsSubnetGet ¶
func (c *Client) GetSubnetParamsSvcV1ParamsSubnetGet(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubnetParamsSvcV1ParamsSubnetGet Получение параметров подсети
Corresponds with GET /api/v1/params/subnet (the `GetSubnetParamsSvcV1ParamsSubnetGet` operationId).
func (*Client) GetSubnetsSvcV1SubnetsGet ¶
func (c *Client) GetSubnetsSvcV1SubnetsGet(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSubnetsSvcV1SubnetsGet Получение списка подсетей
Corresponds with GET /api/v1/subnets (the `GetSubnetsSvcV1SubnetsGet` operationId).
func (*Client) GetVmByIdSvcV1VmsVmIdGet ¶
func (c *Client) GetVmByIdSvcV1VmsVmIdGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmByIdSvcV1VmsVmIdGet Получение информации о виртуальной машине
Corresponds with GET /api/v1/vms/{vm_id} (the `GetVmByIdSvcV1VmsVmIdGet` operationId).
func (*Client) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet ¶
func (c *Client) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet Получение информации о количестве подключенных PCI-устройств
Corresponds with GET /api/v1/vms/{vm_id}/device-usage (the `GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet` operationId).
func (*Client) GetVmParamsSvcV1ParamsVmGet ¶
func (c *Client) GetVmParamsSvcV1ParamsVmGet(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmParamsSvcV1ParamsVmGet Получение параметров виртуальной машины
Corresponds with GET /api/v1/params/vm (the `GetVmParamsSvcV1ParamsVmGet` operationId).
func (*Client) GetVmVncSvcV1VmsVmIdGetVncPost ¶
func (c *Client) GetVmVncSvcV1VmsVmIdGetVncPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmVncSvcV1VmsVmIdGetVncPost Запуск виртуальной консоли
Метод генерирует ссылку для доступа к виртуальной консоли (VNC) и добавляет ее в параметры ВМ.
Corresponds with POST /api/v1/vms/{vm_id}/get-vnc (the `GetVmVncSvcV1VmsVmIdGetVncPost` operationId).
func (*Client) GetVmsSvcV1VmsGet ¶
func (c *Client) GetVmsSvcV1VmsGet(ctx context.Context, params *GetVmsSvcV1VmsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVmsSvcV1VmsGet Получение списка виртуальных машин
Corresponds with GET /api/v1/vms (the `GetVmsSvcV1VmsGet` operationId).
func (*Client) ListBackupsSvcV1BackupsGet ¶
func (c *Client) ListBackupsSvcV1BackupsGet(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBackupsSvcV1BackupsGet Получение списка резервных копий
Corresponds with GET /api/v1/backups (the `ListBackupsSvcV1BackupsGet` operationId).
func (*Client) ListProtectionPlansSvcV1ProtectionPlansGet ¶
func (c *Client) ListProtectionPlansSvcV1ProtectionPlansGet(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProtectionPlansSvcV1ProtectionPlansGet Получение списка планов резервного копирования
Corresponds with GET /api/v1/protection-plans (the `ListProtectionPlansSvcV1ProtectionPlansGet` operationId).
func (*Client) RebuildVmSvcV1VmsVmIdRebuildPost ¶
func (c *Client) RebuildVmSvcV1VmsVmIdRebuildPost(ctx context.Context, vmId string, body RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RebuildVmSvcV1VmsVmIdRebuildPost Смена образа виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
func (*Client) RebuildVmSvcV1VmsVmIdRebuildPostWithBody ¶
func (c *Client) RebuildVmSvcV1VmsVmIdRebuildPostWithBody(ctx context.Context, vmId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RebuildVmSvcV1VmsVmIdRebuildPostWithBody Смена образа виртуальной машины
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
func (*Client) ReimageDiskSvcV1DisksDiskIdReimagePost ¶
func (c *Client) ReimageDiskSvcV1DisksDiskIdReimagePost(ctx context.Context, diskId string, body ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReimageDiskSvcV1DisksDiskIdReimagePost Замена образа загрузочного диска
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
func (*Client) ReimageDiskSvcV1DisksDiskIdReimagePostWithBody ¶
func (c *Client) ReimageDiskSvcV1DisksDiskIdReimagePostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReimageDiskSvcV1DisksDiskIdReimagePostWithBody Замена образа загрузочного диска
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
func (*Client) RestoreBackupSvcV1BackupsBackupIdActionPost ¶
func (c *Client) RestoreBackupSvcV1BackupsBackupIdActionPost(ctx context.Context, backupId string, body RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreBackupSvcV1BackupsBackupIdActionPost Восстановление ресурса из резервной копии
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
func (*Client) RestoreBackupSvcV1BackupsBackupIdActionPostWithBody ¶
func (c *Client) RestoreBackupSvcV1BackupsBackupIdActionPostWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreBackupSvcV1BackupsBackupIdActionPostWithBody Восстановление ресурса из резервной копии
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
func (*Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPost ¶
func (c *Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPost(ctx context.Context, vmId openapi_types.UUID, body SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVmPasswordSvcV1VmsVmIdSetPasswordPost Установка пароля пользователя виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
func (*Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody ¶
func (c *Client) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody Установка пароля пользователя виртуальной машины
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
func (*Client) SetVmPowerSvcV1VmsVmIdSetPowerPost ¶
func (c *Client) SetVmPowerSvcV1VmsVmIdSetPowerPost(ctx context.Context, vmId openapi_types.UUID, body SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVmPowerSvcV1VmsVmIdSetPowerPost Управление питанием виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
func (*Client) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody ¶
func (c *Client) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody Управление питанием виртуальной машины
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
func (*Client) UpdateBackupSvcV1BackupsBackupIdPut ¶
func (c *Client) UpdateBackupSvcV1BackupsBackupIdPut(ctx context.Context, backupId string, body UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBackupSvcV1BackupsBackupIdPut Обновление резервной копии
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
func (*Client) UpdateBackupSvcV1BackupsBackupIdPutWithBody ¶
func (c *Client) UpdateBackupSvcV1BackupsBackupIdPutWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBackupSvcV1BackupsBackupIdPutWithBody Обновление резервной копии
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
func (*Client) UpdateDiskSvcV1DisksDiskIdPut ¶
func (c *Client) UpdateDiskSvcV1DisksDiskIdPut(ctx context.Context, diskId string, body UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDiskSvcV1DisksDiskIdPut Обновление диска
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
func (*Client) UpdateDiskSvcV1DisksDiskIdPutWithBody ¶
func (c *Client) UpdateDiskSvcV1DisksDiskIdPutWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDiskSvcV1DisksDiskIdPutWithBody Обновление диска
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
func (*Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut ¶
func (c *Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut(ctx context.Context, floatingIpId string, body UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut Обновление публичного IP-адреса
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
func (*Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody ¶
func (c *Client) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody(ctx context.Context, floatingIpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody Обновление публичного IP-адреса
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
func (*Client) UpdateImageSvcV1ImagesImageIdPut ¶
func (c *Client) UpdateImageSvcV1ImagesImageIdPut(ctx context.Context, imageId string, body UpdateImageSvcV1ImagesImageIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateImageSvcV1ImagesImageIdPut Обновление образа
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
func (*Client) UpdateImageSvcV1ImagesImageIdPutWithBody ¶
func (c *Client) UpdateImageSvcV1ImagesImageIdPutWithBody(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateImageSvcV1ImagesImageIdPutWithBody Обновление образа
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
func (*Client) UpdateMultipleVmStatesPublicSvcV1VmsPut ¶
func (c *Client) UpdateMultipleVmStatesPublicSvcV1VmsPut(ctx context.Context, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMultipleVmStatesPublicSvcV1VmsPut Изменение статусов виртуальных машин
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
func (*Client) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody ¶
func (c *Client) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody Изменение статусов виртуальных машин
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
func (*Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut ¶
func (c *Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut(ctx context.Context, natGatewayId openapi_types.UUID, body UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut Обновление SNAT-шлюза
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
func (*Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody ¶
func (c *Client) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody Обновление SNAT-шлюза
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
func (*Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut ¶
func (c *Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut(ctx context.Context, placementGroupId openapi_types.UUID, body UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut Обновление параметров группы размещения
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
func (*Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody ¶
func (c *Client) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody Обновление параметров группы размещения
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
func (*Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut ¶
func (c *Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut(ctx context.Context, protectionPlanId string, body UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut Обновление плана резервного копирования
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
func (*Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody ¶
func (c *Client) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody(ctx context.Context, protectionPlanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody Обновление плана резервного копирования
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
func (*Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut ¶
func (c *Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut(ctx context.Context, interfaceId string, body UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut Обновление сетевого интерфейса
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
func (*Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody ¶
func (c *Client) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody(ctx context.Context, interfaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody Обновление сетевого интерфейса
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
func (*Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut ¶
func (c *Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut(ctx context.Context, securityGroupId string, securityGroupRuleId string, body UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut Обновление правила группы безопасности
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
func (*Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody ¶
func (c *Client) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody(ctx context.Context, securityGroupId string, securityGroupRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody Обновление правила группы безопасности
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
func (*Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut ¶
func (c *Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut(ctx context.Context, securityGroupId string, body UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut Обновление группы безопасности
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
func (*Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody ¶
func (c *Client) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody Обновление группы безопасности
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
func (*Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPut ¶
func (c *Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPut(ctx context.Context, subnetId openapi_types.UUID, body UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSubnetByIdSvcV1SubnetsSubnetIdPut Обновление подсети
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
func (*Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody ¶
func (c *Client) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody(ctx context.Context, subnetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody Обновление подсети
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
func (*Client) UpdateVmSvcV1VmsVmIdPut ¶
func (c *Client) UpdateVmSvcV1VmsVmIdPut(ctx context.Context, vmId openapi_types.UUID, body UpdateVmSvcV1VmsVmIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmSvcV1VmsVmIdPut Обновление виртуальной машины
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
func (*Client) UpdateVmSvcV1VmsVmIdPutWithBody ¶
func (c *Client) UpdateVmSvcV1VmsVmIdPutWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVmSvcV1VmsVmIdPutWithBody Обновление виртуальной машины
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
func (*Client) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet ¶
func (c *Client) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet(ctx context.Context, projectId string, params *ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet Проверка имени сущности в проекте
Corresponds with GET /api/v1/projects/{project_id}/validate_name (the `ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet` operationId).
type ClientInterface ¶
type ClientInterface interface {
// CreateVmV11SvcV11VmsPostWithBody Создание виртуальной машины V1.1
//
// Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код.
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
CreateVmV11SvcV11VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmV11SvcV11VmsPost Создание виртуальной машины V1.1
//
// Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код.
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
CreateVmV11SvcV11VmsPost(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvailabilityZoneListSvcV1AvailabilityZonesGet Получение списка зон доступности
//
// Corresponds with GET /api/v1/availability-zones (the `GetAvailabilityZoneListSvcV1AvailabilityZonesGet` operationId).
GetAvailabilityZoneListSvcV1AvailabilityZonesGet(ctx context.Context, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet Получение настроек зон доступности
//
// Позволяет получить сведения о доступности виртуальной и серийной консоли для ВМ в зоне доступности.
//
// Corresponds with GET /api/v1/availability-zones/settings (the `GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet` operationId).
GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet(ctx context.Context, params *GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet Получение информации о зоне доступности
//
// Corresponds with GET /api/v1/availability-zones/{availability_zone_id} (the `GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet` operationId).
GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvailableIpAddressesSvcV1AvailableIpAddressesGet Получение списка доступных публичных IP-адресов
//
// Corresponds with GET /api/v1/available-ip-addresses (the `GetAvailableIpAddressesSvcV1AvailableIpAddressesGet` operationId).
GetAvailableIpAddressesSvcV1AvailableIpAddressesGet(ctx context.Context, params *GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvailableSubnetsSvcV1AvailableSubnetsGet Получение списка доступных подсетей
//
// Corresponds with GET /api/v1/available-subnets (the `GetAvailableSubnetsSvcV1AvailableSubnetsGet` operationId).
GetAvailableSubnetsSvcV1AvailableSubnetsGet(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupsSvcV1BackupsGet Получение списка резервных копий
//
// Corresponds with GET /api/v1/backups (the `ListBackupsSvcV1BackupsGet` operationId).
ListBackupsSvcV1BackupsGet(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBackupSvcV1BackupsPostWithBody Создание резервной копии
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
CreateBackupSvcV1BackupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBackupSvcV1BackupsPost Создание резервной копии
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
CreateBackupSvcV1BackupsPost(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackupSvcV1BackupsBackupIdDelete Удаление резервной копии
//
// Corresponds with DELETE /api/v1/backups/{backup_id} (the `DeleteBackupSvcV1BackupsBackupIdDelete` operationId).
DeleteBackupSvcV1BackupsBackupIdDelete(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupSvcV1BackupsBackupIdGet Получение информации о резервной копии
//
// Corresponds with GET /api/v1/backups/{backup_id} (the `GetBackupSvcV1BackupsBackupIdGet` operationId).
GetBackupSvcV1BackupsBackupIdGet(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBackupSvcV1BackupsBackupIdPutWithBody Обновление резервной копии
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
UpdateBackupSvcV1BackupsBackupIdPutWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBackupSvcV1BackupsBackupIdPut Обновление резервной копии
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
UpdateBackupSvcV1BackupsBackupIdPut(ctx context.Context, backupId string, body UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreBackupSvcV1BackupsBackupIdActionPostWithBody Восстановление ресурса из резервной копии
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
RestoreBackupSvcV1BackupsBackupIdActionPostWithBody(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreBackupSvcV1BackupsBackupIdActionPost Восстановление ресурса из резервной копии
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
RestoreBackupSvcV1BackupsBackupIdActionPost(ctx context.Context, backupId string, body RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiskTypesSvcV1DiskTypesGet Получение списка типов диска
//
// Corresponds with GET /api/v1/disk-types (the `GetDiskTypesSvcV1DiskTypesGet` operationId).
GetDiskTypesSvcV1DiskTypesGet(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet Получение информации о типе диска
//
// Corresponds with GET /api/v1/disk-types/{disk_type_id} (the `GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet` operationId).
GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDisksSvcV1DisksGet Получение списка дисков
//
// Corresponds with GET /api/v1/disks (the `GetDisksSvcV1DisksGet` operationId).
GetDisksSvcV1DisksGet(ctx context.Context, params *GetDisksSvcV1DisksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDiskSvcV1DisksPostWithBody Создание диска
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
CreateDiskSvcV1DisksPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDiskSvcV1DisksPost Создание диска
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
CreateDiskSvcV1DisksPost(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDiskSvcV1DisksDiskIdDelete Удаление диска
//
// Corresponds with DELETE /api/v1/disks/{disk_id} (the `DeleteDiskSvcV1DisksDiskIdDelete` operationId).
DeleteDiskSvcV1DisksDiskIdDelete(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiskByIdSvcV1DisksDiskIdGet Получение информации о диске
//
// Corresponds with GET /api/v1/disks/{disk_id} (the `GetDiskByIdSvcV1DisksDiskIdGet` operationId).
GetDiskByIdSvcV1DisksDiskIdGet(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDiskSvcV1DisksDiskIdPutWithBody Обновление диска
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
UpdateDiskSvcV1DisksDiskIdPutWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDiskSvcV1DisksDiskIdPut Обновление диска
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
UpdateDiskSvcV1DisksDiskIdPut(ctx context.Context, diskId string, body UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachDiskSvcV1DisksDiskIdAttachPostWithBody Подключение диска к ВМ
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
AttachDiskSvcV1DisksDiskIdAttachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachDiskSvcV1DisksDiskIdAttachPost Подключение диска к ВМ
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
AttachDiskSvcV1DisksDiskIdAttachPost(ctx context.Context, diskId string, body AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachDiskSvcV1DisksDiskIdDetachPostWithBody Отключение диска от ВМ
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
DetachDiskSvcV1DisksDiskIdDetachPostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachDiskSvcV1DisksDiskIdDetachPost Отключение диска от ВМ
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
DetachDiskSvcV1DisksDiskIdDetachPost(ctx context.Context, diskId string, body DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReimageDiskSvcV1DisksDiskIdReimagePostWithBody Замена образа загрузочного диска
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
ReimageDiskSvcV1DisksDiskIdReimagePostWithBody(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReimageDiskSvcV1DisksDiskIdReimagePost Замена образа загрузочного диска
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
ReimageDiskSvcV1DisksDiskIdReimagePost(ctx context.Context, diskId string, body ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFlavorsSvcV1FlavorsGet Получение списка флейворов
//
// Corresponds with GET /api/v1/flavors (the `GetFlavorsSvcV1FlavorsGet` operationId).
GetFlavorsSvcV1FlavorsGet(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFlavorByIdSvcV1FlavorsFlavorIdGet Получение информации о флейворе
//
// Corresponds with GET /api/v1/flavors/{flavor_id} (the `GetFlavorByIdSvcV1FlavorsFlavorIdGet` operationId).
GetFlavorByIdSvcV1FlavorsFlavorIdGet(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFloatingIpFipsSvcV1FloatingIpsGet Получение списка публичных IP-адресов
//
// Corresponds with GET /api/v1/floating-ips (the `GetFloatingIpFipsSvcV1FloatingIpsGet` operationId).
GetFloatingIpFipsSvcV1FloatingIpsGet(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFloatingIpSvcV1FloatingIpsPostWithBody Создание публичного IP-адреса
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
CreateFloatingIpSvcV1FloatingIpsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFloatingIpSvcV1FloatingIpsPost Создание публичного IP-адреса
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
CreateFloatingIpSvcV1FloatingIpsPost(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete Удаление публичного IP-адреса
//
// Corresponds with DELETE /api/v1/floating-ips/{floating_ip_id} (the `DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete` operationId).
DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet Получение информации о публичном IP-адресе
//
// Corresponds with GET /api/v1/floating-ips/{floating_ip_id} (the `GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet` operationId).
GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody Обновление публичного IP-адреса
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBody(ctx context.Context, floatingIpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut Обновление публичного IP-адреса
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut(ctx context.Context, floatingIpId string, body UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImagesSvcV1ImagesGet Получение списка образов
//
// Corresponds with GET /api/v1/images (the `GetImagesSvcV1ImagesGet` operationId).
GetImagesSvcV1ImagesGet(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImageSvcV1ImagesPostWithBody Создание образа
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
CreateImageSvcV1ImagesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImageSvcV1ImagesPost Создание образа
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
CreateImageSvcV1ImagesPost(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteImageSvcV1ImagesImageIdDelete Удаление образа
//
// Corresponds with DELETE /api/v1/images/{image_id} (the `DeleteImageSvcV1ImagesImageIdDelete` operationId).
DeleteImageSvcV1ImagesImageIdDelete(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageByIdSvcV1ImagesImageIdGet Получение информации об образе
//
// Corresponds with GET /api/v1/images/{image_id} (the `GetImageByIdSvcV1ImagesImageIdGet` operationId).
GetImageByIdSvcV1ImagesImageIdGet(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateImageSvcV1ImagesImageIdPutWithBody Обновление образа
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
UpdateImageSvcV1ImagesImageIdPutWithBody(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateImageSvcV1ImagesImageIdPut Обновление образа
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
UpdateImageSvcV1ImagesImageIdPut(ctx context.Context, imageId string, body UpdateImageSvcV1ImagesImageIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicInterfacesSvcV1InterfacesGet Получение списка сетевых интерфейсов
//
// Corresponds with GET /api/v1/interfaces (the `GetPublicInterfacesSvcV1InterfacesGet` operationId).
GetPublicInterfacesSvcV1InterfacesGet(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInterfaceSvcV1InterfacesPostWithBody Создание сетевого интерфейса
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
CreateInterfaceSvcV1InterfacesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInterfaceSvcV1InterfacesPost Создание сетевого интерфейса
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
CreateInterfaceSvcV1InterfacesPost(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInterfaceSvcV1InterfacesInterfaceIdDelete Удаление сетевого интерфейса
//
// Corresponds with DELETE /api/v1/interfaces/{interface_id} (the `DeleteInterfaceSvcV1InterfacesInterfaceIdDelete` operationId).
DeleteInterfaceSvcV1InterfacesInterfaceIdDelete(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet Получение информации о сетевом интерфейсе
//
// Corresponds with GET /api/v1/interfaces/{interface_id} (the `GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet` operationId).
GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody Обновление сетевого интерфейса
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBody(ctx context.Context, interfaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut Обновление сетевого интерфейса
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut(ctx context.Context, interfaceId string, body UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNatGatewaysSvcV1NatGatewaysGet Получение списка SNAT-шлюзов
//
// Corresponds with GET /api/v1/nat-gateways (the `GetNatGatewaysSvcV1NatGatewaysGet` operationId).
GetNatGatewaysSvcV1NatGatewaysGet(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateNatGatewaySvcV1NatGatewaysPostWithBody Создание SNAT-шлюза
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
CreateNatGatewaySvcV1NatGatewaysPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateNatGatewaySvcV1NatGatewaysPost Создание SNAT-шлюза
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
CreateNatGatewaySvcV1NatGatewaysPost(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete Удаление SNAT-шлюза
//
// Corresponds with DELETE /api/v1/nat-gateways/{nat_gateway_id} (the `DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete` operationId).
DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet Получение информации о SNAT-шлюзе
//
// Corresponds with GET /api/v1/nat-gateways/{nat_gateway_id} (the `GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet` operationId).
GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody Обновление SNAT-шлюза
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBody(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut Обновление SNAT-шлюза
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut(ctx context.Context, natGatewayId openapi_types.UUID, body UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet Получение информации об организации
//
// Corresponds with GET /api/v1/organizations/{organization_id} (the `GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet` operationId).
GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiskParamsSvcV1ParamsDiskGet Получение параметров диска
//
// Corresponds with GET /api/v1/params/disk (the `GetDiskParamsSvcV1ParamsDiskGet` operationId).
GetDiskParamsSvcV1ParamsDiskGet(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFlavorParamsSvcV1ParamsFlavorGet Получение параметров флейвора
//
// Corresponds with GET /api/v1/params/flavor (the `GetFlavorParamsSvcV1ParamsFlavorGet` operationId).
GetFlavorParamsSvcV1ParamsFlavorGet(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubnetParamsSvcV1ParamsSubnetGet Получение параметров подсети
//
// Corresponds with GET /api/v1/params/subnet (the `GetSubnetParamsSvcV1ParamsSubnetGet` operationId).
GetSubnetParamsSvcV1ParamsSubnetGet(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmParamsSvcV1ParamsVmGet Получение параметров виртуальной машины
//
// Corresponds with GET /api/v1/params/vm (the `GetVmParamsSvcV1ParamsVmGet` operationId).
GetVmParamsSvcV1ParamsVmGet(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlacementGroupsSvcV1PlacementGroupsGet Получение списка групп размещения
//
// Corresponds with GET /api/v1/placement-groups (the `GetPlacementGroupsSvcV1PlacementGroupsGet` operationId).
GetPlacementGroupsSvcV1PlacementGroupsGet(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlacementGroupSvcV1PlacementGroupsPostWithBody Создание группы размещения
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
CreatePlacementGroupSvcV1PlacementGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePlacementGroupSvcV1PlacementGroupsPost Создание группы размещения
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
CreatePlacementGroupSvcV1PlacementGroupsPost(ctx context.Context, body CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete Удаление группы размещения
//
// Corresponds with DELETE /api/v1/placement-groups/{placement_group_id} (the `DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete` operationId).
DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet Получение информации о группе размещения
//
// Corresponds with GET /api/v1/placement-groups/{placement_group_id} (the `GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet` operationId).
GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody Обновление параметров группы размещения
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBody(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut Обновление параметров группы размещения
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut(ctx context.Context, placementGroupId openapi_types.UUID, body UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet Получение списка ограничений на проект
//
// Corresponds with GET /api/v1/project-entity-usage (the `GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet` operationId).
GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet(ctx context.Context, params *GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectForPublicSvcV1ProjectsProjectIdGet Получение информации о проекте
//
// Corresponds with GET /api/v1/projects/{project_id} (the `GetProjectForPublicSvcV1ProjectsProjectIdGet` operationId).
GetProjectForPublicSvcV1ProjectsProjectIdGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet Получение ролей проекта
//
// Corresponds with GET /api/v1/projects/{project_id}/permissions (the `GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet` operationId).
GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody Расчет стоимости ресурсов
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost Расчет стоимости ресурсов
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost(ctx context.Context, projectId string, body GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet Проверка имени сущности в проекте
//
// Corresponds with GET /api/v1/projects/{project_id}/validate_name (the `ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet` operationId).
ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet(ctx context.Context, projectId string, params *ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProtectionPlansSvcV1ProtectionPlansGet Получение списка планов резервного копирования
//
// Corresponds with GET /api/v1/protection-plans (the `ListProtectionPlansSvcV1ProtectionPlansGet` operationId).
ListProtectionPlansSvcV1ProtectionPlansGet(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProtectionPlanSvcV1ProtectionPlansPostWithBody Создание плана резервного копирования
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
CreateProtectionPlanSvcV1ProtectionPlansPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProtectionPlanSvcV1ProtectionPlansPost Создание плана резервного копирования
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
CreateProtectionPlanSvcV1ProtectionPlansPost(ctx context.Context, body CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete Удаление плана резервного копирования
//
// Corresponds with DELETE /api/v1/protection-plans/{protection_plan_id} (the `DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete` operationId).
DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet Получение информации о плане резервного копирования
//
// Corresponds with GET /api/v1/protection-plans/{protection_plan_id} (the `GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet` operationId).
GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody Обновление плана резервного копирования
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBody(ctx context.Context, protectionPlanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut Обновление плана резервного копирования
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut(ctx context.Context, protectionPlanId string, body UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet Получение списка групп безопасности
//
// Corresponds with GET /api/v1/security-groups (the `GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet` operationId).
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet(ctx context.Context, params *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSecurityGroupSvcV1SecurityGroupsPostWithBody Создание группы безопасности
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
CreateSecurityGroupSvcV1SecurityGroupsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSecurityGroupSvcV1SecurityGroupsPost Создание группы безопасности
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
CreateSecurityGroupSvcV1SecurityGroupsPost(ctx context.Context, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete Удаление группы безопасности
//
// Corresponds with DELETE /api/v1/security-groups/{security_group_id} (the `DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete` operationId).
DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet Получение информации о группе безопасности
//
// Corresponds with GET /api/v1/security-groups/{security_group_id} (the `GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet` operationId).
GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody Обновление группы безопасности
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBody(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut Обновление группы безопасности
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut(ctx context.Context, securityGroupId string, body UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet Получение списка правил группы безопасности
//
// Corresponds with GET /api/v1/security-groups/{security_group_id}/rules (the `GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet` operationId).
GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet(ctx context.Context, securityGroupId string, params *GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody Создание правила группы безопасности
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBody(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost Создание правила группы безопасности
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost(ctx context.Context, securityGroupId string, body CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete Удаление правила группы безопасности
//
// Corresponds with DELETE /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete` operationId).
DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet Получение информации о правиле группы безопасности
//
// Corresponds with GET /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet` operationId).
GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody Обновление правила группы безопасности
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBody(ctx context.Context, securityGroupId string, securityGroupRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut Обновление правила группы безопасности
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut(ctx context.Context, securityGroupId string, securityGroupRuleId string, body UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubnetsSvcV1SubnetsGet Получение списка подсетей
//
// Corresponds with GET /api/v1/subnets (the `GetSubnetsSvcV1SubnetsGet` operationId).
GetSubnetsSvcV1SubnetsGet(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSubnetSvcV1SubnetsPostWithBody Создание подсети
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
CreateSubnetSvcV1SubnetsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSubnetSvcV1SubnetsPost Создание подсети
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
CreateSubnetSvcV1SubnetsPost(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete Удаление подсети
//
// Corresponds with DELETE /api/v1/subnets/{subnet_id} (the `DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete` operationId).
DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSubnetByIdSvcV1SubnetsSubnetIdGet Получение информации о подсети
//
// Corresponds with GET /api/v1/subnets/{subnet_id} (the `GetSubnetByIdSvcV1SubnetsSubnetIdGet` operationId).
GetSubnetByIdSvcV1SubnetsSubnetIdGet(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody Обновление подсети
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBody(ctx context.Context, subnetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSubnetByIdSvcV1SubnetsSubnetIdPut Обновление подсети
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
UpdateSubnetByIdSvcV1SubnetsSubnetIdPut(ctx context.Context, subnetId openapi_types.UUID, body UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicTasksSvcV1TasksGet Получение списка задач
//
// Corresponds with GET /api/v1/tasks (the `GetPublicTasksSvcV1TasksGet` operationId).
GetPublicTasksSvcV1TasksGet(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicTaskByIdSvcV1TasksTaskIdGet Получение информации о задаче
//
// Corresponds with GET /api/v1/tasks/{task_id} (the `GetPublicTaskByIdSvcV1TasksTaskIdGet` operationId).
GetPublicTaskByIdSvcV1TasksTaskIdGet(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmsSvcV1VmsGet Получение списка виртуальных машин
//
// Corresponds with GET /api/v1/vms (the `GetVmsSvcV1VmsGet` operationId).
GetVmsSvcV1VmsGet(ctx context.Context, params *GetVmsSvcV1VmsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmSvcV1VmsPostWithBody Создание виртуальной машины
//
// Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
//
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
CreateVmSvcV1VmsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVmSvcV1VmsPost Создание виртуальной машины
//
// Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
//
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
CreateVmSvcV1VmsPost(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody Изменение статусов виртуальных машин
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
UpdateMultipleVmStatesPublicSvcV1VmsPutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMultipleVmStatesPublicSvcV1VmsPut Изменение статусов виртуальных машин
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
UpdateMultipleVmStatesPublicSvcV1VmsPut(ctx context.Context, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmSvcV1VmsVmIdDeleteWithBody Удаление виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
DeleteVmSvcV1VmsVmIdDeleteWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmSvcV1VmsVmIdDelete Удаление виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
DeleteVmSvcV1VmsVmIdDelete(ctx context.Context, vmId openapi_types.UUID, body DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmByIdSvcV1VmsVmIdGet Получение информации о виртуальной машине
//
// Corresponds with GET /api/v1/vms/{vm_id} (the `GetVmByIdSvcV1VmsVmIdGet` operationId).
GetVmByIdSvcV1VmsVmIdGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmSvcV1VmsVmIdPutWithBody Обновление виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
UpdateVmSvcV1VmsVmIdPutWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVmSvcV1VmsVmIdPut Обновление виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
UpdateVmSvcV1VmsVmIdPut(ctx context.Context, vmId openapi_types.UUID, body UpdateVmSvcV1VmsVmIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost Проверка доступности Compute Agent
//
// Corresponds with POST /api/v1/vms/{vm_id}/check-guest-agent (the `CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost` operationId).
CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody Удаление пароля пользователя виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost Удаление пароля пользователя виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost(ctx context.Context, vmId openapi_types.UUID, body DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet Получение информации о количестве подключенных PCI-устройств
//
// Corresponds with GET /api/v1/vms/{vm_id}/device-usage (the `GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet` operationId).
GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVmVncSvcV1VmsVmIdGetVncPost Запуск виртуальной консоли
//
// Метод генерирует ссылку для доступа к виртуальной консоли (VNC) и добавляет ее в параметры ВМ.
//
// Corresponds with POST /api/v1/vms/{vm_id}/get-vnc (the `GetVmVncSvcV1VmsVmIdGetVncPost` operationId).
GetVmVncSvcV1VmsVmIdGetVncPost(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebuildVmSvcV1VmsVmIdRebuildPostWithBody Смена образа виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
RebuildVmSvcV1VmsVmIdRebuildPostWithBody(ctx context.Context, vmId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebuildVmSvcV1VmsVmIdRebuildPost Смена образа виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
RebuildVmSvcV1VmsVmIdRebuildPost(ctx context.Context, vmId string, body RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody Запуск серийной или виртуальной консоли
//
// Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost Запуск серийной или виртуальной консоли
//
// Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost(ctx context.Context, vmId openapi_types.UUID, body GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody Установка пароля пользователя виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVmPasswordSvcV1VmsVmIdSetPasswordPost Установка пароля пользователя виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
SetVmPasswordSvcV1VmsVmIdSetPasswordPost(ctx context.Context, vmId openapi_types.UUID, body SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody Управление питанием виртуальной машины
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
SetVmPowerSvcV1VmsVmIdSetPowerPostWithBody(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetVmPowerSvcV1VmsVmIdSetPowerPost Управление питанием виртуальной машины
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
SetVmPowerSvcV1VmsVmIdSetPowerPost(ctx context.Context, vmId openapi_types.UUID, body SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse Подключение диска к ВМ
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
func (*ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithResponse ¶
func (c *ClientWithResponses) AttachDiskSvcV1DisksDiskIdAttachPostWithResponse(ctx context.Context, diskId string, body AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
AttachDiskSvcV1DisksDiskIdAttachPostWithResponse Подключение диска к ВМ
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
func (*ClientWithResponses) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse ¶
func (c *ClientWithResponses) CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse, error)
CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse Проверка доступности Compute Agent
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/check-guest-agent (the `CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost` operationId).
func (*ClientWithResponses) CreateBackupSvcV1BackupsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBackupSvcV1BackupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupSvcV1BackupsPostResponse, error)
CreateBackupSvcV1BackupsPostWithBodyWithResponse Создание резервной копии
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
func (*ClientWithResponses) CreateBackupSvcV1BackupsPostWithResponse ¶
func (c *ClientWithResponses) CreateBackupSvcV1BackupsPostWithResponse(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupSvcV1BackupsPostResponse, error)
CreateBackupSvcV1BackupsPostWithResponse Создание резервной копии
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
func (*ClientWithResponses) CreateDiskSvcV1DisksPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDiskSvcV1DisksPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDiskSvcV1DisksPostResponse, error)
CreateDiskSvcV1DisksPostWithBodyWithResponse Создание диска
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
func (*ClientWithResponses) CreateDiskSvcV1DisksPostWithResponse ¶
func (c *ClientWithResponses) CreateDiskSvcV1DisksPostWithResponse(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDiskSvcV1DisksPostResponse, error)
CreateDiskSvcV1DisksPostWithResponse Создание диска
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
func (*ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse Создание публичного IP-адреса
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
func (*ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithResponse ¶
func (c *ClientWithResponses) CreateFloatingIpSvcV1FloatingIpsPostWithResponse(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
CreateFloatingIpSvcV1FloatingIpsPostWithResponse Создание публичного IP-адреса
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
func (*ClientWithResponses) CreateImageSvcV1ImagesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateImageSvcV1ImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageSvcV1ImagesPostResponse, error)
CreateImageSvcV1ImagesPostWithBodyWithResponse Создание образа
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
func (*ClientWithResponses) CreateImageSvcV1ImagesPostWithResponse ¶
func (c *ClientWithResponses) CreateImageSvcV1ImagesPostWithResponse(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageSvcV1ImagesPostResponse, error)
CreateImageSvcV1ImagesPostWithResponse Создание образа
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
func (*ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse Создание сетевого интерфейса
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
func (*ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithResponse ¶
func (c *ClientWithResponses) CreateInterfaceSvcV1InterfacesPostWithResponse(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
CreateInterfaceSvcV1InterfacesPostWithResponse Создание сетевого интерфейса
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
func (*ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse Создание SNAT-шлюза
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
func (*ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithResponse ¶
func (c *ClientWithResponses) CreateNatGatewaySvcV1NatGatewaysPostWithResponse(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
CreateNatGatewaySvcV1NatGatewaysPostWithResponse Создание SNAT-шлюза
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
func (*ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse Создание группы размещения
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
func (*ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse ¶
func (c *ClientWithResponses) CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse(ctx context.Context, body CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse Создание группы размещения
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
func (*ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse Создание плана резервного копирования
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
func (*ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse ¶
func (c *ClientWithResponses) CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse(ctx context.Context, body CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse Создание плана резервного копирования
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
func (*ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse, error)
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse Создание правила группы безопасности
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
func (*ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse ¶
func (c *ClientWithResponses) CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse(ctx context.Context, securityGroupId string, body CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse, error)
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse Создание правила группы безопасности
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
func (*ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse Создание группы безопасности
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
func (*ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse(ctx context.Context, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse Создание группы безопасности
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
func (*ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubnetSvcV1SubnetsPostResponse, error)
CreateSubnetSvcV1SubnetsPostWithBodyWithResponse Создание подсети
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
func (*ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithResponse ¶
func (c *ClientWithResponses) CreateSubnetSvcV1SubnetsPostWithResponse(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubnetSvcV1SubnetsPostResponse, error)
CreateSubnetSvcV1SubnetsPostWithResponse Создание подсети
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
func (*ClientWithResponses) CreateVmSvcV1VmsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVmSvcV1VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmSvcV1VmsPostResponse, error)
CreateVmSvcV1VmsPostWithBodyWithResponse Создание виртуальной машины
Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
func (*ClientWithResponses) CreateVmSvcV1VmsPostWithResponse ¶
func (c *ClientWithResponses) CreateVmSvcV1VmsPostWithResponse(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmSvcV1VmsPostResponse, error)
CreateVmSvcV1VmsPostWithResponse Создание виртуальной машины
Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
func (*ClientWithResponses) CreateVmV11SvcV11VmsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVmV11SvcV11VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmV11SvcV11VmsPostResponse, error)
CreateVmV11SvcV11VmsPostWithBodyWithResponse Создание виртуальной машины V1.1
Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код. Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
func (*ClientWithResponses) CreateVmV11SvcV11VmsPostWithResponse ¶
func (c *ClientWithResponses) CreateVmV11SvcV11VmsPostWithResponse(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmV11SvcV11VmsPostResponse, error)
CreateVmV11SvcV11VmsPostWithResponse Создание виртуальной машины V1.1
Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код. Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
func (*ClientWithResponses) DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*DeleteBackupSvcV1BackupsBackupIdDeleteResponse, error)
DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse Удаление резервной копии
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/backups/{backup_id} (the `DeleteBackupSvcV1BackupsBackupIdDelete` operationId).
func (*ClientWithResponses) DeleteDiskSvcV1DisksDiskIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteDiskSvcV1DisksDiskIdDeleteWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*DeleteDiskSvcV1DisksDiskIdDeleteResponse, error)
DeleteDiskSvcV1DisksDiskIdDeleteWithResponse Удаление диска
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/disks/{disk_id} (the `DeleteDiskSvcV1DisksDiskIdDelete` operationId).
func (*ClientWithResponses) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse, error)
DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse Удаление публичного IP-адреса
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/floating-ips/{floating_ip_id} (the `DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete` operationId).
func (*ClientWithResponses) DeleteImageSvcV1ImagesImageIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteImageSvcV1ImagesImageIdDeleteWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*DeleteImageSvcV1ImagesImageIdDeleteResponse, error)
DeleteImageSvcV1ImagesImageIdDeleteWithResponse Удаление образа
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/images/{image_id} (the `DeleteImageSvcV1ImagesImageIdDelete` operationId).
func (*ClientWithResponses) DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse, error)
DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse Удаление сетевого интерфейса
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/interfaces/{interface_id} (the `DeleteInterfaceSvcV1InterfacesInterfaceIdDelete` operationId).
func (*ClientWithResponses) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse, error)
DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse Удаление SNAT-шлюза
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/nat-gateways/{nat_gateway_id} (the `DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete` operationId).
func (*ClientWithResponses) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse, error)
DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse Удаление группы размещения
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/placement-groups/{placement_group_id} (the `DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete` operationId).
func (*ClientWithResponses) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse, error)
DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse Удаление плана резервного копирования
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/protection-plans/{protection_plan_id} (the `DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete` operationId).
func (*ClientWithResponses) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse, error)
DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse Удаление правила группы безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete` operationId).
func (*ClientWithResponses) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse, error)
DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse Удаление группы безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/security-groups/{security_group_id} (the `DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete` operationId).
func (*ClientWithResponses) DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse, error)
DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse Удаление подсети
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/subnets/{subnet_id} (the `DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete` operationId).
func (*ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse Удаление пароля пользователя виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
func (*ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse ¶
func (c *ClientWithResponses) DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse Удаление пароля пользователя виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
func (*ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse Удаление виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
func (*ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteVmSvcV1VmsVmIdDeleteWithResponse(ctx context.Context, vmId openapi_types.UUID, body DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
DeleteVmSvcV1VmsVmIdDeleteWithResponse Удаление виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
func (*ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse ¶
func (c *ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse Отключение диска от ВМ
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
func (*ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithResponse ¶
func (c *ClientWithResponses) DetachDiskSvcV1DisksDiskIdDetachPostWithResponse(ctx context.Context, diskId string, body DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
DetachDiskSvcV1DisksDiskIdDetachPostWithResponse Отключение диска от ВМ
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
func (*ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse ¶
func (c *ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse Запуск серийной или виртуальной консоли
Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
func (*ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse ¶
func (c *ClientWithResponses) GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse(ctx context.Context, vmId openapi_types.UUID, body GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse Запуск серийной или виртуальной консоли
Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
func (*ClientWithResponses) GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse ¶
func (c *ClientWithResponses) GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse(ctx context.Context, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse, error)
GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse Получение списка зон доступности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/availability-zones (the `GetAvailabilityZoneListSvcV1AvailabilityZonesGet` operationId).
func (*ClientWithResponses) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse ¶
func (c *ClientWithResponses) GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse(ctx context.Context, params *GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse, error)
GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse Получение настроек зон доступности
Позволяет получить сведения о доступности виртуальной и серийной консоли для ВМ в зоне доступности.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/availability-zones/settings (the `GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet` operationId).
func (*ClientWithResponses) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse ¶
func (c *ClientWithResponses) GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse, error)
GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse Получение информации о зоне доступности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/availability-zones/{availability_zone_id} (the `GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet` operationId).
func (*ClientWithResponses) GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse ¶
func (c *ClientWithResponses) GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse(ctx context.Context, params *GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams, reqEditors ...RequestEditorFn) (*GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse, error)
GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse Получение списка доступных публичных IP-адресов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/available-ip-addresses (the `GetAvailableIpAddressesSvcV1AvailableIpAddressesGet` operationId).
func (*ClientWithResponses) GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse ¶
func (c *ClientWithResponses) GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, reqEditors ...RequestEditorFn) (*GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse, error)
GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse Получение списка доступных подсетей
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/available-subnets (the `GetAvailableSubnetsSvcV1AvailableSubnetsGet` operationId).
func (*ClientWithResponses) GetBackupSvcV1BackupsBackupIdGetWithResponse ¶
func (c *ClientWithResponses) GetBackupSvcV1BackupsBackupIdGetWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*GetBackupSvcV1BackupsBackupIdGetResponse, error)
GetBackupSvcV1BackupsBackupIdGetWithResponse Получение информации о резервной копии
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/backups/{backup_id} (the `GetBackupSvcV1BackupsBackupIdGet` operationId).
func (*ClientWithResponses) GetDiskByIdSvcV1DisksDiskIdGetWithResponse ¶
func (c *ClientWithResponses) GetDiskByIdSvcV1DisksDiskIdGetWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*GetDiskByIdSvcV1DisksDiskIdGetResponse, error)
GetDiskByIdSvcV1DisksDiskIdGetWithResponse Получение информации о диске
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/disks/{disk_id} (the `GetDiskByIdSvcV1DisksDiskIdGet` operationId).
func (*ClientWithResponses) GetDiskParamsSvcV1ParamsDiskGetWithResponse ¶
func (c *ClientWithResponses) GetDiskParamsSvcV1ParamsDiskGetWithResponse(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, reqEditors ...RequestEditorFn) (*GetDiskParamsSvcV1ParamsDiskGetResponse, error)
GetDiskParamsSvcV1ParamsDiskGetWithResponse Получение параметров диска
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/params/disk (the `GetDiskParamsSvcV1ParamsDiskGet` operationId).
func (*ClientWithResponses) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse ¶
func (c *ClientWithResponses) GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse, error)
GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse Получение информации о типе диска
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/disk-types/{disk_type_id} (the `GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet` operationId).
func (*ClientWithResponses) GetDiskTypesSvcV1DiskTypesGetWithResponse ¶
func (c *ClientWithResponses) GetDiskTypesSvcV1DiskTypesGetWithResponse(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, reqEditors ...RequestEditorFn) (*GetDiskTypesSvcV1DiskTypesGetResponse, error)
GetDiskTypesSvcV1DiskTypesGetWithResponse Получение списка типов диска
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/disk-types (the `GetDiskTypesSvcV1DiskTypesGet` operationId).
func (*ClientWithResponses) GetDisksSvcV1DisksGetWithResponse ¶
func (c *ClientWithResponses) GetDisksSvcV1DisksGetWithResponse(ctx context.Context, params *GetDisksSvcV1DisksGetParams, reqEditors ...RequestEditorFn) (*GetDisksSvcV1DisksGetResponse, error)
GetDisksSvcV1DisksGetWithResponse Получение списка дисков
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/disks (the `GetDisksSvcV1DisksGet` operationId).
func (*ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse Расчет стоимости ресурсов
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
func (*ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse ¶
func (c *ClientWithResponses) GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse(ctx context.Context, projectId string, body GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse Расчет стоимости ресурсов
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
func (*ClientWithResponses) GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse ¶
func (c *ClientWithResponses) GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse, error)
GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse Получение информации о флейворе
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/flavors/{flavor_id} (the `GetFlavorByIdSvcV1FlavorsFlavorIdGet` operationId).
func (*ClientWithResponses) GetFlavorParamsSvcV1ParamsFlavorGetWithResponse ¶
func (c *ClientWithResponses) GetFlavorParamsSvcV1ParamsFlavorGetWithResponse(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, reqEditors ...RequestEditorFn) (*GetFlavorParamsSvcV1ParamsFlavorGetResponse, error)
GetFlavorParamsSvcV1ParamsFlavorGetWithResponse Получение параметров флейвора
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/params/flavor (the `GetFlavorParamsSvcV1ParamsFlavorGet` operationId).
func (*ClientWithResponses) GetFlavorsSvcV1FlavorsGetWithResponse ¶
func (c *ClientWithResponses) GetFlavorsSvcV1FlavorsGetWithResponse(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, reqEditors ...RequestEditorFn) (*GetFlavorsSvcV1FlavorsGetResponse, error)
GetFlavorsSvcV1FlavorsGetWithResponse Получение списка флейворов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/flavors (the `GetFlavorsSvcV1FlavorsGet` operationId).
func (*ClientWithResponses) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse ¶
func (c *ClientWithResponses) GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse, error)
GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse Получение информации о публичном IP-адресе
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/floating-ips/{floating_ip_id} (the `GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet` operationId).
func (*ClientWithResponses) GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse ¶
func (c *ClientWithResponses) GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, reqEditors ...RequestEditorFn) (*GetFloatingIpFipsSvcV1FloatingIpsGetResponse, error)
GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse Получение списка публичных IP-адресов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/floating-ips (the `GetFloatingIpFipsSvcV1FloatingIpsGet` operationId).
func (*ClientWithResponses) GetImageByIdSvcV1ImagesImageIdGetWithResponse ¶
func (c *ClientWithResponses) GetImageByIdSvcV1ImagesImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageByIdSvcV1ImagesImageIdGetResponse, error)
GetImageByIdSvcV1ImagesImageIdGetWithResponse Получение информации об образе
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/images/{image_id} (the `GetImageByIdSvcV1ImagesImageIdGet` operationId).
func (*ClientWithResponses) GetImagesSvcV1ImagesGetWithResponse ¶
func (c *ClientWithResponses) GetImagesSvcV1ImagesGetWithResponse(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, reqEditors ...RequestEditorFn) (*GetImagesSvcV1ImagesGetResponse, error)
GetImagesSvcV1ImagesGetWithResponse Получение списка образов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/images (the `GetImagesSvcV1ImagesGet` operationId).
func (*ClientWithResponses) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse ¶
func (c *ClientWithResponses) GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse, error)
GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse Получение информации о SNAT-шлюзе
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/nat-gateways/{nat_gateway_id} (the `GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet` operationId).
func (*ClientWithResponses) GetNatGatewaysSvcV1NatGatewaysGetWithResponse ¶
func (c *ClientWithResponses) GetNatGatewaysSvcV1NatGatewaysGetWithResponse(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, reqEditors ...RequestEditorFn) (*GetNatGatewaysSvcV1NatGatewaysGetResponse, error)
GetNatGatewaysSvcV1NatGatewaysGetWithResponse Получение списка SNAT-шлюзов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/nat-gateways (the `GetNatGatewaysSvcV1NatGatewaysGet` operationId).
func (*ClientWithResponses) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse ¶
func (c *ClientWithResponses) GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse, error)
GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse Получение информации об организации
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/organizations/{organization_id} (the `GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet` operationId).
func (*ClientWithResponses) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse ¶
func (c *ClientWithResponses) GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse, error)
GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse Получение информации о группе размещения
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/placement-groups/{placement_group_id} (the `GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet` operationId).
func (*ClientWithResponses) GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse ¶
func (c *ClientWithResponses) GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, reqEditors ...RequestEditorFn) (*GetPlacementGroupsSvcV1PlacementGroupsGetResponse, error)
GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse Получение списка групп размещения
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/placement-groups (the `GetPlacementGroupsSvcV1PlacementGroupsGet` operationId).
func (*ClientWithResponses) GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse ¶
func (c *ClientWithResponses) GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectForPublicSvcV1ProjectsProjectIdGetResponse, error)
GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse Получение информации о проекте
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/projects/{project_id} (the `GetProjectForPublicSvcV1ProjectsProjectIdGet` operationId).
func (*ClientWithResponses) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse ¶
func (c *ClientWithResponses) GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse, error)
GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse Получение ролей проекта
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/projects/{project_id}/permissions (the `GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet` operationId).
func (*ClientWithResponses) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse ¶
func (c *ClientWithResponses) GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse, error)
GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse Получение информации о плане резервного копирования
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/protection-plans/{protection_plan_id} (the `GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet` operationId).
func (*ClientWithResponses) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse ¶
func (c *ClientWithResponses) GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse, error)
GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse Получение информации о сетевом интерфейсе
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/interfaces/{interface_id} (the `GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet` operationId).
func (*ClientWithResponses) GetPublicInterfacesSvcV1InterfacesGetWithResponse ¶
func (c *ClientWithResponses) GetPublicInterfacesSvcV1InterfacesGetWithResponse(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, reqEditors ...RequestEditorFn) (*GetPublicInterfacesSvcV1InterfacesGetResponse, error)
GetPublicInterfacesSvcV1InterfacesGetWithResponse Получение списка сетевых интерфейсов
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/interfaces (the `GetPublicInterfacesSvcV1InterfacesGet` operationId).
func (*ClientWithResponses) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse ¶
func (c *ClientWithResponses) GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse(ctx context.Context, params *GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams, reqEditors ...RequestEditorFn) (*GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse, error)
GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse Получение списка ограничений на проект
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/project-entity-usage (the `GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet` operationId).
func (*ClientWithResponses) GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse ¶
func (c *ClientWithResponses) GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetPublicTaskByIdSvcV1TasksTaskIdGetResponse, error)
GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse Получение информации о задаче
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/tasks/{task_id} (the `GetPublicTaskByIdSvcV1TasksTaskIdGet` operationId).
func (*ClientWithResponses) GetPublicTasksSvcV1TasksGetWithResponse ¶
func (c *ClientWithResponses) GetPublicTasksSvcV1TasksGetWithResponse(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, reqEditors ...RequestEditorFn) (*GetPublicTasksSvcV1TasksGetResponse, error)
GetPublicTasksSvcV1TasksGetWithResponse Получение списка задач
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/tasks (the `GetPublicTasksSvcV1TasksGet` operationId).
func (*ClientWithResponses) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse, error)
GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse Получение информации о группе безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/security-groups/{security_group_id} (the `GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet` operationId).
func (*ClientWithResponses) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse, error)
GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse Получение информации о правиле группы безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet` operationId).
func (*ClientWithResponses) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse(ctx context.Context, securityGroupId string, params *GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse, error)
GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse Получение списка правил группы безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/security-groups/{security_group_id}/rules (the `GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet` operationId).
func (*ClientWithResponses) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse(ctx context.Context, params *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse, error)
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse Получение списка групп безопасности
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/security-groups (the `GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet` operationId).
func (*ClientWithResponses) GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse ¶
func (c *ClientWithResponses) GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse, error)
GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse Получение информации о подсети
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/subnets/{subnet_id} (the `GetSubnetByIdSvcV1SubnetsSubnetIdGet` operationId).
func (*ClientWithResponses) GetSubnetParamsSvcV1ParamsSubnetGetWithResponse ¶
func (c *ClientWithResponses) GetSubnetParamsSvcV1ParamsSubnetGetWithResponse(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, reqEditors ...RequestEditorFn) (*GetSubnetParamsSvcV1ParamsSubnetGetResponse, error)
GetSubnetParamsSvcV1ParamsSubnetGetWithResponse Получение параметров подсети
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/params/subnet (the `GetSubnetParamsSvcV1ParamsSubnetGet` operationId).
func (*ClientWithResponses) GetSubnetsSvcV1SubnetsGetWithResponse ¶
func (c *ClientWithResponses) GetSubnetsSvcV1SubnetsGetWithResponse(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, reqEditors ...RequestEditorFn) (*GetSubnetsSvcV1SubnetsGetResponse, error)
GetSubnetsSvcV1SubnetsGetWithResponse Получение списка подсетей
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/subnets (the `GetSubnetsSvcV1SubnetsGet` operationId).
func (*ClientWithResponses) GetVmByIdSvcV1VmsVmIdGetWithResponse ¶
func (c *ClientWithResponses) GetVmByIdSvcV1VmsVmIdGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmByIdSvcV1VmsVmIdGetResponse, error)
GetVmByIdSvcV1VmsVmIdGetWithResponse Получение информации о виртуальной машине
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/vms/{vm_id} (the `GetVmByIdSvcV1VmsVmIdGet` operationId).
func (*ClientWithResponses) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse ¶
func (c *ClientWithResponses) GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse, error)
GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse Получение информации о количестве подключенных PCI-устройств
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/vms/{vm_id}/device-usage (the `GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet` operationId).
func (*ClientWithResponses) GetVmParamsSvcV1ParamsVmGetWithResponse ¶
func (c *ClientWithResponses) GetVmParamsSvcV1ParamsVmGetWithResponse(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, reqEditors ...RequestEditorFn) (*GetVmParamsSvcV1ParamsVmGetResponse, error)
GetVmParamsSvcV1ParamsVmGetWithResponse Получение параметров виртуальной машины
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/params/vm (the `GetVmParamsSvcV1ParamsVmGet` operationId).
func (*ClientWithResponses) GetVmVncSvcV1VmsVmIdGetVncPostWithResponse ¶
func (c *ClientWithResponses) GetVmVncSvcV1VmsVmIdGetVncPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmVncSvcV1VmsVmIdGetVncPostResponse, error)
GetVmVncSvcV1VmsVmIdGetVncPostWithResponse Запуск виртуальной консоли
Метод генерирует ссылку для доступа к виртуальной консоли (VNC) и добавляет ее в параметры ВМ.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/get-vnc (the `GetVmVncSvcV1VmsVmIdGetVncPost` operationId).
func (*ClientWithResponses) GetVmsSvcV1VmsGetWithResponse ¶
func (c *ClientWithResponses) GetVmsSvcV1VmsGetWithResponse(ctx context.Context, params *GetVmsSvcV1VmsGetParams, reqEditors ...RequestEditorFn) (*GetVmsSvcV1VmsGetResponse, error)
GetVmsSvcV1VmsGetWithResponse Получение списка виртуальных машин
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/vms (the `GetVmsSvcV1VmsGet` operationId).
func (*ClientWithResponses) ListBackupsSvcV1BackupsGetWithResponse ¶
func (c *ClientWithResponses) ListBackupsSvcV1BackupsGetWithResponse(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, reqEditors ...RequestEditorFn) (*ListBackupsSvcV1BackupsGetResponse, error)
ListBackupsSvcV1BackupsGetWithResponse Получение списка резервных копий
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/backups (the `ListBackupsSvcV1BackupsGet` operationId).
func (*ClientWithResponses) ListProtectionPlansSvcV1ProtectionPlansGetWithResponse ¶
func (c *ClientWithResponses) ListProtectionPlansSvcV1ProtectionPlansGetWithResponse(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, reqEditors ...RequestEditorFn) (*ListProtectionPlansSvcV1ProtectionPlansGetResponse, error)
ListProtectionPlansSvcV1ProtectionPlansGetWithResponse Получение списка планов резервного копирования
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/protection-plans (the `ListProtectionPlansSvcV1ProtectionPlansGet` operationId).
func (*ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse ¶
func (c *ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse(ctx context.Context, vmId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse Смена образа виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
func (*ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithResponse ¶
func (c *ClientWithResponses) RebuildVmSvcV1VmsVmIdRebuildPostWithResponse(ctx context.Context, vmId string, body RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
RebuildVmSvcV1VmsVmIdRebuildPostWithResponse Смена образа виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
func (*ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse ¶
func (c *ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse Замена образа загрузочного диска
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
func (*ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse ¶
func (c *ClientWithResponses) ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse(ctx context.Context, diskId string, body ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse Замена образа загрузочного диска
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
func (*ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse Восстановление ресурса из резервной копии
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
func (*ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse ¶
func (c *ClientWithResponses) RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse(ctx context.Context, backupId string, body RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse Восстановление ресурса из резервной копии
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
func (*ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse Установка пароля пользователя виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
func (*ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse ¶
func (c *ClientWithResponses) SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse Установка пароля пользователя виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
func (*ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse Управление питанием виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
func (*ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse ¶
func (c *ClientWithResponses) SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse Управление питанием виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
func (*ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse Обновление резервной копии
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
func (*ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateBackupSvcV1BackupsBackupIdPutWithResponse(ctx context.Context, backupId string, body UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
UpdateBackupSvcV1BackupsBackupIdPutWithResponse Обновление резервной копии
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
func (*ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse Обновление диска
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
func (*ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateDiskSvcV1DisksDiskIdPutWithResponse(ctx context.Context, diskId string, body UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
UpdateDiskSvcV1DisksDiskIdPutWithResponse Обновление диска
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
func (*ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse(ctx context.Context, floatingIpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse Обновление публичного IP-адреса
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
func (*ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse(ctx context.Context, floatingIpId string, body UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse Обновление публичного IP-адреса
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
func (*ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse Обновление образа
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
func (*ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateImageSvcV1ImagesImageIdPutWithResponse(ctx context.Context, imageId string, body UpdateImageSvcV1ImagesImageIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
UpdateImageSvcV1ImagesImageIdPutWithResponse Обновление образа
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
func (*ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse Изменение статусов виртуальных машин
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
func (*ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse ¶
func (c *ClientWithResponses) UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse(ctx context.Context, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse Изменение статусов виртуальных машин
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
func (*ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse Обновление SNAT-шлюза
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
func (*ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, body UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse Обновление SNAT-шлюза
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
func (*ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, error)
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse Обновление параметров группы размещения
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
func (*ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse ¶
func (c *ClientWithResponses) UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, body UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, error)
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse Обновление параметров группы размещения
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
func (*ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse(ctx context.Context, protectionPlanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse Обновление плана резервного копирования
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
func (*ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse(ctx context.Context, protectionPlanId string, body UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse Обновление плана резервного копирования
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
func (*ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse(ctx context.Context, interfaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse Обновление сетевого интерфейса
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
func (*ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse ¶
func (c *ClientWithResponses) UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse(ctx context.Context, interfaceId string, body UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse Обновление сетевого интерфейса
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
func (*ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse, error)
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse Обновление правила группы безопасности
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
func (*ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, body UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse, error)
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse Обновление правила группы безопасности
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
func (*ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse Обновление группы безопасности
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
func (*ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse(ctx context.Context, securityGroupId string, body UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse Обновление группы безопасности
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
func (*ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse(ctx context.Context, subnetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse Обновление подсети
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
func (*ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse(ctx context.Context, subnetId openapi_types.UUID, body UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse Обновление подсети
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
func (*ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse Обновление виртуальной машины
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
func (*ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateVmSvcV1VmsVmIdPutWithResponse(ctx context.Context, vmId openapi_types.UUID, body UpdateVmSvcV1VmsVmIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
UpdateVmSvcV1VmsVmIdPutWithResponse Обновление виртуальной машины
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
func (*ClientWithResponses) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse ¶
func (c *ClientWithResponses) ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse(ctx context.Context, projectId string, params *ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams, reqEditors ...RequestEditorFn) (*ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse, error)
ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse Проверка имени сущности в проекте
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/projects/{project_id}/validate_name (the `ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// CreateVmV11SvcV11VmsPostWithBodyWithResponse Создание виртуальной машины V1.1
//
// Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код.
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
CreateVmV11SvcV11VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmV11SvcV11VmsPostResponse, error)
// CreateVmV11SvcV11VmsPostWithResponse Создание виртуальной машины V1.1
//
// Этот метод актуальный и позволяет более гибко настраивать интерфейсы виртуальной машины, включая прямой публичный адрес. Используйте этот метод, если только настраиваете интеграцию или можете обновить код.
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1.1/vms (the `CreateVmV11SvcV11VmsPost` operationId).
CreateVmV11SvcV11VmsPostWithResponse(ctx context.Context, body CreateVmV11SvcV11VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmV11SvcV11VmsPostResponse, error)
// GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse Получение списка зон доступности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/availability-zones (the `GetAvailabilityZoneListSvcV1AvailabilityZonesGet` operationId).
GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse(ctx context.Context, params *GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse, error)
// GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse Получение настроек зон доступности
//
// Позволяет получить сведения о доступности виртуальной и серийной консоли для ВМ в зоне доступности.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/availability-zones/settings (the `GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet` operationId).
GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse(ctx context.Context, params *GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse, error)
// GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse Получение информации о зоне доступности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/availability-zones/{availability_zone_id} (the `GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGet` operationId).
GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse(ctx context.Context, availabilityZoneId string, reqEditors ...RequestEditorFn) (*GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse, error)
// GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse Получение списка доступных публичных IP-адресов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/available-ip-addresses (the `GetAvailableIpAddressesSvcV1AvailableIpAddressesGet` operationId).
GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse(ctx context.Context, params *GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams, reqEditors ...RequestEditorFn) (*GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse, error)
// GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse Получение списка доступных подсетей
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/available-subnets (the `GetAvailableSubnetsSvcV1AvailableSubnetsGet` operationId).
GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse(ctx context.Context, params *GetAvailableSubnetsSvcV1AvailableSubnetsGetParams, reqEditors ...RequestEditorFn) (*GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse, error)
// ListBackupsSvcV1BackupsGetWithResponse Получение списка резервных копий
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/backups (the `ListBackupsSvcV1BackupsGet` operationId).
ListBackupsSvcV1BackupsGetWithResponse(ctx context.Context, params *ListBackupsSvcV1BackupsGetParams, reqEditors ...RequestEditorFn) (*ListBackupsSvcV1BackupsGetResponse, error)
// CreateBackupSvcV1BackupsPostWithBodyWithResponse Создание резервной копии
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
CreateBackupSvcV1BackupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupSvcV1BackupsPostResponse, error)
// CreateBackupSvcV1BackupsPostWithResponse Создание резервной копии
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/backups (the `CreateBackupSvcV1BackupsPost` operationId).
CreateBackupSvcV1BackupsPostWithResponse(ctx context.Context, body CreateBackupSvcV1BackupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupSvcV1BackupsPostResponse, error)
// DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse Удаление резервной копии
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/backups/{backup_id} (the `DeleteBackupSvcV1BackupsBackupIdDelete` operationId).
DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*DeleteBackupSvcV1BackupsBackupIdDeleteResponse, error)
// GetBackupSvcV1BackupsBackupIdGetWithResponse Получение информации о резервной копии
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/backups/{backup_id} (the `GetBackupSvcV1BackupsBackupIdGet` operationId).
GetBackupSvcV1BackupsBackupIdGetWithResponse(ctx context.Context, backupId string, reqEditors ...RequestEditorFn) (*GetBackupSvcV1BackupsBackupIdGetResponse, error)
// UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse Обновление резервной копии
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
UpdateBackupSvcV1BackupsBackupIdPutWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
// UpdateBackupSvcV1BackupsBackupIdPutWithResponse Обновление резервной копии
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/backups/{backup_id} (the `UpdateBackupSvcV1BackupsBackupIdPut` operationId).
UpdateBackupSvcV1BackupsBackupIdPutWithResponse(ctx context.Context, backupId string, body UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
// RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse Восстановление ресурса из резервной копии
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
RestoreBackupSvcV1BackupsBackupIdActionPostWithBodyWithResponse(ctx context.Context, backupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
// RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse Восстановление ресурса из резервной копии
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/backups/{backup_id}/action (the `RestoreBackupSvcV1BackupsBackupIdActionPost` operationId).
RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse(ctx context.Context, backupId string, body RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
// GetDiskTypesSvcV1DiskTypesGetWithResponse Получение списка типов диска
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/disk-types (the `GetDiskTypesSvcV1DiskTypesGet` operationId).
GetDiskTypesSvcV1DiskTypesGetWithResponse(ctx context.Context, params *GetDiskTypesSvcV1DiskTypesGetParams, reqEditors ...RequestEditorFn) (*GetDiskTypesSvcV1DiskTypesGetResponse, error)
// GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse Получение информации о типе диска
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/disk-types/{disk_type_id} (the `GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGet` operationId).
GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse(ctx context.Context, diskTypeId string, reqEditors ...RequestEditorFn) (*GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse, error)
// GetDisksSvcV1DisksGetWithResponse Получение списка дисков
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/disks (the `GetDisksSvcV1DisksGet` operationId).
GetDisksSvcV1DisksGetWithResponse(ctx context.Context, params *GetDisksSvcV1DisksGetParams, reqEditors ...RequestEditorFn) (*GetDisksSvcV1DisksGetResponse, error)
// CreateDiskSvcV1DisksPostWithBodyWithResponse Создание диска
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
CreateDiskSvcV1DisksPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDiskSvcV1DisksPostResponse, error)
// CreateDiskSvcV1DisksPostWithResponse Создание диска
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks (the `CreateDiskSvcV1DisksPost` operationId).
CreateDiskSvcV1DisksPostWithResponse(ctx context.Context, body CreateDiskSvcV1DisksPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDiskSvcV1DisksPostResponse, error)
// DeleteDiskSvcV1DisksDiskIdDeleteWithResponse Удаление диска
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/disks/{disk_id} (the `DeleteDiskSvcV1DisksDiskIdDelete` operationId).
DeleteDiskSvcV1DisksDiskIdDeleteWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*DeleteDiskSvcV1DisksDiskIdDeleteResponse, error)
// GetDiskByIdSvcV1DisksDiskIdGetWithResponse Получение информации о диске
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/disks/{disk_id} (the `GetDiskByIdSvcV1DisksDiskIdGet` operationId).
GetDiskByIdSvcV1DisksDiskIdGetWithResponse(ctx context.Context, diskId string, reqEditors ...RequestEditorFn) (*GetDiskByIdSvcV1DisksDiskIdGetResponse, error)
// UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse Обновление диска
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
UpdateDiskSvcV1DisksDiskIdPutWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
// UpdateDiskSvcV1DisksDiskIdPutWithResponse Обновление диска
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/disks/{disk_id} (the `UpdateDiskSvcV1DisksDiskIdPut` operationId).
UpdateDiskSvcV1DisksDiskIdPutWithResponse(ctx context.Context, diskId string, body UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
// AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse Подключение диска к ВМ
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
AttachDiskSvcV1DisksDiskIdAttachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
// AttachDiskSvcV1DisksDiskIdAttachPostWithResponse Подключение диска к ВМ
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/attach (the `AttachDiskSvcV1DisksDiskIdAttachPost` operationId).
AttachDiskSvcV1DisksDiskIdAttachPostWithResponse(ctx context.Context, diskId string, body AttachDiskSvcV1DisksDiskIdAttachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachDiskSvcV1DisksDiskIdAttachPostResponse, error)
// DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse Отключение диска от ВМ
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
DetachDiskSvcV1DisksDiskIdDetachPostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
// DetachDiskSvcV1DisksDiskIdDetachPostWithResponse Отключение диска от ВМ
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/detach (the `DetachDiskSvcV1DisksDiskIdDetachPost` operationId).
DetachDiskSvcV1DisksDiskIdDetachPostWithResponse(ctx context.Context, diskId string, body DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
// ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse Замена образа загрузочного диска
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
ReimageDiskSvcV1DisksDiskIdReimagePostWithBodyWithResponse(ctx context.Context, diskId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
// ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse Замена образа загрузочного диска
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/disks/{disk_id}/reimage (the `ReimageDiskSvcV1DisksDiskIdReimagePost` operationId).
ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse(ctx context.Context, diskId string, body ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
// GetFlavorsSvcV1FlavorsGetWithResponse Получение списка флейворов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/flavors (the `GetFlavorsSvcV1FlavorsGet` operationId).
GetFlavorsSvcV1FlavorsGetWithResponse(ctx context.Context, params *GetFlavorsSvcV1FlavorsGetParams, reqEditors ...RequestEditorFn) (*GetFlavorsSvcV1FlavorsGetResponse, error)
// GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse Получение информации о флейворе
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/flavors/{flavor_id} (the `GetFlavorByIdSvcV1FlavorsFlavorIdGet` operationId).
GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse(ctx context.Context, flavorId string, reqEditors ...RequestEditorFn) (*GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse, error)
// GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse Получение списка публичных IP-адресов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/floating-ips (the `GetFloatingIpFipsSvcV1FloatingIpsGet` operationId).
GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse(ctx context.Context, params *GetFloatingIpFipsSvcV1FloatingIpsGetParams, reqEditors ...RequestEditorFn) (*GetFloatingIpFipsSvcV1FloatingIpsGetResponse, error)
// CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse Создание публичного IP-адреса
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
CreateFloatingIpSvcV1FloatingIpsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
// CreateFloatingIpSvcV1FloatingIpsPostWithResponse Создание публичного IP-адреса
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/floating-ips (the `CreateFloatingIpSvcV1FloatingIpsPost` operationId).
CreateFloatingIpSvcV1FloatingIpsPostWithResponse(ctx context.Context, body CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
// DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse Удаление публичного IP-адреса
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/floating-ips/{floating_ip_id} (the `DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDelete` operationId).
DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse, error)
// GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse Получение информации о публичном IP-адресе
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/floating-ips/{floating_ip_id} (the `GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGet` operationId).
GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse(ctx context.Context, floatingIpId string, reqEditors ...RequestEditorFn) (*GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse, error)
// UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse Обновление публичного IP-адреса
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithBodyWithResponse(ctx context.Context, floatingIpId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
// UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse Обновление публичного IP-адреса
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/floating-ips/{floating_ip_id} (the `UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut` operationId).
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse(ctx context.Context, floatingIpId string, body UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
// GetImagesSvcV1ImagesGetWithResponse Получение списка образов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/images (the `GetImagesSvcV1ImagesGet` operationId).
GetImagesSvcV1ImagesGetWithResponse(ctx context.Context, params *GetImagesSvcV1ImagesGetParams, reqEditors ...RequestEditorFn) (*GetImagesSvcV1ImagesGetResponse, error)
// CreateImageSvcV1ImagesPostWithBodyWithResponse Создание образа
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
CreateImageSvcV1ImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageSvcV1ImagesPostResponse, error)
// CreateImageSvcV1ImagesPostWithResponse Создание образа
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/images (the `CreateImageSvcV1ImagesPost` operationId).
CreateImageSvcV1ImagesPostWithResponse(ctx context.Context, body CreateImageSvcV1ImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageSvcV1ImagesPostResponse, error)
// DeleteImageSvcV1ImagesImageIdDeleteWithResponse Удаление образа
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/images/{image_id} (the `DeleteImageSvcV1ImagesImageIdDelete` operationId).
DeleteImageSvcV1ImagesImageIdDeleteWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*DeleteImageSvcV1ImagesImageIdDeleteResponse, error)
// GetImageByIdSvcV1ImagesImageIdGetWithResponse Получение информации об образе
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/images/{image_id} (the `GetImageByIdSvcV1ImagesImageIdGet` operationId).
GetImageByIdSvcV1ImagesImageIdGetWithResponse(ctx context.Context, imageId string, reqEditors ...RequestEditorFn) (*GetImageByIdSvcV1ImagesImageIdGetResponse, error)
// UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse Обновление образа
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
UpdateImageSvcV1ImagesImageIdPutWithBodyWithResponse(ctx context.Context, imageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
// UpdateImageSvcV1ImagesImageIdPutWithResponse Обновление образа
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/images/{image_id} (the `UpdateImageSvcV1ImagesImageIdPut` operationId).
UpdateImageSvcV1ImagesImageIdPutWithResponse(ctx context.Context, imageId string, body UpdateImageSvcV1ImagesImageIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
// GetPublicInterfacesSvcV1InterfacesGetWithResponse Получение списка сетевых интерфейсов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/interfaces (the `GetPublicInterfacesSvcV1InterfacesGet` operationId).
GetPublicInterfacesSvcV1InterfacesGetWithResponse(ctx context.Context, params *GetPublicInterfacesSvcV1InterfacesGetParams, reqEditors ...RequestEditorFn) (*GetPublicInterfacesSvcV1InterfacesGetResponse, error)
// CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse Создание сетевого интерфейса
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
CreateInterfaceSvcV1InterfacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
// CreateInterfaceSvcV1InterfacesPostWithResponse Создание сетевого интерфейса
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/interfaces (the `CreateInterfaceSvcV1InterfacesPost` operationId).
CreateInterfaceSvcV1InterfacesPostWithResponse(ctx context.Context, body CreateInterfaceSvcV1InterfacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
// DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse Удаление сетевого интерфейса
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/interfaces/{interface_id} (the `DeleteInterfaceSvcV1InterfacesInterfaceIdDelete` operationId).
DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse, error)
// GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse Получение информации о сетевом интерфейсе
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/interfaces/{interface_id} (the `GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGet` operationId).
GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse(ctx context.Context, interfaceId string, reqEditors ...RequestEditorFn) (*GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse, error)
// UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse Обновление сетевого интерфейса
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithBodyWithResponse(ctx context.Context, interfaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
// UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse Обновление сетевого интерфейса
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/interfaces/{interface_id} (the `UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut` operationId).
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse(ctx context.Context, interfaceId string, body UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
// GetNatGatewaysSvcV1NatGatewaysGetWithResponse Получение списка SNAT-шлюзов
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/nat-gateways (the `GetNatGatewaysSvcV1NatGatewaysGet` operationId).
GetNatGatewaysSvcV1NatGatewaysGetWithResponse(ctx context.Context, params *GetNatGatewaysSvcV1NatGatewaysGetParams, reqEditors ...RequestEditorFn) (*GetNatGatewaysSvcV1NatGatewaysGetResponse, error)
// CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse Создание SNAT-шлюза
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
CreateNatGatewaySvcV1NatGatewaysPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
// CreateNatGatewaySvcV1NatGatewaysPostWithResponse Создание SNAT-шлюза
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/nat-gateways (the `CreateNatGatewaySvcV1NatGatewaysPost` operationId).
CreateNatGatewaySvcV1NatGatewaysPostWithResponse(ctx context.Context, body CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
// DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse Удаление SNAT-шлюза
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/nat-gateways/{nat_gateway_id} (the `DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDelete` operationId).
DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse, error)
// GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse Получение информации о SNAT-шлюзе
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/nat-gateways/{nat_gateway_id} (the `GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGet` operationId).
GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse, error)
// UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse Обновление SNAT-шлюза
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithBodyWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
// UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse Обновление SNAT-шлюза
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/nat-gateways/{nat_gateway_id} (the `UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut` operationId).
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse(ctx context.Context, natGatewayId openapi_types.UUID, body UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
// GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse Получение информации об организации
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/organizations/{organization_id} (the `GetOrganizationPublicSvcV1OrganizationsOrganizationIdGet` operationId).
GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse, error)
// GetDiskParamsSvcV1ParamsDiskGetWithResponse Получение параметров диска
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/params/disk (the `GetDiskParamsSvcV1ParamsDiskGet` operationId).
GetDiskParamsSvcV1ParamsDiskGetWithResponse(ctx context.Context, params *GetDiskParamsSvcV1ParamsDiskGetParams, reqEditors ...RequestEditorFn) (*GetDiskParamsSvcV1ParamsDiskGetResponse, error)
// GetFlavorParamsSvcV1ParamsFlavorGetWithResponse Получение параметров флейвора
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/params/flavor (the `GetFlavorParamsSvcV1ParamsFlavorGet` operationId).
GetFlavorParamsSvcV1ParamsFlavorGetWithResponse(ctx context.Context, params *GetFlavorParamsSvcV1ParamsFlavorGetParams, reqEditors ...RequestEditorFn) (*GetFlavorParamsSvcV1ParamsFlavorGetResponse, error)
// GetSubnetParamsSvcV1ParamsSubnetGetWithResponse Получение параметров подсети
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/params/subnet (the `GetSubnetParamsSvcV1ParamsSubnetGet` operationId).
GetSubnetParamsSvcV1ParamsSubnetGetWithResponse(ctx context.Context, params *GetSubnetParamsSvcV1ParamsSubnetGetParams, reqEditors ...RequestEditorFn) (*GetSubnetParamsSvcV1ParamsSubnetGetResponse, error)
// GetVmParamsSvcV1ParamsVmGetWithResponse Получение параметров виртуальной машины
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/params/vm (the `GetVmParamsSvcV1ParamsVmGet` operationId).
GetVmParamsSvcV1ParamsVmGetWithResponse(ctx context.Context, params *GetVmParamsSvcV1ParamsVmGetParams, reqEditors ...RequestEditorFn) (*GetVmParamsSvcV1ParamsVmGetResponse, error)
// GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse Получение списка групп размещения
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/placement-groups (the `GetPlacementGroupsSvcV1PlacementGroupsGet` operationId).
GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse(ctx context.Context, params *GetPlacementGroupsSvcV1PlacementGroupsGetParams, reqEditors ...RequestEditorFn) (*GetPlacementGroupsSvcV1PlacementGroupsGetResponse, error)
// CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse Создание группы размещения
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
CreatePlacementGroupSvcV1PlacementGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
// CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse Создание группы размещения
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/placement-groups (the `CreatePlacementGroupSvcV1PlacementGroupsPost` operationId).
CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse(ctx context.Context, body CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
// DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse Удаление группы размещения
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/placement-groups/{placement_group_id} (the `DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDelete` operationId).
DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse, error)
// GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse Получение информации о группе размещения
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/placement-groups/{placement_group_id} (the `GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGet` operationId).
GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse, error)
// UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse Обновление параметров группы размещения
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithBodyWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, error)
// UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse Обновление параметров группы размещения
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/placement-groups/{placement_group_id} (the `UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut` operationId).
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse(ctx context.Context, placementGroupId openapi_types.UUID, body UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, error)
// GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse Получение списка ограничений на проект
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/project-entity-usage (the `GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet` operationId).
GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse(ctx context.Context, params *GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams, reqEditors ...RequestEditorFn) (*GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse, error)
// GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse Получение информации о проекте
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/projects/{project_id} (the `GetProjectForPublicSvcV1ProjectsProjectIdGet` operationId).
GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectForPublicSvcV1ProjectsProjectIdGetResponse, error)
// GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse Получение ролей проекта
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/projects/{project_id}/permissions (the `GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGet` operationId).
GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse, error)
// GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse Расчет стоимости ресурсов
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
// GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse Расчет стоимости ресурсов
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/projects/{project_id}/price-calculation (the `GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost` operationId).
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse(ctx context.Context, projectId string, body GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
// ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse Проверка имени сущности в проекте
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/projects/{project_id}/validate_name (the `ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet` operationId).
ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse(ctx context.Context, projectId string, params *ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams, reqEditors ...RequestEditorFn) (*ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse, error)
// ListProtectionPlansSvcV1ProtectionPlansGetWithResponse Получение списка планов резервного копирования
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/protection-plans (the `ListProtectionPlansSvcV1ProtectionPlansGet` operationId).
ListProtectionPlansSvcV1ProtectionPlansGetWithResponse(ctx context.Context, params *ListProtectionPlansSvcV1ProtectionPlansGetParams, reqEditors ...RequestEditorFn) (*ListProtectionPlansSvcV1ProtectionPlansGetResponse, error)
// CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse Создание плана резервного копирования
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
CreateProtectionPlanSvcV1ProtectionPlansPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
// CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse Создание плана резервного копирования
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/protection-plans (the `CreateProtectionPlanSvcV1ProtectionPlansPost` operationId).
CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse(ctx context.Context, body CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
// DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse Удаление плана резервного копирования
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/protection-plans/{protection_plan_id} (the `DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDelete` operationId).
DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse, error)
// GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse Получение информации о плане резервного копирования
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/protection-plans/{protection_plan_id} (the `GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGet` operationId).
GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse(ctx context.Context, protectionPlanId string, reqEditors ...RequestEditorFn) (*GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse, error)
// UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse Обновление плана резервного копирования
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithBodyWithResponse(ctx context.Context, protectionPlanId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
// UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse Обновление плана резервного копирования
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/protection-plans/{protection_plan_id} (the `UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut` operationId).
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse(ctx context.Context, protectionPlanId string, body UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
// GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse Получение списка групп безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/security-groups (the `GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet` operationId).
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse(ctx context.Context, params *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse, error)
// CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse Создание группы безопасности
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
CreateSecurityGroupSvcV1SecurityGroupsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
// CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse Создание группы безопасности
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/security-groups (the `CreateSecurityGroupSvcV1SecurityGroupsPost` operationId).
CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse(ctx context.Context, body CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
// DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse Удаление группы безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/security-groups/{security_group_id} (the `DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDelete` operationId).
DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse, error)
// GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse Получение информации о группе безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/security-groups/{security_group_id} (the `GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGet` operationId).
GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse(ctx context.Context, securityGroupId string, reqEditors ...RequestEditorFn) (*GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse, error)
// UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse Обновление группы безопасности
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
// UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse Обновление группы безопасности
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id} (the `UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut` operationId).
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse(ctx context.Context, securityGroupId string, body UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
// GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse Получение списка правил группы безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/security-groups/{security_group_id}/rules (the `GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet` operationId).
GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse(ctx context.Context, securityGroupId string, params *GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse, error)
// CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse Создание правила группы безопасности
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithBodyWithResponse(ctx context.Context, securityGroupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse, error)
// CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse Создание правила группы безопасности
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/security-groups/{security_group_id}/rules (the `CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost` operationId).
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse(ctx context.Context, securityGroupId string, body CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse, error)
// DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse Удаление правила группы безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDelete` operationId).
DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse, error)
// GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse Получение информации о правиле группы безопасности
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGet` operationId).
GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, reqEditors ...RequestEditorFn) (*GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse, error)
// UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse Обновление правила группы безопасности
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithBodyWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse, error)
// UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse Обновление правила группы безопасности
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/security-groups/{security_group_id}/rules/{security_group_rule_id} (the `UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut` operationId).
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse(ctx context.Context, securityGroupId string, securityGroupRuleId string, body UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse, error)
// GetSubnetsSvcV1SubnetsGetWithResponse Получение списка подсетей
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/subnets (the `GetSubnetsSvcV1SubnetsGet` operationId).
GetSubnetsSvcV1SubnetsGetWithResponse(ctx context.Context, params *GetSubnetsSvcV1SubnetsGetParams, reqEditors ...RequestEditorFn) (*GetSubnetsSvcV1SubnetsGetResponse, error)
// CreateSubnetSvcV1SubnetsPostWithBodyWithResponse Создание подсети
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
CreateSubnetSvcV1SubnetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSubnetSvcV1SubnetsPostResponse, error)
// CreateSubnetSvcV1SubnetsPostWithResponse Создание подсети
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/subnets (the `CreateSubnetSvcV1SubnetsPost` operationId).
CreateSubnetSvcV1SubnetsPostWithResponse(ctx context.Context, body CreateSubnetSvcV1SubnetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubnetSvcV1SubnetsPostResponse, error)
// DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse Удаление подсети
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/subnets/{subnet_id} (the `DeleteSubnetByIdSvcV1SubnetsSubnetIdDelete` operationId).
DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse, error)
// GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse Получение информации о подсети
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/subnets/{subnet_id} (the `GetSubnetByIdSvcV1SubnetsSubnetIdGet` operationId).
GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse(ctx context.Context, subnetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse, error)
// UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse Обновление подсети
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithBodyWithResponse(ctx context.Context, subnetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
// UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse Обновление подсети
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/subnets/{subnet_id} (the `UpdateSubnetByIdSvcV1SubnetsSubnetIdPut` operationId).
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse(ctx context.Context, subnetId openapi_types.UUID, body UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
// GetPublicTasksSvcV1TasksGetWithResponse Получение списка задач
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/tasks (the `GetPublicTasksSvcV1TasksGet` operationId).
GetPublicTasksSvcV1TasksGetWithResponse(ctx context.Context, params *GetPublicTasksSvcV1TasksGetParams, reqEditors ...RequestEditorFn) (*GetPublicTasksSvcV1TasksGetResponse, error)
// GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse Получение информации о задаче
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/tasks/{task_id} (the `GetPublicTaskByIdSvcV1TasksTaskIdGet` operationId).
GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse(ctx context.Context, taskId string, reqEditors ...RequestEditorFn) (*GetPublicTaskByIdSvcV1TasksTaskIdGetResponse, error)
// GetVmsSvcV1VmsGetWithResponse Получение списка виртуальных машин
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/vms (the `GetVmsSvcV1VmsGet` operationId).
GetVmsSvcV1VmsGetWithResponse(ctx context.Context, params *GetVmsSvcV1VmsGetParams, reqEditors ...RequestEditorFn) (*GetVmsSvcV1VmsGetResponse, error)
// CreateVmSvcV1VmsPostWithBodyWithResponse Создание виртуальной машины
//
// Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
//
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
CreateVmSvcV1VmsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVmSvcV1VmsPostResponse, error)
// CreateVmSvcV1VmsPostWithResponse Создание виртуальной машины
//
// Этот метод устаревший и не позволяет гибко настраивать интерфейсы виртуальной машины. Используйте его, если интеграция уже настроена и нет возможности изменить код. Для новых интеграций используйте метод `POST /api/v1.1/vms`.
//
// Все ресурсы для создания виртуальной машины должны находиться в одной зоне доступности.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms (the `CreateVmSvcV1VmsPost` operationId).
CreateVmSvcV1VmsPostWithResponse(ctx context.Context, body CreateVmSvcV1VmsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVmSvcV1VmsPostResponse, error)
// UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse Изменение статусов виртуальных машин
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
UpdateMultipleVmStatesPublicSvcV1VmsPutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
// UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse Изменение статусов виртуальных машин
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/vms (the `UpdateMultipleVmStatesPublicSvcV1VmsPut` operationId).
UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse(ctx context.Context, body UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
// DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse Удаление виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
DeleteVmSvcV1VmsVmIdDeleteWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
// DeleteVmSvcV1VmsVmIdDeleteWithResponse Удаление виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/vms/{vm_id} (the `DeleteVmSvcV1VmsVmIdDelete` operationId).
DeleteVmSvcV1VmsVmIdDeleteWithResponse(ctx context.Context, vmId openapi_types.UUID, body DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
// GetVmByIdSvcV1VmsVmIdGetWithResponse Получение информации о виртуальной машине
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/vms/{vm_id} (the `GetVmByIdSvcV1VmsVmIdGet` operationId).
GetVmByIdSvcV1VmsVmIdGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmByIdSvcV1VmsVmIdGetResponse, error)
// UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse Обновление виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
UpdateVmSvcV1VmsVmIdPutWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
// UpdateVmSvcV1VmsVmIdPutWithResponse Обновление виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/vms/{vm_id} (the `UpdateVmSvcV1VmsVmIdPut` operationId).
UpdateVmSvcV1VmsVmIdPutWithResponse(ctx context.Context, vmId openapi_types.UUID, body UpdateVmSvcV1VmsVmIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
// CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse Проверка доступности Compute Agent
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/check-guest-agent (the `CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPost` operationId).
CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CheckVmGuestAgentSvcV1VmsVmIdCheckGuestAgentPostResponse, error)
// DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse Удаление пароля пользователя виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
// DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse Удаление пароля пользователя виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/delete-password (the `DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost` operationId).
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
// GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse Получение информации о количестве подключенных PCI-устройств
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/vms/{vm_id}/device-usage (the `GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGet` operationId).
GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse, error)
// GetVmVncSvcV1VmsVmIdGetVncPostWithResponse Запуск виртуальной консоли
//
// Метод генерирует ссылку для доступа к виртуальной консоли (VNC) и добавляет ее в параметры ВМ.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/get-vnc (the `GetVmVncSvcV1VmsVmIdGetVncPost` operationId).
GetVmVncSvcV1VmsVmIdGetVncPostWithResponse(ctx context.Context, vmId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetVmVncSvcV1VmsVmIdGetVncPostResponse, error)
// RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse Смена образа виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
RebuildVmSvcV1VmsVmIdRebuildPostWithBodyWithResponse(ctx context.Context, vmId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
// RebuildVmSvcV1VmsVmIdRebuildPostWithResponse Смена образа виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/rebuild (the `RebuildVmSvcV1VmsVmIdRebuildPost` operationId).
RebuildVmSvcV1VmsVmIdRebuildPostWithResponse(ctx context.Context, vmId string, body RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
// GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse Запуск серийной или виртуальной консоли
//
// Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
// GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse Запуск серийной или виртуальной консоли
//
// Метод генерирует ссылку для доступа к серийной или виртуальной консоли и добавляет ее в параметры ВМ.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/remote-console (the `GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost` operationId).
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse(ctx context.Context, vmId openapi_types.UUID, body GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
// SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse Установка пароля пользователя виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
// SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse Установка пароля пользователя виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-password (the `SetVmPasswordSvcV1VmsVmIdSetPasswordPost` operationId).
SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
// SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse Управление питанием виртуальной машины
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
SetVmPowerSvcV1VmsVmIdSetPowerPostWithBodyWithResponse(ctx context.Context, vmId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
// SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse Управление питанием виртуальной машины
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/vms/{vm_id}/set-power (the `SetVmPowerSvcV1VmsVmIdSetPowerPost` operationId).
SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse(ctx context.Context, vmId openapi_types.UUID, body SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateBackupRequestSchema ¶
type CreateBackupRequestSchema struct {
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос. Обязательный параметр.
ProjectId string `json:"project_id"`
// ProtectionPlanId Идентификатор плана копирования. Идентификатор можно получить, выполнив запрос [GET /api/v1/protection-plans](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/ProtectionPlans/operation/get_protection_plan_svc_v1_protection_plans__protection_plan_id__get).
ProtectionPlanId *string `json:"protection_plan_id,omitempty"`
// Resource Ресурс.
Resource Resource `json:"resource"`
// TagIds Идентификаторы тегов. Укажите один из параметров: “tag_ids“ или “tag_names“. Нельзя указывать оба параметра одновременно. Идентификаторы можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов. Укажите один из параметров: “tag_ids“ или “tag_names“. Нельзя указывать оба параметра одновременно. Названия можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagNames *[]string `json:"tag_names,omitempty"`
}
CreateBackupRequestSchema defines model for CreateBackupRequestSchema.
type CreateBackupResponseSchema ¶
type CreateBackupResponseSchema struct {
// CreatedAt Дата и время создания резервной копии.
CreatedAt time.Time `json:"created_at"`
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии.
Id string `json:"id"`
// LastRestoreTime Дата и время последнего восстановления ресурса из копии.
LastRestoreTime *time.Time `json:"last_restore_time,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ParentFullBackupId Идентификатор предыдущей полной копии.
ParentFullBackupId *string `json:"parent_full_backup_id,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// ProtectionPlan План резервного копирования.
ProtectionPlan *ProtectionPlanLiteSchema `json:"protection_plan,omitempty"`
// Resource Ресурс.
Resource BackupResourceSchema `json:"resource"`
// Size Размер резервной копии в МБ.
Size int `json:"size"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State BackupState `json:"state"`
// Tags Теги.
Tags []TagLiteSchema `json:"tags"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время обновления резервной копии.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
CreateBackupResponseSchema defines model for CreateBackupResponseSchema.
type CreateBackupSvcV1BackupsPostJSONRequestBody ¶
type CreateBackupSvcV1BackupsPostJSONRequestBody = CreateBackupRequestSchema
CreateBackupSvcV1BackupsPostJSONRequestBody defines body for CreateBackupSvcV1BackupsPost for application/json ContentType.
type CreateBackupSvcV1BackupsPostResponse ¶
type CreateBackupSvcV1BackupsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateBackupResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]HTTPValidationError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreateBackupSvcV1BackupsPostResponse ¶
func ParseCreateBackupSvcV1BackupsPostResponse(rsp *http.Response) (*CreateBackupSvcV1BackupsPostResponse, error)
ParseCreateBackupSvcV1BackupsPostResponse parses an HTTP response from a CreateBackupSvcV1BackupsPostWithResponse call
func (CreateBackupSvcV1BackupsPostResponse) ContentType ¶
func (r CreateBackupSvcV1BackupsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBackupSvcV1BackupsPostResponse) GetBody ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBackupSvcV1BackupsPostResponse) GetJSON201 ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetJSON201() *CreateBackupResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateBackupSvcV1BackupsPostResponse) GetJSON401 ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateBackupSvcV1BackupsPostResponse) GetJSON403 ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateBackupSvcV1BackupsPostResponse) GetJSON422 ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetJSON422() *[]HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateBackupSvcV1BackupsPostResponse) GetJSON500 ¶
func (r CreateBackupSvcV1BackupsPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateBackupSvcV1BackupsPostResponse) Status ¶
func (r CreateBackupSvcV1BackupsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBackupSvcV1BackupsPostResponse) StatusCode ¶
func (r CreateBackupSvcV1BackupsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDiskSvcV1DisksPostJSONRequestBody ¶
type CreateDiskSvcV1DisksPostJSONRequestBody = PublicDiskCreateRequest
CreateDiskSvcV1DisksPostJSONRequestBody defines body for CreateDiskSvcV1DisksPost for application/json ContentType.
type CreateDiskSvcV1DisksPostResponse ¶
type CreateDiskSvcV1DisksPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]DiskAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongAvailabilityZoneByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreateDiskSvcV1DisksPostResponse ¶
func ParseCreateDiskSvcV1DisksPostResponse(rsp *http.Response) (*CreateDiskSvcV1DisksPostResponse, error)
ParseCreateDiskSvcV1DisksPostResponse parses an HTTP response from a CreateDiskSvcV1DisksPostWithResponse call
func (CreateDiskSvcV1DisksPostResponse) ContentType ¶
func (r CreateDiskSvcV1DisksPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDiskSvcV1DisksPostResponse) GetBody ¶
func (r CreateDiskSvcV1DisksPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDiskSvcV1DisksPostResponse) GetJSON201 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON201() *PublicDiskResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) GetJSON401 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) GetJSON403 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) GetJSON409 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON409() *[]DiskAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) GetJSON422 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) GetJSON500 ¶
func (r CreateDiskSvcV1DisksPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateDiskSvcV1DisksPostResponse) Status ¶
func (r CreateDiskSvcV1DisksPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDiskSvcV1DisksPostResponse) StatusCode ¶
func (r CreateDiskSvcV1DisksPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody ¶
type CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody = PublicFloatingIpCreateRequest
CreateFloatingIpSvcV1FloatingIpsPostJSONRequestBody defines body for CreateFloatingIpSvcV1FloatingIpsPost for application/json ContentType.
type CreateFloatingIpSvcV1FloatingIpsPostResponse ¶
type CreateFloatingIpSvcV1FloatingIpsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicFloatingIpResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongAvailabilityZoneByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ExternalNetNotFoundOnServerExceptionSchema
}
func ParseCreateFloatingIpSvcV1FloatingIpsPostResponse ¶
func ParseCreateFloatingIpSvcV1FloatingIpsPostResponse(rsp *http.Response) (*CreateFloatingIpSvcV1FloatingIpsPostResponse, error)
ParseCreateFloatingIpSvcV1FloatingIpsPostResponse parses an HTTP response from a CreateFloatingIpSvcV1FloatingIpsPostWithResponse call
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) ContentType ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetBody ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON201 ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON201() *PublicFloatingIpResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON401 ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON403 ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON422 ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON500 ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) Status ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFloatingIpSvcV1FloatingIpsPostResponse) StatusCode ¶
func (r CreateFloatingIpSvcV1FloatingIpsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateImageSvcV1ImagesPostJSONRequestBody ¶
type CreateImageSvcV1ImagesPostJSONRequestBody = PublicImageCreateRequest
CreateImageSvcV1ImagesPostJSONRequestBody defines body for CreateImageSvcV1ImagesPost for application/json ContentType.
type CreateImageSvcV1ImagesPostResponse ¶
type CreateImageSvcV1ImagesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicImageResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]ImageAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreateImageSvcV1ImagesPostResponse ¶
func ParseCreateImageSvcV1ImagesPostResponse(rsp *http.Response) (*CreateImageSvcV1ImagesPostResponse, error)
ParseCreateImageSvcV1ImagesPostResponse parses an HTTP response from a CreateImageSvcV1ImagesPostWithResponse call
func (CreateImageSvcV1ImagesPostResponse) ContentType ¶
func (r CreateImageSvcV1ImagesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateImageSvcV1ImagesPostResponse) GetBody ¶
func (r CreateImageSvcV1ImagesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateImageSvcV1ImagesPostResponse) GetJSON201 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON201() *PublicImageResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) GetJSON401 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) GetJSON403 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) GetJSON409 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON409() *[]ImageAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) GetJSON422 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) GetJSON500 ¶
func (r CreateImageSvcV1ImagesPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateImageSvcV1ImagesPostResponse) Status ¶
func (r CreateImageSvcV1ImagesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImageSvcV1ImagesPostResponse) StatusCode ¶
func (r CreateImageSvcV1ImagesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInterfaceSvcV1InterfacesPostJSONRequestBody ¶
type CreateInterfaceSvcV1InterfacesPostJSONRequestBody = PublicInterfaceCreateRequest
CreateInterfaceSvcV1InterfacesPostJSONRequestBody defines body for CreateInterfaceSvcV1InterfacesPost for application/json ContentType.
type CreateInterfaceSvcV1InterfacesPostResponse ¶
type CreateInterfaceSvcV1InterfacesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicInterfaceResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreateInterfaceSvcV1InterfacesPostResponse ¶
func ParseCreateInterfaceSvcV1InterfacesPostResponse(rsp *http.Response) (*CreateInterfaceSvcV1InterfacesPostResponse, error)
ParseCreateInterfaceSvcV1InterfacesPostResponse parses an HTTP response from a CreateInterfaceSvcV1InterfacesPostWithResponse call
func (CreateInterfaceSvcV1InterfacesPostResponse) ContentType ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateInterfaceSvcV1InterfacesPostResponse) GetBody ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateInterfaceSvcV1InterfacesPostResponse) GetJSON201 ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON201() *PublicInterfaceResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateInterfaceSvcV1InterfacesPostResponse) GetJSON401 ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateInterfaceSvcV1InterfacesPostResponse) GetJSON403 ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateInterfaceSvcV1InterfacesPostResponse) GetJSON422 ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateInterfaceSvcV1InterfacesPostResponse) GetJSON500 ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateInterfaceSvcV1InterfacesPostResponse) Status ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInterfaceSvcV1InterfacesPostResponse) StatusCode ¶
func (r CreateInterfaceSvcV1InterfacesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody ¶
type CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody = PublicNATGatewayCreateRequest
CreateNatGatewaySvcV1NatGatewaysPostJSONRequestBody defines body for CreateNatGatewaySvcV1NatGatewaysPost for application/json ContentType.
type CreateNatGatewaySvcV1NatGatewaysPostResponse ¶
type CreateNatGatewaySvcV1NatGatewaysPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicNATGatewayResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]ExternalNetHasNoAvailableIpsExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ExternalNetNotFoundOnServerExceptionSchema
}
func ParseCreateNatGatewaySvcV1NatGatewaysPostResponse ¶
func ParseCreateNatGatewaySvcV1NatGatewaysPostResponse(rsp *http.Response) (*CreateNatGatewaySvcV1NatGatewaysPostResponse, error)
ParseCreateNatGatewaySvcV1NatGatewaysPostResponse parses an HTTP response from a CreateNatGatewaySvcV1NatGatewaysPostWithResponse call
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) ContentType ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetBody ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON201 ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON201() *PublicNATGatewayResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON401 ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON403 ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON422 ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON422() *[]ExternalNetHasNoAvailableIpsExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON500 ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) Status ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateNatGatewaySvcV1NatGatewaysPostResponse) StatusCode ¶
func (r CreateNatGatewaySvcV1NatGatewaysPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody ¶
type CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody = PublicPlacementGroupCreateRequest
CreatePlacementGroupSvcV1PlacementGroupsPostJSONRequestBody defines body for CreatePlacementGroupSvcV1PlacementGroupsPost for application/json ContentType.
type CreatePlacementGroupSvcV1PlacementGroupsPostResponse ¶
type CreatePlacementGroupSvcV1PlacementGroupsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicPlacementGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]PlacementGroupAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]NoEnableAvailabilityZoneExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreatePlacementGroupSvcV1PlacementGroupsPostResponse ¶
func ParseCreatePlacementGroupSvcV1PlacementGroupsPostResponse(rsp *http.Response) (*CreatePlacementGroupSvcV1PlacementGroupsPostResponse, error)
ParseCreatePlacementGroupSvcV1PlacementGroupsPostResponse parses an HTTP response from a CreatePlacementGroupSvcV1PlacementGroupsPostWithResponse call
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) ContentType ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetBody ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON201 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON201() *PublicPlacementGroupResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON401 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON403 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON409 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON409() *[]PlacementGroupAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON422 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON422() *[]NoEnableAvailabilityZoneExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON500 ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) Status ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePlacementGroupSvcV1PlacementGroupsPostResponse) StatusCode ¶
func (r CreatePlacementGroupSvcV1PlacementGroupsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProtectionPlanRequestSchema ¶
type CreateProtectionPlanRequestSchema struct {
// Description Описание плана резервного копирования.
Description *string `json:"description,omitempty"`
// ExecuteImmediately Опция выполнения резервного копирования сразу после создания плана:
//
// - “true“ — резервное копировани будет выполнено после создания плана;
// - “false“ — резервное копирование не будет выполнено после создания плана (значение по умолчанию).
ExecuteImmediately bool `json:"execute_immediately"`
// Name Название плана резервного копирования.
Name string `json:"name"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `json:"project_id"`
// Resources Ресурсы, которые требуется включить в план.
Resources []ProtectionPlanResourceRequestSchema `json:"resources"`
// Schedules Расписание плана резервного копирования.
Schedules *[]ProtectionPlanScheduleRequestSchema `json:"schedules,omitempty"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type *BackupType `json:"type,omitempty"`
}
CreateProtectionPlanRequestSchema defines model for CreateProtectionPlanRequestSchema.
type CreateProtectionPlanResponseSchema ¶
type CreateProtectionPlanResponseSchema struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneLiteSchema `json:"availability_zone"`
// Backups Резервные копии.
Backups []BackupLiteSchema `json:"backups"`
// CreatedAt Дата и время создания плана резервного копирования.
CreatedAt time.Time `json:"created_at"`
// Description Описание плана резервного копирования.
Description *string `json:"description,omitempty"`
// ExecutionType Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
ExecutionType *BackupType `json:"execution_type,omitempty"`
// Id Идентификатор плана резервного копирования.
Id string `json:"id"`
// Name Название плана резервного копирования.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resources Ресурсы, включенные в план.
Resources []ProtectionPlanResourceResponseSchema `json:"resources"`
// Schedules Расписание плана резервного копирования.
Schedules []ProtectionPlanScheduleResponseSchema `json:"schedules"`
// State Статус плана резервного копирования:
//
// - “creating“ — план создается;
// - “created“ — план создан;
// - “error_creating“ — ошибка создания;
// - “updating“ — план обновляется;
// - “error“ — ошибка;
// - “deleting“ — план удаляется;
// - “error_deleting“ — ошибка удаления.
State ProtectionPlanState `json:"state"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время обновления плана резервного копирования.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
CreateProtectionPlanResponseSchema defines model for CreateProtectionPlanResponseSchema.
type CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody ¶
type CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody = CreateProtectionPlanRequestSchema
CreateProtectionPlanSvcV1ProtectionPlansPostJSONRequestBody defines body for CreateProtectionPlanSvcV1ProtectionPlansPost for application/json ContentType.
type CreateProtectionPlanSvcV1ProtectionPlansPostResponse ¶
type CreateProtectionPlanSvcV1ProtectionPlansPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateProtectionPlanResponseSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCreateProtectionPlanSvcV1ProtectionPlansPostResponse ¶
func ParseCreateProtectionPlanSvcV1ProtectionPlansPostResponse(rsp *http.Response) (*CreateProtectionPlanSvcV1ProtectionPlansPostResponse, error)
ParseCreateProtectionPlanSvcV1ProtectionPlansPostResponse parses an HTTP response from a CreateProtectionPlanSvcV1ProtectionPlansPostWithResponse call
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) ContentType ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetBody ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON201 ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON201() *CreateProtectionPlanResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON422 ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) Status ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProtectionPlanSvcV1ProtectionPlansPostResponse) StatusCode ¶
func (r CreateProtectionPlanSvcV1ProtectionPlansPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody ¶
type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody = PublicSecurityGroupRuleCreateRequest
CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostJSONRequestBody defines body for CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPost for application/json ContentType.
type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse ¶
type CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicSecurityGroupRuleResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse ¶
func ParseCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse(rsp *http.Response) (*CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse, error)
ParseCreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse parses an HTTP response from a CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostWithResponse call
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) ContentType ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetBody ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON201 ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON201() *PublicSecurityGroupRuleResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON401 ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON403 ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON422 ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON500 ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) Status ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) StatusCode ¶
func (r CreatePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody ¶
type CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody = PublicSecurityGroupCreateRequest
CreateSecurityGroupSvcV1SecurityGroupsPostJSONRequestBody defines body for CreateSecurityGroupSvcV1SecurityGroupsPost for application/json ContentType.
type CreateSecurityGroupSvcV1SecurityGroupsPostResponse ¶
type CreateSecurityGroupSvcV1SecurityGroupsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicSecurityGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseCreateSecurityGroupSvcV1SecurityGroupsPostResponse ¶
func ParseCreateSecurityGroupSvcV1SecurityGroupsPostResponse(rsp *http.Response) (*CreateSecurityGroupSvcV1SecurityGroupsPostResponse, error)
ParseCreateSecurityGroupSvcV1SecurityGroupsPostResponse parses an HTTP response from a CreateSecurityGroupSvcV1SecurityGroupsPostWithResponse call
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) ContentType ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetBody ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON201 ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON201() *PublicSecurityGroupResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON401 ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON403 ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON422 ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON500 ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) Status ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityGroupSvcV1SecurityGroupsPostResponse) StatusCode ¶
func (r CreateSecurityGroupSvcV1SecurityGroupsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSubnetSvcV1SubnetsPostJSONRequestBody ¶
type CreateSubnetSvcV1SubnetsPostJSONRequestBody = PublicSubnetCreateRequest
CreateSubnetSvcV1SubnetsPostJSONRequestBody defines body for CreateSubnetSvcV1SubnetsPost for application/json ContentType.
type CreateSubnetSvcV1SubnetsPostResponse ¶
type CreateSubnetSvcV1SubnetsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicSubnetResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]DefaultSubnetExistsForVdcExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ServiceUnavailableExceptionSchema
}
func ParseCreateSubnetSvcV1SubnetsPostResponse ¶
func ParseCreateSubnetSvcV1SubnetsPostResponse(rsp *http.Response) (*CreateSubnetSvcV1SubnetsPostResponse, error)
ParseCreateSubnetSvcV1SubnetsPostResponse parses an HTTP response from a CreateSubnetSvcV1SubnetsPostWithResponse call
func (CreateSubnetSvcV1SubnetsPostResponse) ContentType ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSubnetSvcV1SubnetsPostResponse) GetBody ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON201 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON201() *PublicSubnetResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON401 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON403 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON409 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON409() *[]DefaultSubnetExistsForVdcExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON422 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) GetJSON500 ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) GetJSON500() *[]ServiceUnavailableExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateSubnetSvcV1SubnetsPostResponse) Status ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSubnetSvcV1SubnetsPostResponse) StatusCode ¶
func (r CreateSubnetSvcV1SubnetsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVmSvcV1VmsPostJSONRequestBody ¶
type CreateVmSvcV1VmsPostJSONRequestBody = ApiModelsVmSchemasPublicVmsCreateRequest
CreateVmSvcV1VmsPostJSONRequestBody defines body for CreateVmSvcV1VmsPost for application/json ContentType.
type CreateVmSvcV1VmsPostResponse ¶
type CreateVmSvcV1VmsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *[]PublicVmResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ImageNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ExternalNetNotFoundOnServerExceptionSchema
}
func ParseCreateVmSvcV1VmsPostResponse ¶
func ParseCreateVmSvcV1VmsPostResponse(rsp *http.Response) (*CreateVmSvcV1VmsPostResponse, error)
ParseCreateVmSvcV1VmsPostResponse parses an HTTP response from a CreateVmSvcV1VmsPostWithResponse call
func (CreateVmSvcV1VmsPostResponse) ContentType ¶
func (r CreateVmSvcV1VmsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVmSvcV1VmsPostResponse) GetBody ¶
func (r CreateVmSvcV1VmsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVmSvcV1VmsPostResponse) GetJSON201 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON201() *[]PublicVmResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateVmSvcV1VmsPostResponse) GetJSON401 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateVmSvcV1VmsPostResponse) GetJSON403 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateVmSvcV1VmsPostResponse) GetJSON404 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateVmSvcV1VmsPostResponse) GetJSON422 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateVmSvcV1VmsPostResponse) GetJSON500 ¶
func (r CreateVmSvcV1VmsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateVmSvcV1VmsPostResponse) Status ¶
func (r CreateVmSvcV1VmsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVmSvcV1VmsPostResponse) StatusCode ¶
func (r CreateVmSvcV1VmsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVmV11SvcV11VmsPostJSONRequestBody ¶
type CreateVmV11SvcV11VmsPostJSONRequestBody = ApiModelsV11VmSchemasPublicVmsCreateRequest
CreateVmV11SvcV11VmsPostJSONRequestBody defines body for CreateVmV11SvcV11VmsPost for application/json ContentType.
type CreateVmV11SvcV11VmsPostResponse ¶
type CreateVmV11SvcV11VmsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *[]PublicVmResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ImageNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ExternalNetNotFoundOnServerExceptionSchema
}
func ParseCreateVmV11SvcV11VmsPostResponse ¶
func ParseCreateVmV11SvcV11VmsPostResponse(rsp *http.Response) (*CreateVmV11SvcV11VmsPostResponse, error)
ParseCreateVmV11SvcV11VmsPostResponse parses an HTTP response from a CreateVmV11SvcV11VmsPostWithResponse call
func (CreateVmV11SvcV11VmsPostResponse) ContentType ¶
func (r CreateVmV11SvcV11VmsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVmV11SvcV11VmsPostResponse) GetBody ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVmV11SvcV11VmsPostResponse) GetJSON201 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON201() *[]PublicVmResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) GetJSON401 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) GetJSON403 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) GetJSON404 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) GetJSON422 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) GetJSON500 ¶
func (r CreateVmV11SvcV11VmsPostResponse) GetJSON500() *[]ExternalNetNotFoundOnServerExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateVmV11SvcV11VmsPostResponse) Status ¶
func (r CreateVmV11SvcV11VmsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVmV11SvcV11VmsPostResponse) StatusCode ¶
func (r CreateVmV11SvcV11VmsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomRequestValidationErrorSchema ¶
type CustomRequestValidationErrorSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Field Поле запроса, которое вызвало ошибку валидации.
Field string `json:"field"`
// Message Описание ошибки.
Message string `json:"message"`
}
CustomRequestValidationErrorSchema defines model for CustomRequestValidationErrorSchema.
type DefaultSubnetExistsForVdcExceptionSchema ¶
type DefaultSubnetExistsForVdcExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DefaultSubnetExistsForVdcExceptionSchema defines model for DefaultSubnetExistsForVdcExceptionSchema.
type DeleteBackupSvcV1BackupsBackupIdDeleteResponse ¶
type DeleteBackupSvcV1BackupsBackupIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]HTTPValidationError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteBackupSvcV1BackupsBackupIdDeleteResponse ¶
func ParseDeleteBackupSvcV1BackupsBackupIdDeleteResponse(rsp *http.Response) (*DeleteBackupSvcV1BackupsBackupIdDeleteResponse, error)
ParseDeleteBackupSvcV1BackupsBackupIdDeleteResponse parses an HTTP response from a DeleteBackupSvcV1BackupsBackupIdDeleteWithResponse call
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) ContentType ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetBody ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON401 ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON403 ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON422 ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON422() *[]HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON500 ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) Status ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupSvcV1BackupsBackupIdDeleteResponse) StatusCode ¶
func (r DeleteBackupSvcV1BackupsBackupIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDiskSvcV1DisksDiskIdDeleteResponse ¶
type DeleteDiskSvcV1DisksDiskIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *[]DiskHasReferencesExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]DiskCanNotBeDeletedWithMultiMountsExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteDiskSvcV1DisksDiskIdDeleteResponse ¶
func ParseDeleteDiskSvcV1DisksDiskIdDeleteResponse(rsp *http.Response) (*DeleteDiskSvcV1DisksDiskIdDeleteResponse, error)
ParseDeleteDiskSvcV1DisksDiskIdDeleteResponse parses an HTTP response from a DeleteDiskSvcV1DisksDiskIdDeleteWithResponse call
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) ContentType ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetBody ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON401 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON403 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON404 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON405 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON405() *[]DiskHasReferencesExceptionSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON422 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON422() *[]DiskCanNotBeDeletedWithMultiMountsExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON500 ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) Status ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDiskSvcV1DisksDiskIdDeleteResponse) StatusCode ¶
func (r DeleteDiskSvcV1DisksDiskIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse ¶
type DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]FloatingIpNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]FloatingIpAddressIsUsedByNATGatewayExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse ¶
func ParseDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse(rsp *http.Response) (*DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse, error)
ParseDeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse parses an HTTP response from a DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteWithResponse call
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) ContentType ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetBody ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON401 ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON403 ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON404 ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON422 ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON422() *[]FloatingIpAddressIsUsedByNATGatewayExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON500 ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) Status ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) StatusCode ¶
func (r DeleteFloatingIpSvcV1FloatingIpsFloatingIpIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteImageSvcV1ImagesImageIdDeleteResponse ¶
type DeleteImageSvcV1ImagesImageIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ImageNotFoundExceptionSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *[]ImageHasReferencesExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]ImageCanNotBeDeletedFromCurrentStateExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteImageSvcV1ImagesImageIdDeleteResponse ¶
func ParseDeleteImageSvcV1ImagesImageIdDeleteResponse(rsp *http.Response) (*DeleteImageSvcV1ImagesImageIdDeleteResponse, error)
ParseDeleteImageSvcV1ImagesImageIdDeleteResponse parses an HTTP response from a DeleteImageSvcV1ImagesImageIdDeleteWithResponse call
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) ContentType ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetBody ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON401 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON403 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON404 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON405 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON405() *[]ImageHasReferencesExceptionSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON422 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON422() *[]ImageCanNotBeDeletedFromCurrentStateExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON500 ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) Status ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteImageSvcV1ImagesImageIdDeleteResponse) StatusCode ¶
func (r DeleteImageSvcV1ImagesImageIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse ¶
type DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]InterfaceNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]VmStateBlocksInterfaceDeletionExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse ¶
func ParseDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse(rsp *http.Response) (*DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse, error)
ParseDeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse parses an HTTP response from a DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteWithResponse call
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) ContentType ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetBody ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON401 ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON403 ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON404 ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON422 ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON422() *[]VmStateBlocksInterfaceDeletionExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON500 ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) Status ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) StatusCode ¶
func (r DeleteInterfaceSvcV1InterfacesInterfaceIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse ¶
type DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]NATGatewayNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVdcExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse ¶
func ParseDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse(rsp *http.Response) (*DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse, error)
ParseDeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse parses an HTTP response from a DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteWithResponse call
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) ContentType ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetBody ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON401 ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON403 ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON404 ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON422 ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON422() *[]WrongVdcExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON500 ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) Status ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) StatusCode ¶
func (r DeleteNatGatewaySvcV1NatGatewaysNatGatewayIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse ¶
type DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]PlacementGroupNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse ¶
func ParseDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse(rsp *http.Response) (*DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse, error)
ParseDeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse parses an HTTP response from a DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteWithResponse call
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) ContentType ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetBody ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON401 ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON403 ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON404 ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON422 ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON422() *[]PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON500 ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) Status ¶
Status returns HTTPResponse.Status
func (DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) StatusCode ¶
func (r DeletePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse ¶
type DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse ¶
func ParseDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse(rsp *http.Response) (*DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse, error)
ParseDeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse parses an HTTP response from a DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteWithResponse call
func (DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) ContentType ¶
func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetBody ¶
func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetJSON422 ¶
func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) Status ¶
func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) StatusCode ¶
func (r DeleteProtectionPlanSvcV1ProtectionPlansProtectionPlanIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse ¶
type DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupRuleNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse ¶
func ParseDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse(rsp *http.Response) (*DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse, error)
ParseDeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse parses an HTTP response from a DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteWithResponse call
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) ContentType ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetBody ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON401 ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON403 ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON404 ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON422 ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON500 ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) Status ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) StatusCode ¶
func (r DeletePublicSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse ¶
type DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupNotFoundExceptionSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *[]SecurityGroupHasReferencesExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CanNotDeleteDefaultSecurityGroupExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse ¶
func ParseDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse(rsp *http.Response) (*DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse, error)
ParseDeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse parses an HTTP response from a DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteWithResponse call
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) ContentType ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetBody ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON401 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON403 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON404 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON405 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON405() *[]SecurityGroupHasReferencesExceptionSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON422 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON422() *[]CanNotDeleteDefaultSecurityGroupExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON500 ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) Status ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) StatusCode ¶
func (r DeleteSecurityGroupSvcV1SecurityGroupsSecurityGroupIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse ¶
type DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SubnetNotFoundExceptionSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *[]SubnetHasReferencesExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]SubnetCanNotBeDeletedFromCurrentStateExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse ¶
func ParseDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse(rsp *http.Response) (*DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse, error)
ParseDeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse parses an HTTP response from a DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteWithResponse call
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) ContentType ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetBody ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON401 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON403 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON404 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON405 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON405() *[]SubnetHasReferencesExceptionSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON422 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON422() *[]SubnetCanNotBeDeletedFromCurrentStateExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON500 ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) Status ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) StatusCode ¶
func (r DeleteSubnetByIdSvcV1SubnetsSubnetIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody ¶
type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody = VmDeletePasswordRequest
DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostJSONRequestBody defines body for DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPost for application/json ContentType.
type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse ¶
type DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse ¶
func ParseDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse(rsp *http.Response) (*DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse, error)
ParseDeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse parses an HTTP response from a DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostWithResponse call
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) ContentType ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetBody ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON401 ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON403 ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON422 ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON500 ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) Status ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) StatusCode ¶
func (r DeleteVmPasswordSvcV1VmsVmIdDeletePasswordPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody ¶
type DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody = VmDeleteRequest
DeleteVmSvcV1VmsVmIdDeleteJSONRequestBody defines body for DeleteVmSvcV1VmsVmIdDelete for application/json ContentType.
type DeleteVmSvcV1VmsVmIdDeleteResponse ¶
type DeleteVmSvcV1VmsVmIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]VmNotFoundExceptionSchema
// JSON405 the response for an HTTP 405 `application/json` response
JSON405 *[]VmHasReferencesExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]VmCanNotBeDeletedFromCurrentStateExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]ServiceUnavailableExceptionSchema
}
func ParseDeleteVmSvcV1VmsVmIdDeleteResponse ¶
func ParseDeleteVmSvcV1VmsVmIdDeleteResponse(rsp *http.Response) (*DeleteVmSvcV1VmsVmIdDeleteResponse, error)
ParseDeleteVmSvcV1VmsVmIdDeleteResponse parses an HTTP response from a DeleteVmSvcV1VmsVmIdDeleteWithResponse call
func (DeleteVmSvcV1VmsVmIdDeleteResponse) ContentType ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetBody ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON401 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON403 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON404 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON404() *[]VmNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON405 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON405() *[]VmHasReferencesExceptionSchema
GetJSON405 returns the response for an HTTP 405 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON422 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON422() *[]VmCanNotBeDeletedFromCurrentStateExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON500 ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) GetJSON500() *[]ServiceUnavailableExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteVmSvcV1VmsVmIdDeleteResponse) Status ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVmSvcV1VmsVmIdDeleteResponse) StatusCode ¶
func (r DeleteVmSvcV1VmsVmIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody ¶
type DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody = DiskDetachRequest
DetachDiskSvcV1DisksDiskIdDetachPostJSONRequestBody defines body for DetachDiskSvcV1DisksDiskIdDetachPost for application/json ContentType.
type DetachDiskSvcV1DisksDiskIdDetachPostResponse ¶
type DetachDiskSvcV1DisksDiskIdDetachPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseDetachDiskSvcV1DisksDiskIdDetachPostResponse ¶
func ParseDetachDiskSvcV1DisksDiskIdDetachPostResponse(rsp *http.Response) (*DetachDiskSvcV1DisksDiskIdDetachPostResponse, error)
ParseDetachDiskSvcV1DisksDiskIdDetachPostResponse parses an HTTP response from a DetachDiskSvcV1DisksDiskIdDetachPostWithResponse call
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) ContentType ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetBody ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON200 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON200() *PublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON401 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON403 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON404 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON422 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON500 ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) Status ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) Status() string
Status returns HTTPResponse.Status
func (DetachDiskSvcV1DisksDiskIdDetachPostResponse) StatusCode ¶
func (r DetachDiskSvcV1DisksDiskIdDetachPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiskAlreadyExistsExceptionSchema ¶
type DiskAlreadyExistsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DiskAlreadyExistsExceptionSchema defines model for DiskAlreadyExistsExceptionSchema.
type DiskAttachRequest ¶
type DiskAttachRequest struct {
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VmId openapi_types.UUID `json:"vm_id"`
}
DiskAttachRequest defines model for DiskAttachRequest.
type DiskCanNotBeDeletedWithMultiMountsExceptionSchema ¶
type DiskCanNotBeDeletedWithMultiMountsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DiskCanNotBeDeletedWithMultiMountsExceptionSchema defines model for DiskCanNotBeDeletedWithMultiMountsExceptionSchema.
type DiskDetachRequest ¶
type DiskDetachRequest struct {
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VmId openapi_types.UUID `json:"vm_id"`
}
DiskDetachRequest defines model for DiskDetachRequest.
type DiskHasReferencesExceptionSchema ¶
type DiskHasReferencesExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DiskHasReferencesExceptionSchema defines model for DiskHasReferencesExceptionSchema.
type DiskNotFoundExceptionSchema ¶
type DiskNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DiskNotFoundExceptionSchema defines model for DiskNotFoundExceptionSchema.
type DiskParamTypes ¶
type DiskParamTypes string
DiskParamTypes Тип параметра.
const (
DiskParamTypesDiskState DiskParamTypes = "disk-state"
)
Defines values for DiskParamTypes.
func (DiskParamTypes) Valid ¶
func (e DiskParamTypes) Valid() bool
Valid indicates whether the value is a known member of the DiskParamTypes enum.
type DiskReimageRequest ¶
type DiskReimageRequest struct {
// ImageId Идентификатор образа. Идентификатор можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3#tag/Images/operation/get_images_svc_v1_images_get).
ImageId string `json:"image_id"`
}
DiskReimageRequest defines model for DiskReimageRequest.
type DiskResource ¶
type DiskResource struct {
// AvailabilityZone Зона доуступности.
AvailabilityZone ResourceAvailabilityZone `json:"availability_zone"`
// Bootable Признак загрузочного диска.
Bootable bool `json:"bootable"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание ресурса.
Description *string `json:"description,omitempty"`
// DiskMounts Записи о монтировании.
DiskMounts *[]DiskResourceDiskMount `json:"disk_mounts,omitempty"`
// DiskType Тип диска.
DiskType DiskResourceDiskType `json:"disk_type"`
// Encrypted Признак зашифрованного диска.
Encrypted bool `json:"encrypted"`
// Id Идентификатор ресурса.
Id string `json:"id"`
// Image Образ диска.
Image *DiskResourceImage `json:"image,omitempty"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для нового размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название ресурса.
Name string `json:"name"`
// Project Проект.
Project ResourceProjectSchema `json:"project"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Readonly Признак диска только для чтения.
Readonly bool `json:"readonly"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Servers Серверы.
Servers *[]DiskResourceServer `json:"servers,omitempty"`
Shared bool `json:"shared"`
// Size Размер ресурса в ГБ.
Size int `json:"size"`
// Tags Теги.
Tags *[]TagLiteSchema `json:"tags,omitempty"`
}
DiskResource defines model for DiskResource.
type DiskResourceDiskMount ¶
type DiskResourceDiskMount struct {
// DiskId Идентификатор диска.
DiskId string `json:"disk_id"`
// Id Идентификатор монтирования.
Id string `json:"id"`
// Mode Режим.
Mode string `json:"mode"`
// MountPoint Точка монтирования.
MountPoint string `json:"mount_point"`
// Primary Если `true`, диск является загрузочным.
Primary bool `json:"primary"`
Vm DiskResourceDiskMountVm `json:"vm"`
// VmId Идентификатор виртуальной машины.
VmId string `json:"vm_id"`
}
DiskResourceDiskMount defines model for DiskResourceDiskMount.
type DiskResourceDiskMountVm ¶
type DiskResourceDiskMountVm struct {
// Id Идентификатор монтирования.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
// State Статус.
State string `json:"state"`
}
DiskResourceDiskMountVm defines model for DiskResourceDiskMountVm.
type DiskResourceDiskType ¶
type DiskResourceDiskType struct {
// FreeTier Если `true`, тип диска можно использовать для создания бесплатной ВМ.
FreeTier *bool `json:"free_tier,omitempty"`
// Id Идентификатор.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
}
DiskResourceDiskType defines model for DiskResourceDiskType.
type DiskResourceImage ¶
type DiskResourceImage struct {
// Id Идентификатор.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
}
DiskResourceImage defines model for DiskResourceImage.
type DiskResourceServer ¶
type DiskResourceServer struct {
// Id Идентификатор.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
}
DiskResourceServer defines model for DiskResourceServer.
type DiskRestore ¶
type DiskRestore struct {
AvailabilityZone DiskRestoreAvailabilityZone `json:"availability_zone"`
// Bootable Признак загрузочного диска.
Bootable bool `json:"bootable"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание.
Description *string `json:"description,omitempty"`
// DiskMounts Записи о монтировании.
DiskMounts *[]DiskRestoreDiskMount `json:"disk_mounts,omitempty"`
DiskType DiskRestoreDiskType `json:"disk_type"`
// Encrypted Признак зашифрованного диска.
Encrypted bool `json:"encrypted"`
// Id Идентификатор диска.
Id string `json:"id"`
Image *DiskRestoreImage `json:"image,omitempty"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для нового размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название диска.
Name string `json:"name"`
// Project Проект, в котором расположен ресурс.
Project ResourceProjectSchema `json:"project"`
// Readonly Признак диска только для чтения.
Readonly bool `json:"readonly"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Servers Серверы.
Servers *[]DiskResourceServer `json:"servers,omitempty"`
Shared bool `json:"shared"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// Tags Теги.
Tags *[]TagLiteSchema `json:"tags,omitempty"`
}
DiskRestore Конфигурация диска для восстановления.
type DiskRestoreAvailabilityZone ¶
type DiskRestoreAvailabilityZone struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// Available Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Available bool `json:"available"`
// Default `true` - является зоной доступности по умолчанию, `false` - не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled bool `json:"enabled"`
}
DiskRestoreAvailabilityZone defines model for DiskRestoreAvailabilityZone.
type DiskRestoreConfig ¶
type DiskRestoreConfig struct {
// Description Описание.
Description *string `json:"description,omitempty"`
// DiskTypeId Идентификатор типа диска.
DiskTypeId *string `json:"disk_type_id,omitempty"`
// DiskTypeName Название типа диска.
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Name Название диска.
Name string `json:"name"`
}
DiskRestoreConfig defines model for DiskRestoreConfig.
type DiskRestoreDiskMount ¶
type DiskRestoreDiskMount struct {
// DiskId Идентификатор диска.
DiskId string `json:"disk_id"`
// Id Идентификатор.
Id string `json:"id"`
// Mode Режим.
Mode string `json:"mode"`
// MountPoint Точка монтирования.
MountPoint string `json:"mount_point"`
// Primary Если `true`, диск является загрузочным.
Primary bool `json:"primary"`
Vm DiskResourceDiskMountVm `json:"vm"`
// VmId Идентификатор виртуальной машины.
VmId string `json:"vm_id"`
}
DiskRestoreDiskMount defines model for DiskRestoreDiskMount.
type DiskRestoreDiskType ¶
type DiskRestoreDiskType struct {
// Available Если указано `true`, тип диска доступен для использования.
Available bool `json:"available"`
// FreeTier Если `true`, ВМ является бесплатной.
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// Name Название типа диска
Name string `json:"name"`
}
DiskRestoreDiskType defines model for DiskRestoreDiskType.
type DiskRestoreImage ¶
type DiskRestoreImage struct {
// DisplayName Отображаемое название образа.
DisplayName string `json:"display_name"`
// Id Идентификатор образа.
Id string `json:"id"`
// Name Название образа.
Name string `json:"name"`
}
DiskRestoreImage defines model for DiskRestoreImage.
type DiskState ¶
type DiskState string
DiskState Статус диска: - `available` — доступен; - `in_use` — используется; - `reserved` — зарезервирован; - `error` — ошибка; - `error_creating` — ошибка создания; - `error_deleting` — ошибка удаления; - `creating` — создается; - `updating` — обновляется; - `deleting` — удаляется; - `attaching` — подключается; - `detaching` — отключается.
const ( DiskStateAttaching DiskState = "attaching" DiskStateAvailable DiskState = "available" DiskStateCreating DiskState = "creating" DiskStateDeleting DiskState = "deleting" DiskStateDetaching DiskState = "detaching" DiskStateError DiskState = "error" DiskStateErrorCreating DiskState = "error_creating" DiskStateErrorDeleting DiskState = "error_deleting" DiskStateInUse DiskState = "in_use" DiskStateReserved DiskState = "reserved" DiskStateUpdating DiskState = "updating" )
Defines values for DiskState.
type DiskTypeLiteSchema ¶
type DiskTypeLiteSchema struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
DiskTypeLiteSchema defines model for DiskTypeLiteSchema.
type DiskTypeMiniResponse ¶
type DiskTypeMiniResponse struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
DiskTypeMiniResponse Тип диска.
type DiskTypeNotFoundExceptionSchema ¶
type DiskTypeNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
DiskTypeNotFoundExceptionSchema defines model for DiskTypeNotFoundExceptionSchema.
type EntityTypeWithUniqueNameWithinProject ¶
type EntityTypeWithUniqueNameWithinProject string
EntityTypeWithUniqueNameWithinProject Тип ресурса.
const ( EntityTypeWithUniqueNameWithinProjectDisk EntityTypeWithUniqueNameWithinProject = "disk" EntityTypeWithUniqueNameWithinProjectFloatingIp EntityTypeWithUniqueNameWithinProject = "floating_ip" EntityTypeWithUniqueNameWithinProjectInterface EntityTypeWithUniqueNameWithinProject = "interface" EntityTypeWithUniqueNameWithinProjectLoadBalancer EntityTypeWithUniqueNameWithinProject = "load_balancer" EntityTypeWithUniqueNameWithinProjectNatGateway EntityTypeWithUniqueNameWithinProject = "nat_gateway" EntityTypeWithUniqueNameWithinProjectSecurityGroup EntityTypeWithUniqueNameWithinProject = "security_group" EntityTypeWithUniqueNameWithinProjectSubnet EntityTypeWithUniqueNameWithinProject = "subnet" EntityTypeWithUniqueNameWithinProjectVm EntityTypeWithUniqueNameWithinProject = "vm" )
Defines values for EntityTypeWithUniqueNameWithinProject.
func (EntityTypeWithUniqueNameWithinProject) Valid ¶
func (e EntityTypeWithUniqueNameWithinProject) Valid() bool
Valid indicates whether the value is a known member of the EntityTypeWithUniqueNameWithinProject enum.
type ExternalNetHasNoAvailableIpsExceptionSchema ¶
type ExternalNetHasNoAvailableIpsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ExternalNetHasNoAvailableIpsExceptionSchema defines model for ExternalNetHasNoAvailableIpsExceptionSchema.
type ExternalNetNotFoundOnServerExceptionSchema ¶
type ExternalNetNotFoundOnServerExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ExternalNetNotFoundOnServerExceptionSchema defines model for ExternalNetNotFoundOnServerExceptionSchema.
type FipPriceEnum ¶
type FipPriceEnum string
FipPriceEnum Действие с IP-адресом.
const ( FipPriceEnumAttach FipPriceEnum = "attach" FipPriceEnumDetach FipPriceEnum = "detach" FipPriceEnumNew FipPriceEnum = "new" )
Defines values for FipPriceEnum.
func (FipPriceEnum) Valid ¶
func (e FipPriceEnum) Valid() bool
Valid indicates whether the value is a known member of the FipPriceEnum enum.
type FlavorEnum ¶
type FlavorEnum string
FlavorEnum An enumeration.
const ( FlavorEnumGeneral FlavorEnum = "general" FlavorEnumGpuH100 FlavorEnum = "gpu_h100" FlavorEnumGpuV100 FlavorEnum = "gpu_v100" FlavorEnumMemoryOptimized FlavorEnum = "memory-optimized" )
Defines values for FlavorEnum.
func (FlavorEnum) Valid ¶
func (e FlavorEnum) Valid() bool
Valid indicates whether the value is a known member of the FlavorEnum enum.
type FlavorLiteSchema ¶
type FlavorLiteSchema struct {
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id string `json:"id"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
FlavorLiteSchema Флейвор.
type FlavorMiniResponse ¶
type FlavorMiniResponse struct {
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FlavorType Тип флейвора.
FlavorType *PublicFlavorTypeResponse `json:"flavor_type,omitempty"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id string `json:"id"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
FlavorMiniResponse Флейвор.
type FlavorNotFoundExceptionSchema ¶
type FlavorNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
FlavorNotFoundExceptionSchema defines model for FlavorNotFoundExceptionSchema.
type FlavorParamTypes ¶
type FlavorParamTypes string
FlavorParamTypes Тип параметра.
const ( FlavorParamTypesFlavorType FlavorParamTypes = "flavor-type" FlavorParamTypesOversubscription FlavorParamTypes = "oversubscription" )
Defines values for FlavorParamTypes.
func (FlavorParamTypes) Valid ¶
func (e FlavorParamTypes) Valid() bool
Valid indicates whether the value is a known member of the FlavorParamTypes enum.
type FlavorState ¶
type FlavorState string
FlavorState Статус флейвора.
const ( FlavorStateCreated FlavorState = "created" FlavorStateCreating FlavorState = "creating" FlavorStateDeleting FlavorState = "deleting" FlavorStateErrorCreating FlavorState = "error_creating" FlavorStateErrorDeleting FlavorState = "error_deleting" )
Defines values for FlavorState.
func (FlavorState) Valid ¶
func (e FlavorState) Valid() bool
Valid indicates whether the value is a known member of the FlavorState enum.
type FloatingIpAddressIsUsedByNATGatewayExceptionSchema ¶
type FloatingIpAddressIsUsedByNATGatewayExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
FloatingIpAddressIsUsedByNATGatewayExceptionSchema defines model for FloatingIpAddressIsUsedByNATGatewayExceptionSchema.
type FloatingIpMiniResponse ¶
type FloatingIpMiniResponse struct {
// Id Идентификатор публичного IP-адреса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress *string `json:"ip_address,omitempty"`
// State Статус публичного IP:
// - `available` — свободен;
// - `in_use` — назначен;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `attaching` — прикрепляется;
// - `detaching` — открепляется.
State FloatingIpState `json:"state"`
}
FloatingIpMiniResponse Публичный IP-адрес.
type FloatingIpNotFoundExceptionSchema ¶
type FloatingIpNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
FloatingIpNotFoundExceptionSchema defines model for FloatingIpNotFoundExceptionSchema.
type FloatingIpState ¶
type FloatingIpState string
FloatingIpState Статус публичного IP:
- `available` — свободен;
- `in_use` — назначен;
- `error` — ошибка;
- `error_creating` — ошибка создания;
- `error_deleting` — ошибка удаления;
- `creating` — создается;
- `deleting` — удаляется;
- `updating` — обновляется;
- `attaching` — прикрепляется;
- `detaching` — открепляется.
const ( FloatingIpStateAttaching FloatingIpState = "attaching" FloatingIpStateAvailable FloatingIpState = "available" FloatingIpStateCreating FloatingIpState = "creating" FloatingIpStateDeleting FloatingIpState = "deleting" FloatingIpStateDetaching FloatingIpState = "detaching" FloatingIpStateError FloatingIpState = "error" FloatingIpStateErrorCreating FloatingIpState = "error_creating" FloatingIpStateErrorDeleting FloatingIpState = "error_deleting" FloatingIpStateInUse FloatingIpState = "in_use" FloatingIpStateUpdating FloatingIpState = "updating" )
Defines values for FloatingIpState.
func (FloatingIpState) Valid ¶
func (e FloatingIpState) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpState enum.
type FloatingIpUpdateRequest ¶
type FloatingIpUpdateRequest struct {
// Description Описание публичного IP-адреса.
Description *FloatingIpUpdateRequest_Description `json:"description,omitempty"`
// Detach Если указано `true`, публичный IP-адрес будет отвязан от облачного ресурса, которому он назначен.
Detach *FloatingIpUpdateRequest_Detach `json:"detach,omitempty"`
// InterfaceId Идентификатор сетевого интерфейса.
InterfaceId *FloatingIpUpdateRequest_InterfaceId `json:"interface_id,omitempty"`
// InterfaceName Название сетевого интерфейса.
InterfaceName *FloatingIpUpdateRequest_InterfaceName `json:"interface_name,omitempty"`
// Name Название публичного IP-адреса.
Name *FloatingIpUpdateRequest_Name `json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *FloatingIpUpdateRequest_TagIds `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *FloatingIpUpdateRequest_TagNames `json:"tag_names,omitempty"`
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VmId *FloatingIpUpdateRequest_VmId `json:"vm_id,omitempty"`
}
FloatingIpUpdateRequest defines model for FloatingIpUpdateRequest.
type FloatingIpUpdateRequestDescription0 ¶
type FloatingIpUpdateRequestDescription0 = string
FloatingIpUpdateRequestDescription0 defines model for FloatingIpUpdateRequest.Description.0.
type FloatingIpUpdateRequestDescription1 ¶
type FloatingIpUpdateRequestDescription1 int
FloatingIpUpdateRequestDescription1 defines model for FloatingIpUpdateRequest.Description.1.
const (
FloatingIpUpdateRequestDescription1N1 FloatingIpUpdateRequestDescription1 = 1
)
Defines values for FloatingIpUpdateRequestDescription1.
func (FloatingIpUpdateRequestDescription1) Valid ¶
func (e FloatingIpUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestDescription1 enum.
type FloatingIpUpdateRequestDetach0 ¶
type FloatingIpUpdateRequestDetach0 = bool
FloatingIpUpdateRequestDetach0 defines model for FloatingIpUpdateRequest.Detach.0.
type FloatingIpUpdateRequestDetach1 ¶
type FloatingIpUpdateRequestDetach1 int
FloatingIpUpdateRequestDetach1 defines model for FloatingIpUpdateRequest.Detach.1.
const (
FloatingIpUpdateRequestDetach1N1 FloatingIpUpdateRequestDetach1 = 1
)
Defines values for FloatingIpUpdateRequestDetach1.
func (FloatingIpUpdateRequestDetach1) Valid ¶
func (e FloatingIpUpdateRequestDetach1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestDetach1 enum.
type FloatingIpUpdateRequestInterfaceId0 ¶
type FloatingIpUpdateRequestInterfaceId0 = string
FloatingIpUpdateRequestInterfaceId0 defines model for FloatingIpUpdateRequest.InterfaceId.0.
type FloatingIpUpdateRequestInterfaceId1 ¶
type FloatingIpUpdateRequestInterfaceId1 int
FloatingIpUpdateRequestInterfaceId1 defines model for FloatingIpUpdateRequest.InterfaceId.1.
const (
FloatingIpUpdateRequestInterfaceId1N1 FloatingIpUpdateRequestInterfaceId1 = 1
)
Defines values for FloatingIpUpdateRequestInterfaceId1.
func (FloatingIpUpdateRequestInterfaceId1) Valid ¶
func (e FloatingIpUpdateRequestInterfaceId1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestInterfaceId1 enum.
type FloatingIpUpdateRequestInterfaceName0 ¶
type FloatingIpUpdateRequestInterfaceName0 = string
FloatingIpUpdateRequestInterfaceName0 defines model for FloatingIpUpdateRequest.InterfaceName.0.
type FloatingIpUpdateRequestInterfaceName1 ¶
type FloatingIpUpdateRequestInterfaceName1 int
FloatingIpUpdateRequestInterfaceName1 defines model for FloatingIpUpdateRequest.InterfaceName.1.
const (
FloatingIpUpdateRequestInterfaceName1N1 FloatingIpUpdateRequestInterfaceName1 = 1
)
Defines values for FloatingIpUpdateRequestInterfaceName1.
func (FloatingIpUpdateRequestInterfaceName1) Valid ¶
func (e FloatingIpUpdateRequestInterfaceName1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestInterfaceName1 enum.
type FloatingIpUpdateRequestName0 ¶
type FloatingIpUpdateRequestName0 = string
FloatingIpUpdateRequestName0 defines model for FloatingIpUpdateRequest.Name.0.
type FloatingIpUpdateRequestName1 ¶
type FloatingIpUpdateRequestName1 int
FloatingIpUpdateRequestName1 defines model for FloatingIpUpdateRequest.Name.1.
const (
FloatingIpUpdateRequestName1N1 FloatingIpUpdateRequestName1 = 1
)
Defines values for FloatingIpUpdateRequestName1.
func (FloatingIpUpdateRequestName1) Valid ¶
func (e FloatingIpUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestName1 enum.
type FloatingIpUpdateRequestTagIds0 ¶
type FloatingIpUpdateRequestTagIds0 = []string
FloatingIpUpdateRequestTagIds0 defines model for FloatingIpUpdateRequest.TagIds.0.
type FloatingIpUpdateRequestTagIds1 ¶
type FloatingIpUpdateRequestTagIds1 int
FloatingIpUpdateRequestTagIds1 defines model for FloatingIpUpdateRequest.TagIds.1.
const (
FloatingIpUpdateRequestTagIds1N1 FloatingIpUpdateRequestTagIds1 = 1
)
Defines values for FloatingIpUpdateRequestTagIds1.
func (FloatingIpUpdateRequestTagIds1) Valid ¶
func (e FloatingIpUpdateRequestTagIds1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestTagIds1 enum.
type FloatingIpUpdateRequestTagNames0 ¶
type FloatingIpUpdateRequestTagNames0 = []string
FloatingIpUpdateRequestTagNames0 defines model for FloatingIpUpdateRequest.TagNames.0.
type FloatingIpUpdateRequestTagNames1 ¶
type FloatingIpUpdateRequestTagNames1 int
FloatingIpUpdateRequestTagNames1 defines model for FloatingIpUpdateRequest.TagNames.1.
const (
FloatingIpUpdateRequestTagNames1N1 FloatingIpUpdateRequestTagNames1 = 1
)
Defines values for FloatingIpUpdateRequestTagNames1.
func (FloatingIpUpdateRequestTagNames1) Valid ¶
func (e FloatingIpUpdateRequestTagNames1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestTagNames1 enum.
type FloatingIpUpdateRequestVmId0 ¶
type FloatingIpUpdateRequestVmId0 = string
FloatingIpUpdateRequestVmId0 defines model for FloatingIpUpdateRequest.VmId.0.
type FloatingIpUpdateRequestVmId1 ¶
type FloatingIpUpdateRequestVmId1 int
FloatingIpUpdateRequestVmId1 defines model for FloatingIpUpdateRequest.VmId.1.
const (
FloatingIpUpdateRequestVmId1N1 FloatingIpUpdateRequestVmId1 = 1
)
Defines values for FloatingIpUpdateRequestVmId1.
func (FloatingIpUpdateRequestVmId1) Valid ¶
func (e FloatingIpUpdateRequestVmId1) Valid() bool
Valid indicates whether the value is a known member of the FloatingIpUpdateRequestVmId1 enum.
type FloatingIpUpdateRequest_Description ¶
type FloatingIpUpdateRequest_Description struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_Description Описание публичного IP-адреса.
func (FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription0 ¶
func (t FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription0() (FloatingIpUpdateRequestDescription0, error)
AsFloatingIpUpdateRequestDescription0 returns the union data inside the FloatingIpUpdateRequest_Description as a FloatingIpUpdateRequestDescription0
func (FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription1 ¶
func (t FloatingIpUpdateRequest_Description) AsFloatingIpUpdateRequestDescription1() (FloatingIpUpdateRequestDescription1, error)
AsFloatingIpUpdateRequestDescription1 returns the union data inside the FloatingIpUpdateRequest_Description as a FloatingIpUpdateRequestDescription1
func (*FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription0 ¶
func (t *FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription0(v FloatingIpUpdateRequestDescription0) error
FromFloatingIpUpdateRequestDescription0 overwrites any union data inside the FloatingIpUpdateRequest_Description as the provided FloatingIpUpdateRequestDescription0
func (*FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription1 ¶
func (t *FloatingIpUpdateRequest_Description) FromFloatingIpUpdateRequestDescription1(v FloatingIpUpdateRequestDescription1) error
FromFloatingIpUpdateRequestDescription1 overwrites any union data inside the FloatingIpUpdateRequest_Description as the provided FloatingIpUpdateRequestDescription1
func (FloatingIpUpdateRequest_Description) MarshalJSON ¶
func (t FloatingIpUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription0 ¶
func (t *FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription0(v FloatingIpUpdateRequestDescription0) error
MergeFloatingIpUpdateRequestDescription0 performs a merge with any union data inside the FloatingIpUpdateRequest_Description, using the provided FloatingIpUpdateRequestDescription0
func (*FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription1 ¶
func (t *FloatingIpUpdateRequest_Description) MergeFloatingIpUpdateRequestDescription1(v FloatingIpUpdateRequestDescription1) error
MergeFloatingIpUpdateRequestDescription1 performs a merge with any union data inside the FloatingIpUpdateRequest_Description, using the provided FloatingIpUpdateRequestDescription1
func (*FloatingIpUpdateRequest_Description) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_Description) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_Detach ¶
type FloatingIpUpdateRequest_Detach struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_Detach Если указано `true`, публичный IP-адрес будет отвязан от облачного ресурса, которому он назначен.
func (FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach0 ¶
func (t FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach0() (FloatingIpUpdateRequestDetach0, error)
AsFloatingIpUpdateRequestDetach0 returns the union data inside the FloatingIpUpdateRequest_Detach as a FloatingIpUpdateRequestDetach0
func (FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach1 ¶
func (t FloatingIpUpdateRequest_Detach) AsFloatingIpUpdateRequestDetach1() (FloatingIpUpdateRequestDetach1, error)
AsFloatingIpUpdateRequestDetach1 returns the union data inside the FloatingIpUpdateRequest_Detach as a FloatingIpUpdateRequestDetach1
func (*FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach0 ¶
func (t *FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach0(v FloatingIpUpdateRequestDetach0) error
FromFloatingIpUpdateRequestDetach0 overwrites any union data inside the FloatingIpUpdateRequest_Detach as the provided FloatingIpUpdateRequestDetach0
func (*FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach1 ¶
func (t *FloatingIpUpdateRequest_Detach) FromFloatingIpUpdateRequestDetach1(v FloatingIpUpdateRequestDetach1) error
FromFloatingIpUpdateRequestDetach1 overwrites any union data inside the FloatingIpUpdateRequest_Detach as the provided FloatingIpUpdateRequestDetach1
func (FloatingIpUpdateRequest_Detach) MarshalJSON ¶
func (t FloatingIpUpdateRequest_Detach) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach0 ¶
func (t *FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach0(v FloatingIpUpdateRequestDetach0) error
MergeFloatingIpUpdateRequestDetach0 performs a merge with any union data inside the FloatingIpUpdateRequest_Detach, using the provided FloatingIpUpdateRequestDetach0
func (*FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach1 ¶
func (t *FloatingIpUpdateRequest_Detach) MergeFloatingIpUpdateRequestDetach1(v FloatingIpUpdateRequestDetach1) error
MergeFloatingIpUpdateRequestDetach1 performs a merge with any union data inside the FloatingIpUpdateRequest_Detach, using the provided FloatingIpUpdateRequestDetach1
func (*FloatingIpUpdateRequest_Detach) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_Detach) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_InterfaceId ¶
type FloatingIpUpdateRequest_InterfaceId struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_InterfaceId Идентификатор сетевого интерфейса.
func (FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId0 ¶
func (t FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId0() (FloatingIpUpdateRequestInterfaceId0, error)
AsFloatingIpUpdateRequestInterfaceId0 returns the union data inside the FloatingIpUpdateRequest_InterfaceId as a FloatingIpUpdateRequestInterfaceId0
func (FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId1 ¶
func (t FloatingIpUpdateRequest_InterfaceId) AsFloatingIpUpdateRequestInterfaceId1() (FloatingIpUpdateRequestInterfaceId1, error)
AsFloatingIpUpdateRequestInterfaceId1 returns the union data inside the FloatingIpUpdateRequest_InterfaceId as a FloatingIpUpdateRequestInterfaceId1
func (*FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId0 ¶
func (t *FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId0(v FloatingIpUpdateRequestInterfaceId0) error
FromFloatingIpUpdateRequestInterfaceId0 overwrites any union data inside the FloatingIpUpdateRequest_InterfaceId as the provided FloatingIpUpdateRequestInterfaceId0
func (*FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId1 ¶
func (t *FloatingIpUpdateRequest_InterfaceId) FromFloatingIpUpdateRequestInterfaceId1(v FloatingIpUpdateRequestInterfaceId1) error
FromFloatingIpUpdateRequestInterfaceId1 overwrites any union data inside the FloatingIpUpdateRequest_InterfaceId as the provided FloatingIpUpdateRequestInterfaceId1
func (FloatingIpUpdateRequest_InterfaceId) MarshalJSON ¶
func (t FloatingIpUpdateRequest_InterfaceId) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId0 ¶
func (t *FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId0(v FloatingIpUpdateRequestInterfaceId0) error
MergeFloatingIpUpdateRequestInterfaceId0 performs a merge with any union data inside the FloatingIpUpdateRequest_InterfaceId, using the provided FloatingIpUpdateRequestInterfaceId0
func (*FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId1 ¶
func (t *FloatingIpUpdateRequest_InterfaceId) MergeFloatingIpUpdateRequestInterfaceId1(v FloatingIpUpdateRequestInterfaceId1) error
MergeFloatingIpUpdateRequestInterfaceId1 performs a merge with any union data inside the FloatingIpUpdateRequest_InterfaceId, using the provided FloatingIpUpdateRequestInterfaceId1
func (*FloatingIpUpdateRequest_InterfaceId) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_InterfaceId) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_InterfaceName ¶
type FloatingIpUpdateRequest_InterfaceName struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_InterfaceName Название сетевого интерфейса.
func (FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName0 ¶
func (t FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName0() (FloatingIpUpdateRequestInterfaceName0, error)
AsFloatingIpUpdateRequestInterfaceName0 returns the union data inside the FloatingIpUpdateRequest_InterfaceName as a FloatingIpUpdateRequestInterfaceName0
func (FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName1 ¶
func (t FloatingIpUpdateRequest_InterfaceName) AsFloatingIpUpdateRequestInterfaceName1() (FloatingIpUpdateRequestInterfaceName1, error)
AsFloatingIpUpdateRequestInterfaceName1 returns the union data inside the FloatingIpUpdateRequest_InterfaceName as a FloatingIpUpdateRequestInterfaceName1
func (*FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName0 ¶
func (t *FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName0(v FloatingIpUpdateRequestInterfaceName0) error
FromFloatingIpUpdateRequestInterfaceName0 overwrites any union data inside the FloatingIpUpdateRequest_InterfaceName as the provided FloatingIpUpdateRequestInterfaceName0
func (*FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName1 ¶
func (t *FloatingIpUpdateRequest_InterfaceName) FromFloatingIpUpdateRequestInterfaceName1(v FloatingIpUpdateRequestInterfaceName1) error
FromFloatingIpUpdateRequestInterfaceName1 overwrites any union data inside the FloatingIpUpdateRequest_InterfaceName as the provided FloatingIpUpdateRequestInterfaceName1
func (FloatingIpUpdateRequest_InterfaceName) MarshalJSON ¶
func (t FloatingIpUpdateRequest_InterfaceName) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName0 ¶
func (t *FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName0(v FloatingIpUpdateRequestInterfaceName0) error
MergeFloatingIpUpdateRequestInterfaceName0 performs a merge with any union data inside the FloatingIpUpdateRequest_InterfaceName, using the provided FloatingIpUpdateRequestInterfaceName0
func (*FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName1 ¶
func (t *FloatingIpUpdateRequest_InterfaceName) MergeFloatingIpUpdateRequestInterfaceName1(v FloatingIpUpdateRequestInterfaceName1) error
MergeFloatingIpUpdateRequestInterfaceName1 performs a merge with any union data inside the FloatingIpUpdateRequest_InterfaceName, using the provided FloatingIpUpdateRequestInterfaceName1
func (*FloatingIpUpdateRequest_InterfaceName) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_InterfaceName) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_Name ¶
type FloatingIpUpdateRequest_Name struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_Name Название публичного IP-адреса.
func (FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName0 ¶
func (t FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName0() (FloatingIpUpdateRequestName0, error)
AsFloatingIpUpdateRequestName0 returns the union data inside the FloatingIpUpdateRequest_Name as a FloatingIpUpdateRequestName0
func (FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName1 ¶
func (t FloatingIpUpdateRequest_Name) AsFloatingIpUpdateRequestName1() (FloatingIpUpdateRequestName1, error)
AsFloatingIpUpdateRequestName1 returns the union data inside the FloatingIpUpdateRequest_Name as a FloatingIpUpdateRequestName1
func (*FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName0 ¶
func (t *FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName0(v FloatingIpUpdateRequestName0) error
FromFloatingIpUpdateRequestName0 overwrites any union data inside the FloatingIpUpdateRequest_Name as the provided FloatingIpUpdateRequestName0
func (*FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName1 ¶
func (t *FloatingIpUpdateRequest_Name) FromFloatingIpUpdateRequestName1(v FloatingIpUpdateRequestName1) error
FromFloatingIpUpdateRequestName1 overwrites any union data inside the FloatingIpUpdateRequest_Name as the provided FloatingIpUpdateRequestName1
func (FloatingIpUpdateRequest_Name) MarshalJSON ¶
func (t FloatingIpUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName0 ¶
func (t *FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName0(v FloatingIpUpdateRequestName0) error
MergeFloatingIpUpdateRequestName0 performs a merge with any union data inside the FloatingIpUpdateRequest_Name, using the provided FloatingIpUpdateRequestName0
func (*FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName1 ¶
func (t *FloatingIpUpdateRequest_Name) MergeFloatingIpUpdateRequestName1(v FloatingIpUpdateRequestName1) error
MergeFloatingIpUpdateRequestName1 performs a merge with any union data inside the FloatingIpUpdateRequest_Name, using the provided FloatingIpUpdateRequestName1
func (*FloatingIpUpdateRequest_Name) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_Name) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_TagIds ¶
type FloatingIpUpdateRequest_TagIds struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_TagIds Идентификаторы тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds0 ¶
func (t FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds0() (FloatingIpUpdateRequestTagIds0, error)
AsFloatingIpUpdateRequestTagIds0 returns the union data inside the FloatingIpUpdateRequest_TagIds as a FloatingIpUpdateRequestTagIds0
func (FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds1 ¶
func (t FloatingIpUpdateRequest_TagIds) AsFloatingIpUpdateRequestTagIds1() (FloatingIpUpdateRequestTagIds1, error)
AsFloatingIpUpdateRequestTagIds1 returns the union data inside the FloatingIpUpdateRequest_TagIds as a FloatingIpUpdateRequestTagIds1
func (*FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds0 ¶
func (t *FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds0(v FloatingIpUpdateRequestTagIds0) error
FromFloatingIpUpdateRequestTagIds0 overwrites any union data inside the FloatingIpUpdateRequest_TagIds as the provided FloatingIpUpdateRequestTagIds0
func (*FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds1 ¶
func (t *FloatingIpUpdateRequest_TagIds) FromFloatingIpUpdateRequestTagIds1(v FloatingIpUpdateRequestTagIds1) error
FromFloatingIpUpdateRequestTagIds1 overwrites any union data inside the FloatingIpUpdateRequest_TagIds as the provided FloatingIpUpdateRequestTagIds1
func (FloatingIpUpdateRequest_TagIds) MarshalJSON ¶
func (t FloatingIpUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds0 ¶
func (t *FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds0(v FloatingIpUpdateRequestTagIds0) error
MergeFloatingIpUpdateRequestTagIds0 performs a merge with any union data inside the FloatingIpUpdateRequest_TagIds, using the provided FloatingIpUpdateRequestTagIds0
func (*FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds1 ¶
func (t *FloatingIpUpdateRequest_TagIds) MergeFloatingIpUpdateRequestTagIds1(v FloatingIpUpdateRequestTagIds1) error
MergeFloatingIpUpdateRequestTagIds1 performs a merge with any union data inside the FloatingIpUpdateRequest_TagIds, using the provided FloatingIpUpdateRequestTagIds1
func (*FloatingIpUpdateRequest_TagIds) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_TagNames ¶
type FloatingIpUpdateRequest_TagNames struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_TagNames Названия тегов.
func (FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames0 ¶
func (t FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames0() (FloatingIpUpdateRequestTagNames0, error)
AsFloatingIpUpdateRequestTagNames0 returns the union data inside the FloatingIpUpdateRequest_TagNames as a FloatingIpUpdateRequestTagNames0
func (FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames1 ¶
func (t FloatingIpUpdateRequest_TagNames) AsFloatingIpUpdateRequestTagNames1() (FloatingIpUpdateRequestTagNames1, error)
AsFloatingIpUpdateRequestTagNames1 returns the union data inside the FloatingIpUpdateRequest_TagNames as a FloatingIpUpdateRequestTagNames1
func (*FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames0 ¶
func (t *FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames0(v FloatingIpUpdateRequestTagNames0) error
FromFloatingIpUpdateRequestTagNames0 overwrites any union data inside the FloatingIpUpdateRequest_TagNames as the provided FloatingIpUpdateRequestTagNames0
func (*FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames1 ¶
func (t *FloatingIpUpdateRequest_TagNames) FromFloatingIpUpdateRequestTagNames1(v FloatingIpUpdateRequestTagNames1) error
FromFloatingIpUpdateRequestTagNames1 overwrites any union data inside the FloatingIpUpdateRequest_TagNames as the provided FloatingIpUpdateRequestTagNames1
func (FloatingIpUpdateRequest_TagNames) MarshalJSON ¶
func (t FloatingIpUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames0 ¶
func (t *FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames0(v FloatingIpUpdateRequestTagNames0) error
MergeFloatingIpUpdateRequestTagNames0 performs a merge with any union data inside the FloatingIpUpdateRequest_TagNames, using the provided FloatingIpUpdateRequestTagNames0
func (*FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames1 ¶
func (t *FloatingIpUpdateRequest_TagNames) MergeFloatingIpUpdateRequestTagNames1(v FloatingIpUpdateRequestTagNames1) error
MergeFloatingIpUpdateRequestTagNames1 performs a merge with any union data inside the FloatingIpUpdateRequest_TagNames, using the provided FloatingIpUpdateRequestTagNames1
func (*FloatingIpUpdateRequest_TagNames) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
type FloatingIpUpdateRequest_VmId ¶
type FloatingIpUpdateRequest_VmId struct {
// contains filtered or unexported fields
}
FloatingIpUpdateRequest_VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
func (FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId0 ¶
func (t FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId0() (FloatingIpUpdateRequestVmId0, error)
AsFloatingIpUpdateRequestVmId0 returns the union data inside the FloatingIpUpdateRequest_VmId as a FloatingIpUpdateRequestVmId0
func (FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId1 ¶
func (t FloatingIpUpdateRequest_VmId) AsFloatingIpUpdateRequestVmId1() (FloatingIpUpdateRequestVmId1, error)
AsFloatingIpUpdateRequestVmId1 returns the union data inside the FloatingIpUpdateRequest_VmId as a FloatingIpUpdateRequestVmId1
func (*FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId0 ¶
func (t *FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId0(v FloatingIpUpdateRequestVmId0) error
FromFloatingIpUpdateRequestVmId0 overwrites any union data inside the FloatingIpUpdateRequest_VmId as the provided FloatingIpUpdateRequestVmId0
func (*FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId1 ¶
func (t *FloatingIpUpdateRequest_VmId) FromFloatingIpUpdateRequestVmId1(v FloatingIpUpdateRequestVmId1) error
FromFloatingIpUpdateRequestVmId1 overwrites any union data inside the FloatingIpUpdateRequest_VmId as the provided FloatingIpUpdateRequestVmId1
func (FloatingIpUpdateRequest_VmId) MarshalJSON ¶
func (t FloatingIpUpdateRequest_VmId) MarshalJSON() ([]byte, error)
func (*FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId0 ¶
func (t *FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId0(v FloatingIpUpdateRequestVmId0) error
MergeFloatingIpUpdateRequestVmId0 performs a merge with any union data inside the FloatingIpUpdateRequest_VmId, using the provided FloatingIpUpdateRequestVmId0
func (*FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId1 ¶
func (t *FloatingIpUpdateRequest_VmId) MergeFloatingIpUpdateRequestVmId1(v FloatingIpUpdateRequestVmId1) error
MergeFloatingIpUpdateRequestVmId1 performs a merge with any union data inside the FloatingIpUpdateRequest_VmId, using the provided FloatingIpUpdateRequestVmId1
func (*FloatingIpUpdateRequest_VmId) UnmarshalJSON ¶
func (t *FloatingIpUpdateRequest_VmId) UnmarshalJSON(b []byte) error
type FloatingIpWithNameMiniResponse ¶
type FloatingIpWithNameMiniResponse struct {
// Id Идентификатор публичного IP-адреса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress *string `json:"ip_address,omitempty"`
// Name Название публичного IP.
Name string `json:"name"`
// State Статус публичного IP:
// - `available` — свободен;
// - `in_use` — назначен;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `attaching` — прикрепляется;
// - `detaching` — открепляется.
State FloatingIpState `json:"state"`
}
FloatingIpWithNameMiniResponse Публичный IP-адрес.
type FreeTierVmResponse ¶
type FreeTierVmResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины.
Description string `json:"description"`
// Disks Диски.
Disks []VmDisksResponseSection `json:"disks"`
// Flavor Флейвор.
Flavor FlavorMiniResponse `json:"flavor"`
GuestAgentState *VmGuestAgentState `json:"guest_agent_state,omitempty"`
// Icon Значок виртуальной машины в формате SVG.
Icon *string `json:"icon,omitempty"`
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Image Образ.
Image ImageMiniResponse `json:"image"`
// Interfaces Сетевые интерфейсы.
Interfaces []VmResponseFreeTierInterfaceSection `json:"interfaces"`
// IsSerialReady Если указано `true`, серийная консоль доступна на ВМ.
IsSerialReady bool `json:"is_serial_ready"`
// Locked Признак блокировки ВМ:
// - `true` — ВМ заблокирована для изменений.
// - `false` — ВМ доступна для изменений.
Locked bool `json:"locked"`
// MetadataFields Метаданные.
MetadataFields []VmMetadataResponseSection `json:"metadata_fields"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
// PlacementGroup Группа размещения.
PlacementGroup *PlacementGroupMiniResponse `json:"placement_group,omitempty"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// RemoteConsoleProtocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
RemoteConsoleProtocol *RemoteConsoleProtocol `json:"remote_console_protocol,omitempty"`
// RemoteConsoleUrl URL удаленной консоли.
RemoteConsoleUrl *string `json:"remote_console_url,omitempty"`
// RemoteConsoleWs WebSocket URL удаленной консоли.
RemoteConsoleWs *string `json:"remote_console_ws,omitempty"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
// VncUrl URL виртуальной консоли.
VncUrl *string `json:"vnc_url,omitempty"`
// VncWs WebSocket URL виртуальной консоли.
VncWs *string `json:"vnc_ws,omitempty"`
}
FreeTierVmResponse defines model for FreeTierVmResponse.
type FreetierVmCreateRequest ¶
type FreetierVmCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
// Если не указать зону доступности, ВМ будет создана в зоне доступности по умолчанию для free tier ВМ.
//
// Идентификатор зоны доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneId *openapi_types.UUID `json:"availability_zone_id,omitempty"`
// ImageId Идентификатор образа.
// Образ содержит файлы операционной системы, необходимые для создания ВМ.
// [Подробнее об образах](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__images?source-platform=Evolution).
//
// Для создания бесплатной ВМ образ должен поддерживать free tier.
// Получить список доступных образов можно с помощью запроса [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get) с параметром `"free_tier_enabled": true`.
ImageId openapi_types.UUID `json:"image_id"`
// ImageMetadata Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно узнать с помощью запроса [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// При создании ВМ укажите каждое необходимое поле метаданных в виде пары `"ключ": "значение"`, где `"ключ"` — параметр `name` поля метаданных.
// Вы можете передать метаданные в блоке `metadata_fields` или `image_metadata`.
// Если оба блока указаны, в ВМ будут переданы значения блока `metadata_fields`.
ImageMetadata *map[string]string `json:"image_metadata,omitempty"`
// MetadataFields Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно узнать с помощью запроса [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// Вы можете передать метаданные в блоке `metadata_fields` или `image_metadata`.
// Если оба блока указаны, в ВМ будут переданы значения блока `metadata_fields`.
MetadataFields *[]VmCreateMetadataByIdSection `json:"metadata_fields,omitempty"`
// Name Название виртуальной машины. Обязательный параметр.
Name string `json:"name"`
// NewFloatingIp Если выбрано `true`, сетевому интерфейсу будет назначен новый публичный IP-адрес.
NewFloatingIp *bool `json:"new_floating_ip,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос. Обязательный параметр.
ProjectId openapi_types.UUID `json:"project_id"`
}
FreetierVmCreateRequest defines model for FreetierVmCreateRequest.
type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody ¶
type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody = PublicVmCreateRemoteConsoleRequest
GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostJSONRequestBody defines body for GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePost for application/json ContentType.
type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse ¶
type GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse ¶
func ParseGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse(rsp *http.Response) (*GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse, error)
ParseGenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse parses an HTTP response from a GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostWithResponse call
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) ContentType ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetBody ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON401 ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON403 ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON422 ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON500 ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) Status ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) StatusCode ¶
func (r GenerateVmRemoteConsoleSvcV1VmsVmIdRemoteConsolePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams ¶
type GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
// FreeTierDefault Eсли указано `true`, в ответе вернутся только зоны доступности, в которых можно создать бесплатные ресурсы (free tier).
FreeTierDefault *bool `form:"free_tier_default,omitempty" json:"free_tier_default,omitempty"`
}
GetAvailabilityZoneListSvcV1AvailabilityZonesGetParams defines parameters for GetAvailabilityZoneListSvcV1AvailabilityZonesGet.
type GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse ¶
type GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PublicAvailabilityZoneResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse ¶
func ParseGetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse(rsp *http.Response) (*GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse, error)
ParseGetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse parses an HTTP response from a GetAvailabilityZoneListSvcV1AvailabilityZonesGetWithResponse call
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) ContentType ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetBody ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON200 ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON200() *[]PublicAvailabilityZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON401 ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON403 ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON422 ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON500 ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) Status ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) StatusCode ¶
func (r GetAvailabilityZoneListSvcV1AvailabilityZonesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams ¶
type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `form:"project_id" json:"project_id"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
}
GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetParams defines parameters for GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGet.
type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse ¶
type GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PublicAvailabilityZoneSettingsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse ¶
func ParseGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse(rsp *http.Response) (*GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse, error)
ParseGetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse parses an HTTP response from a GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetWithResponse call
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) ContentType ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetBody ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON200 ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON200() *[]PublicAvailabilityZoneSettingsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON401 ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON403 ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON422 ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON500 ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) Status ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) StatusCode ¶
func (r GetAvailabilityZoneSettingsSvcV1AvailabilityZonesSettingsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse ¶
type GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicAvailabilityZoneResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]AvailabilityZoneNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse ¶
func ParseGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse(rsp *http.Response) (*GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse, error)
ParseGetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse parses an HTTP response from a GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetWithResponse call
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) ContentType ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetBody ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON200 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON200() *PublicAvailabilityZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON401 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON403 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON404 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON422 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON500 ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) Status ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) StatusCode ¶
func (r GetAvailabilityZoneSvcV1AvailabilityZonesAvailabilityZoneIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams ¶
type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams struct {
// SubnetId Идентификатор подсети.
SubnetId openapi_types.UUID `form:"subnet_id" json:"subnet_id"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetAvailableIpAddressesSvcV1AvailableIpAddressesGetParams defines parameters for GetAvailableIpAddressesSvcV1AvailableIpAddressesGet.
type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse ¶
type GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponseIPv4Address
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]ProjectHasNoVpcExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse ¶
func ParseGetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse(rsp *http.Response) (*GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse, error)
ParseGetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse parses an HTTP response from a GetAvailableIpAddressesSvcV1AvailableIpAddressesGetWithResponse call
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) ContentType ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetBody ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON200 ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON200() *PaginationResponseIPv4Address
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON401 ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON403 ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON422 ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON422() *[]ProjectHasNoVpcExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON500 ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) Status ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) StatusCode ¶
func (r GetAvailableIpAddressesSvcV1AvailableIpAddressesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvailableSubnetsSvcV1AvailableSubnetsGetParams ¶
type GetAvailableSubnetsSvcV1AvailableSubnetsGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `form:"project_id" json:"project_id"`
// VpcId Идентификатор виртуальной сети.
VpcId *string `form:"vpc_id,omitempty" json:"vpc_id,omitempty"`
// SubnetMask Маска подсети.
SubnetMask int `form:"subnet_mask" json:"subnet_mask"`
// BaseSubnetAddress Базовый адрес подсети.
BaseSubnetAddress string `form:"base_subnet_address" json:"base_subnet_address"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetAvailableSubnetsSvcV1AvailableSubnetsGetParams defines parameters for GetAvailableSubnetsSvcV1AvailableSubnetsGet.
type GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse ¶
type GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponseIPv4Network
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]ProjectHasNoVpcExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetAvailableSubnetsSvcV1AvailableSubnetsGetResponse ¶
func ParseGetAvailableSubnetsSvcV1AvailableSubnetsGetResponse(rsp *http.Response) (*GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse, error)
ParseGetAvailableSubnetsSvcV1AvailableSubnetsGetResponse parses an HTTP response from a GetAvailableSubnetsSvcV1AvailableSubnetsGetWithResponse call
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) ContentType ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetBody ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON200 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON200() *PaginationResponseIPv4Network
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON401 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON403 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON404 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON422 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON422() *[]ProjectHasNoVpcExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON500 ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) Status ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) StatusCode ¶
func (r GetAvailableSubnetsSvcV1AvailableSubnetsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupResponseSchema ¶
type GetBackupResponseSchema struct {
// CreatedAt Дата и время создания резервной копии.
CreatedAt time.Time `json:"created_at"`
// Description Описание.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии
Id string `json:"id"`
// LastRestoreTime Дата и время последнего восстановления ресурса из копии.
LastRestoreTime *time.Time `json:"last_restore_time,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ParentFullBackupId Идентификатор предыдущей полной копии.
ParentFullBackupId *string `json:"parent_full_backup_id,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
ProtectionPlan *[]ProtectionPlanLiteSchema `json:"protection_plan,omitempty"`
// Resource Ресурс.
Resource BackupResourceSchema `json:"resource"`
// Size Размер копии в МБ.
Size int `json:"size"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State BackupState `json:"state"`
// Tags Теги
Tags []TagLiteSchema `json:"tags"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время обновления резервной копии.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
GetBackupResponseSchema defines model for GetBackupResponseSchema.
type GetBackupSvcV1BackupsBackupIdGetResponse ¶
type GetBackupSvcV1BackupsBackupIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetBackupResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]HTTPValidationError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetBackupSvcV1BackupsBackupIdGetResponse ¶
func ParseGetBackupSvcV1BackupsBackupIdGetResponse(rsp *http.Response) (*GetBackupSvcV1BackupsBackupIdGetResponse, error)
ParseGetBackupSvcV1BackupsBackupIdGetResponse parses an HTTP response from a GetBackupSvcV1BackupsBackupIdGetWithResponse call
func (GetBackupSvcV1BackupsBackupIdGetResponse) ContentType ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetBody ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON200 ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON200() *GetBackupResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON401 ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON403 ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON422 ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON422() *[]HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON500 ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetBackupSvcV1BackupsBackupIdGetResponse) Status ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupSvcV1BackupsBackupIdGetResponse) StatusCode ¶
func (r GetBackupSvcV1BackupsBackupIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiskByIdSvcV1DisksDiskIdGetResponse ¶
type GetDiskByIdSvcV1DisksDiskIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetDiskByIdSvcV1DisksDiskIdGetResponse ¶
func ParseGetDiskByIdSvcV1DisksDiskIdGetResponse(rsp *http.Response) (*GetDiskByIdSvcV1DisksDiskIdGetResponse, error)
ParseGetDiskByIdSvcV1DisksDiskIdGetResponse parses an HTTP response from a GetDiskByIdSvcV1DisksDiskIdGetWithResponse call
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) ContentType ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetBody ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON200 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON200() *PublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON401 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON403 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON404 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON422 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON500 ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) Status ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiskByIdSvcV1DisksDiskIdGetResponse) StatusCode ¶
func (r GetDiskByIdSvcV1DisksDiskIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiskParamsSvcV1ParamsDiskGetParams ¶
type GetDiskParamsSvcV1ParamsDiskGetParams struct {
// ParamType Тип параметра.
ParamType *DiskParamTypes `form:"param_type,omitempty" json:"param_type,omitempty"`
}
GetDiskParamsSvcV1ParamsDiskGetParams defines parameters for GetDiskParamsSvcV1ParamsDiskGet.
type GetDiskParamsSvcV1ParamsDiskGetResponse ¶
type GetDiskParamsSvcV1ParamsDiskGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ParamListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetDiskParamsSvcV1ParamsDiskGetResponse ¶
func ParseGetDiskParamsSvcV1ParamsDiskGetResponse(rsp *http.Response) (*GetDiskParamsSvcV1ParamsDiskGetResponse, error)
ParseGetDiskParamsSvcV1ParamsDiskGetResponse parses an HTTP response from a GetDiskParamsSvcV1ParamsDiskGetWithResponse call
func (GetDiskParamsSvcV1ParamsDiskGetResponse) ContentType ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetBody ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON200 ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON200() *ParamListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON401 ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON403 ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON422 ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON500 ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDiskParamsSvcV1ParamsDiskGetResponse) Status ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiskParamsSvcV1ParamsDiskGetResponse) StatusCode ¶
func (r GetDiskParamsSvcV1ParamsDiskGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse ¶
type GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskTypeResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskTypeNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse ¶
func ParseGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse(rsp *http.Response) (*GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse, error)
ParseGetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse parses an HTTP response from a GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetWithResponse call
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) ContentType ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetBody ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON200 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON200() *PublicDiskTypeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON401 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON403 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON404 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON404() *[]DiskTypeNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON422 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON500 ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) Status ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) StatusCode ¶
func (r GetDiskTypeByIdSvcV1DiskTypesDiskTypeIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiskTypesSvcV1DiskTypesGetParams ¶
type GetDiskTypesSvcV1DiskTypesGetParams struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}
GetDiskTypesSvcV1DiskTypesGetParams defines parameters for GetDiskTypesSvcV1DiskTypesGet.
type GetDiskTypesSvcV1DiskTypesGetResponse ¶
type GetDiskTypesSvcV1DiskTypesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PublicDiskTypeResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongAvailabilityZoneByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetDiskTypesSvcV1DiskTypesGetResponse ¶
func ParseGetDiskTypesSvcV1DiskTypesGetResponse(rsp *http.Response) (*GetDiskTypesSvcV1DiskTypesGetResponse, error)
ParseGetDiskTypesSvcV1DiskTypesGetResponse parses an HTTP response from a GetDiskTypesSvcV1DiskTypesGetWithResponse call
func (GetDiskTypesSvcV1DiskTypesGetResponse) ContentType ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetBody ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON200 ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON200() *[]PublicDiskTypeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON401 ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON403 ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON422 ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON422() *[]WrongAvailabilityZoneByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON500 ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDiskTypesSvcV1DiskTypesGetResponse) Status ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiskTypesSvcV1DiskTypesGetResponse) StatusCode ¶
func (r GetDiskTypesSvcV1DiskTypesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDisksSvcV1DisksGetParams ¶
type GetDisksSvcV1DisksGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// Name Название диска.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Параметр сортировки списка.
OrderBy *GetDisksSvcV1DisksGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetDisksSvcV1DisksGetParams defines parameters for GetDisksSvcV1DisksGet.
type GetDisksSvcV1DisksGetParamsOrderBy ¶
type GetDisksSvcV1DisksGetParamsOrderBy string
GetDisksSvcV1DisksGetParamsOrderBy defines parameters for GetDisksSvcV1DisksGet.
const (
GetDisksSvcV1DisksGetParamsOrderByCreatedTime GetDisksSvcV1DisksGetParamsOrderBy = "created_time"
)
Defines values for GetDisksSvcV1DisksGetParamsOrderBy.
func (GetDisksSvcV1DisksGetParamsOrderBy) Valid ¶
func (e GetDisksSvcV1DisksGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetDisksSvcV1DisksGetParamsOrderBy enum.
type GetDisksSvcV1DisksGetResponse ¶
type GetDisksSvcV1DisksGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetDisksSvcV1DisksGetResponse ¶
func ParseGetDisksSvcV1DisksGetResponse(rsp *http.Response) (*GetDisksSvcV1DisksGetResponse, error)
ParseGetDisksSvcV1DisksGetResponse parses an HTTP response from a GetDisksSvcV1DisksGetWithResponse call
func (GetDisksSvcV1DisksGetResponse) ContentType ¶
func (r GetDisksSvcV1DisksGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDisksSvcV1DisksGetResponse) GetBody ¶
func (r GetDisksSvcV1DisksGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDisksSvcV1DisksGetResponse) GetJSON200 ¶
func (r GetDisksSvcV1DisksGetResponse) GetJSON200() *PaginationResponsePublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDisksSvcV1DisksGetResponse) GetJSON401 ¶
func (r GetDisksSvcV1DisksGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetDisksSvcV1DisksGetResponse) GetJSON403 ¶
func (r GetDisksSvcV1DisksGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetDisksSvcV1DisksGetResponse) GetJSON422 ¶
func (r GetDisksSvcV1DisksGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDisksSvcV1DisksGetResponse) GetJSON500 ¶
func (r GetDisksSvcV1DisksGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetDisksSvcV1DisksGetResponse) Status ¶
func (r GetDisksSvcV1DisksGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDisksSvcV1DisksGetResponse) StatusCode ¶
func (r GetDisksSvcV1DisksGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody ¶
type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody = ProjectPriceRequest
GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostJSONRequestBody defines body for GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPost for application/json ContentType.
type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse ¶
type GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectPriceResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]UnsupportedFloatingIpActionExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse ¶
func ParseGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse(rsp *http.Response) (*GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse, error)
ParseGetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse parses an HTTP response from a GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostWithResponse call
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) ContentType ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetBody ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON200 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON200() *ProjectPriceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON401 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON403 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON404 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON422 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON422() *[]UnsupportedFloatingIpActionExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON500 ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) Status ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) StatusCode ¶
func (r GetEntitiesPricesSvcV1ProjectsProjectIdPriceCalculationPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse ¶
type GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicFlavorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]FlavorNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetFlavorByIdSvcV1FlavorsFlavorIdGetResponse ¶
func ParseGetFlavorByIdSvcV1FlavorsFlavorIdGetResponse(rsp *http.Response) (*GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse, error)
ParseGetFlavorByIdSvcV1FlavorsFlavorIdGetResponse parses an HTTP response from a GetFlavorByIdSvcV1FlavorsFlavorIdGetWithResponse call
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) ContentType ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetBody ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON200 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON200() *PublicFlavorResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON401 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON403 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON404 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON404() *[]FlavorNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON422 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON500 ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) Status ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) StatusCode ¶
func (r GetFlavorByIdSvcV1FlavorsFlavorIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFlavorParamsSvcV1ParamsFlavorGetParams ¶
type GetFlavorParamsSvcV1ParamsFlavorGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
AvailabilityZoneId *string `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// ParamType Тип параметра.
ParamType *FlavorParamTypes `form:"param_type,omitempty" json:"param_type,omitempty"`
}
GetFlavorParamsSvcV1ParamsFlavorGetParams defines parameters for GetFlavorParamsSvcV1ParamsFlavorGet.
type GetFlavorParamsSvcV1ParamsFlavorGetResponse ¶
type GetFlavorParamsSvcV1ParamsFlavorGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ParamListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]AvailabilityZoneNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetFlavorParamsSvcV1ParamsFlavorGetResponse ¶
func ParseGetFlavorParamsSvcV1ParamsFlavorGetResponse(rsp *http.Response) (*GetFlavorParamsSvcV1ParamsFlavorGetResponse, error)
ParseGetFlavorParamsSvcV1ParamsFlavorGetResponse parses an HTTP response from a GetFlavorParamsSvcV1ParamsFlavorGetWithResponse call
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) ContentType ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetBody ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON200 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON200() *ParamListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON401 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON403 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON404 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON422 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON500 ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) Status ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFlavorParamsSvcV1ParamsFlavorGetResponse) StatusCode ¶
func (r GetFlavorParamsSvcV1ParamsFlavorGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFlavorsSvcV1FlavorsGetParams ¶
type GetFlavorsSvcV1FlavorsGetParams struct {
// OrderBy Определяет параметр, по которому будут отсортированы результаты:
// - `created_time` — дата и время создания флейвора.
OrderBy *GetFlavorsSvcV1FlavorsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки:
// - `true` — по убыванию.
// - `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// AvailabilityZoneId Фильтр по зоне доступности. Идентификаторы зон доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones).
AvailabilityZoneId *string `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
// Name Фильтр по названию флейвора.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Cpu Фильтр по количеству виртуальных процессоров — vCPU.
Cpu *int `form:"cpu,omitempty" json:"cpu,omitempty"`
// Ram Фильтр по объему оперативной памяти (RAM) в ГБ.
Ram *int `form:"ram,omitempty" json:"ram,omitempty"`
// Gpu Фильтр по количеству графических процессоров — GPU.
Gpu *int `form:"gpu,omitempty" json:"gpu,omitempty"`
// FlavorType Фильтр по названию типа флейвора. Узнать доступные типы флейворов можно, выполнив запрос `GET api/v1/flavor-types`. Названию соответствует поле `name`.
FlavorType *string `form:"flavor_type,omitempty" json:"flavor_type,omitempty"`
// Type Фильтр по названию типа флейвора. Узнать доступные типы флейворов можно, выполнив запрос `GET api/v1/flavor-types`. Названию соответствует поле `old_name`.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Type *string `form:"type,omitempty" json:"type,omitempty"`
// Oversubscription Фильтр по гарантированной доле vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription *string `form:"oversubscription,omitempty" json:"oversubscription,omitempty"`
// FreeTier Фильтр по флейворам для бесплатных виртуальных машин (free tier):
// - `true` — только флейворы для бесплатных виртуальных машин.
// - `false` — только флейворы для платных виртуальных машин.
FreeTier *bool `form:"free_tier,omitempty" json:"free_tier,omitempty"`
// IsSpot Фильтр по флейворам с поддержкой [прерываемых виртуальных машин](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__spot):
// - `true` — только флейворы с поддержкой прерываемых виртуальных машин.
// - `false` — только флейворы без поддержки прерываемых виртуальных машин.
IsSpot *bool `form:"is_spot,omitempty" json:"is_spot,omitempty"`
}
GetFlavorsSvcV1FlavorsGetParams defines parameters for GetFlavorsSvcV1FlavorsGet.
type GetFlavorsSvcV1FlavorsGetParamsOrderBy ¶
type GetFlavorsSvcV1FlavorsGetParamsOrderBy string
GetFlavorsSvcV1FlavorsGetParamsOrderBy defines parameters for GetFlavorsSvcV1FlavorsGet.
const (
GetFlavorsSvcV1FlavorsGetParamsOrderByCreatedTime GetFlavorsSvcV1FlavorsGetParamsOrderBy = "created_time"
)
Defines values for GetFlavorsSvcV1FlavorsGetParamsOrderBy.
func (GetFlavorsSvcV1FlavorsGetParamsOrderBy) Valid ¶
func (e GetFlavorsSvcV1FlavorsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetFlavorsSvcV1FlavorsGetParamsOrderBy enum.
type GetFlavorsSvcV1FlavorsGetResponse ¶
type GetFlavorsSvcV1FlavorsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicFlavorResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]AvailabilityZoneNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetFlavorsSvcV1FlavorsGetResponse ¶
func ParseGetFlavorsSvcV1FlavorsGetResponse(rsp *http.Response) (*GetFlavorsSvcV1FlavorsGetResponse, error)
ParseGetFlavorsSvcV1FlavorsGetResponse parses an HTTP response from a GetFlavorsSvcV1FlavorsGetWithResponse call
func (GetFlavorsSvcV1FlavorsGetResponse) ContentType ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFlavorsSvcV1FlavorsGetResponse) GetBody ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON200 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON200() *PaginationResponsePublicFlavorResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON401 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON403 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON404 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON422 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) GetJSON500 ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFlavorsSvcV1FlavorsGetResponse) Status ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFlavorsSvcV1FlavorsGetResponse) StatusCode ¶
func (r GetFlavorsSvcV1FlavorsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse ¶
type GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicFloatingIpResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]FloatingIpNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse ¶
func ParseGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse(rsp *http.Response) (*GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse, error)
ParseGetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse parses an HTTP response from a GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetWithResponse call
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) ContentType ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetBody ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON200 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON200() *PublicFloatingIpResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON401 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON403 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON404 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON422 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON500 ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) Status ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) StatusCode ¶
func (r GetFloatingIpByIdSvcV1FloatingIpsFloatingIpIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFloatingIpFipsSvcV1FloatingIpsGetParams ¶
type GetFloatingIpFipsSvcV1FloatingIpsGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// InterfaceId Идентификатор сетевого интерфейса.
InterfaceId *openapi_types.UUID `form:"interface_id,omitempty" json:"interface_id,omitempty"`
// RouterId Идентификатор роутера.
RouterId *openapi_types.UUID `form:"router_id,omitempty" json:"router_id,omitempty"`
// NatGatewayId Идентификатор SNAT-шлюза.
NatGatewayId *openapi_types.UUID `form:"nat_gateway_id,omitempty" json:"nat_gateway_id,omitempty"`
// Free Фильтр по публичным IP-адресам, доступным для назначения.
Free *bool `form:"free,omitempty" json:"free,omitempty"`
// Name Название публичного IP-адреса.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Параметр сортировки списка.
OrderBy *GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetFloatingIpFipsSvcV1FloatingIpsGetParams defines parameters for GetFloatingIpFipsSvcV1FloatingIpsGet.
type GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy ¶
type GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy string
GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy defines parameters for GetFloatingIpFipsSvcV1FloatingIpsGet.
const (
GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderByCreatedTime GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy = "created_time"
)
Defines values for GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy.
func (GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy) Valid ¶
func (e GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetFloatingIpFipsSvcV1FloatingIpsGetParamsOrderBy enum.
type GetFloatingIpFipsSvcV1FloatingIpsGetResponse ¶
type GetFloatingIpFipsSvcV1FloatingIpsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicFloatingIpResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]OutOfBoundsExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetFloatingIpFipsSvcV1FloatingIpsGetResponse ¶
func ParseGetFloatingIpFipsSvcV1FloatingIpsGetResponse(rsp *http.Response) (*GetFloatingIpFipsSvcV1FloatingIpsGetResponse, error)
ParseGetFloatingIpFipsSvcV1FloatingIpsGetResponse parses an HTTP response from a GetFloatingIpFipsSvcV1FloatingIpsGetWithResponse call
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) ContentType ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetBody ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON200 ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON200() *PaginationResponsePublicFloatingIpResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON401 ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON403 ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON422 ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON422() *[]OutOfBoundsExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON500 ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) Status ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFloatingIpFipsSvcV1FloatingIpsGetResponse) StatusCode ¶
func (r GetFloatingIpFipsSvcV1FloatingIpsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageByIdSvcV1ImagesImageIdGetResponse ¶
type GetImageByIdSvcV1ImagesImageIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicImageResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ImageNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetImageByIdSvcV1ImagesImageIdGetResponse ¶
func ParseGetImageByIdSvcV1ImagesImageIdGetResponse(rsp *http.Response) (*GetImageByIdSvcV1ImagesImageIdGetResponse, error)
ParseGetImageByIdSvcV1ImagesImageIdGetResponse parses an HTTP response from a GetImageByIdSvcV1ImagesImageIdGetWithResponse call
func (GetImageByIdSvcV1ImagesImageIdGetResponse) ContentType ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetBody ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON200 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON200() *PublicImageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON401 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON403 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON404 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON422 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON500 ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetImageByIdSvcV1ImagesImageIdGetResponse) Status ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageByIdSvcV1ImagesImageIdGetResponse) StatusCode ¶
func (r GetImageByIdSvcV1ImagesImageIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImagesSvcV1ImagesGetParams ¶
type GetImagesSvcV1ImagesGetParams struct {
// OrderBy Параметр сортировки списка.
OrderBy *GetImagesSvcV1ImagesGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// Name Системное название образа.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// DisplayName Название образа в интерфейсе личного кабинета.
DisplayName *string `form:"display_name,omitempty" json:"display_name,omitempty"`
// Type Тип образа.
Type *ImageType `form:"type,omitempty" json:"type,omitempty"`
Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"`
NeedGpu *bool `form:"need_gpu,omitempty" json:"need_gpu,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
FreeTierEnabled *bool `form:"free_tier_enabled,omitempty" json:"free_tier_enabled,omitempty"`
}
GetImagesSvcV1ImagesGetParams defines parameters for GetImagesSvcV1ImagesGet.
type GetImagesSvcV1ImagesGetParamsOrderBy ¶
type GetImagesSvcV1ImagesGetParamsOrderBy string
GetImagesSvcV1ImagesGetParamsOrderBy defines parameters for GetImagesSvcV1ImagesGet.
const (
GetImagesSvcV1ImagesGetParamsOrderByCreatedTime GetImagesSvcV1ImagesGetParamsOrderBy = "created_time"
)
Defines values for GetImagesSvcV1ImagesGetParamsOrderBy.
func (GetImagesSvcV1ImagesGetParamsOrderBy) Valid ¶
func (e GetImagesSvcV1ImagesGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetImagesSvcV1ImagesGetParamsOrderBy enum.
type GetImagesSvcV1ImagesGetResponse ¶
type GetImagesSvcV1ImagesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicImageResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongAvailabilityZoneForImageExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetImagesSvcV1ImagesGetResponse ¶
func ParseGetImagesSvcV1ImagesGetResponse(rsp *http.Response) (*GetImagesSvcV1ImagesGetResponse, error)
ParseGetImagesSvcV1ImagesGetResponse parses an HTTP response from a GetImagesSvcV1ImagesGetWithResponse call
func (GetImagesSvcV1ImagesGetResponse) ContentType ¶
func (r GetImagesSvcV1ImagesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetImagesSvcV1ImagesGetResponse) GetBody ¶
func (r GetImagesSvcV1ImagesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetImagesSvcV1ImagesGetResponse) GetJSON200 ¶
func (r GetImagesSvcV1ImagesGetResponse) GetJSON200() *PaginationResponsePublicImageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetImagesSvcV1ImagesGetResponse) GetJSON401 ¶
func (r GetImagesSvcV1ImagesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetImagesSvcV1ImagesGetResponse) GetJSON403 ¶
func (r GetImagesSvcV1ImagesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetImagesSvcV1ImagesGetResponse) GetJSON422 ¶
func (r GetImagesSvcV1ImagesGetResponse) GetJSON422() *[]WrongAvailabilityZoneForImageExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetImagesSvcV1ImagesGetResponse) GetJSON500 ¶
func (r GetImagesSvcV1ImagesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetImagesSvcV1ImagesGetResponse) Status ¶
func (r GetImagesSvcV1ImagesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetImagesSvcV1ImagesGetResponse) StatusCode ¶
func (r GetImagesSvcV1ImagesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse ¶
type GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicNATGatewayResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]NATGatewayNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVdcExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse ¶
func ParseGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse(rsp *http.Response) (*GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse, error)
ParseGetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse parses an HTTP response from a GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetWithResponse call
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) ContentType ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetBody ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON200 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON200() *PublicNATGatewayResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON401 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON403 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON404 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON422 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON422() *[]WrongVdcExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON500 ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) Status ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) StatusCode ¶
func (r GetNatGatewayByIdSvcV1NatGatewaysNatGatewayIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNatGatewaysSvcV1NatGatewaysGetParams ¶
type GetNatGatewaysSvcV1NatGatewaysGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneId Идентификатор зоны доступности.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AvailabilityZoneId *openapi_types.UUID `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// AvailabilityZoneIds Идентификаторы зон доступности.
AvailabilityZoneIds *[]openapi_types.UUID `form:"availability_zone_ids,omitempty" json:"availability_zone_ids,omitempty"`
// Name Название SNAT-шлюза.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetNatGatewaysSvcV1NatGatewaysGetParams defines parameters for GetNatGatewaysSvcV1NatGatewaysGet.
type GetNatGatewaysSvcV1NatGatewaysGetResponse ¶
type GetNatGatewaysSvcV1NatGatewaysGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicNATGatewayResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetNatGatewaysSvcV1NatGatewaysGetResponse ¶
func ParseGetNatGatewaysSvcV1NatGatewaysGetResponse(rsp *http.Response) (*GetNatGatewaysSvcV1NatGatewaysGetResponse, error)
ParseGetNatGatewaysSvcV1NatGatewaysGetResponse parses an HTTP response from a GetNatGatewaysSvcV1NatGatewaysGetWithResponse call
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) ContentType ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetBody ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON200 ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON200() *PaginationResponsePublicNATGatewayResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON401 ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON403 ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON422 ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON500 ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) Status ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetNatGatewaysSvcV1NatGatewaysGetResponse) StatusCode ¶
func (r GetNatGatewaysSvcV1NatGatewaysGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse ¶
type GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BaseOrganizationResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]OrganizationNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse ¶
func ParseGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse(rsp *http.Response) (*GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse, error)
ParseGetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse parses an HTTP response from a GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetWithResponse call
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) ContentType ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetBody ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON200 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON200() *BaseOrganizationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON401 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON403 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON404 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON404() *[]OrganizationNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON422 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON500 ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) Status ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) StatusCode ¶
func (r GetOrganizationPublicSvcV1OrganizationsOrganizationIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse ¶
type GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]PlacementGroupNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse ¶
func ParseGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse(rsp *http.Response) (*GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse, error)
ParseGetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse parses an HTTP response from a GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetWithResponse call
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) ContentType ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetBody ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON200 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON200() *PublicPlacementGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON401 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON403 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON404 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON422 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON500 ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) Status ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) StatusCode ¶
func (r GetPlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPlacementGroupsSvcV1PlacementGroupsGetParams ¶
type GetPlacementGroupsSvcV1PlacementGroupsGetParams struct {
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneIds Идентификаторы зон доступности.
AvailabilityZoneIds *[]openapi_types.UUID `form:"availability_zone_ids,omitempty" json:"availability_zone_ids,omitempty"`
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Policy Тип политики.
Policy *PlacementGroupPolicyEnum `form:"policy,omitempty" json:"policy,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Параметр сортировки списка.
OrderBy *GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetPlacementGroupsSvcV1PlacementGroupsGetParams defines parameters for GetPlacementGroupsSvcV1PlacementGroupsGet.
type GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy ¶
type GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy string
GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy defines parameters for GetPlacementGroupsSvcV1PlacementGroupsGet.
const (
GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderByCreatedTime GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy = "created_time"
)
Defines values for GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy.
func (GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy) Valid ¶
func (e GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetPlacementGroupsSvcV1PlacementGroupsGetParamsOrderBy enum.
type GetPlacementGroupsSvcV1PlacementGroupsGetResponse ¶
type GetPlacementGroupsSvcV1PlacementGroupsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicPlacementGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPlacementGroupsSvcV1PlacementGroupsGetResponse ¶
func ParseGetPlacementGroupsSvcV1PlacementGroupsGetResponse(rsp *http.Response) (*GetPlacementGroupsSvcV1PlacementGroupsGetResponse, error)
ParseGetPlacementGroupsSvcV1PlacementGroupsGetResponse parses an HTTP response from a GetPlacementGroupsSvcV1PlacementGroupsGetWithResponse call
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) ContentType ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetBody ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON200 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON200() *PaginationResponsePublicPlacementGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON401 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON403 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON404 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON422 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON500 ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) Status ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPlacementGroupsSvcV1PlacementGroupsGetResponse) StatusCode ¶
func (r GetPlacementGroupsSvcV1PlacementGroupsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectForPublicSvcV1ProjectsProjectIdGetResponse ¶
type GetProjectForPublicSvcV1ProjectsProjectIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BaseProjectResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetProjectForPublicSvcV1ProjectsProjectIdGetResponse ¶
func ParseGetProjectForPublicSvcV1ProjectsProjectIdGetResponse(rsp *http.Response) (*GetProjectForPublicSvcV1ProjectsProjectIdGetResponse, error)
ParseGetProjectForPublicSvcV1ProjectsProjectIdGetResponse parses an HTTP response from a GetProjectForPublicSvcV1ProjectsProjectIdGetWithResponse call
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) ContentType ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetBody ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON200 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON200() *BaseProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON401 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON403 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON404 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON422 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON500 ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) Status ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) StatusCode ¶
func (r GetProjectForPublicSvcV1ProjectsProjectIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse ¶
type GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectPermissionsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse ¶
func ParseGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse(rsp *http.Response) (*GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse, error)
ParseGetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse parses an HTTP response from a GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetWithResponse call
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) ContentType ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetBody ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON200 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON200() *ProjectPermissionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON401 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON403 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON404 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON422 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON500 ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) Status ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) StatusCode ¶
func (r GetProjectPermissionsSvcV1ProjectsProjectIdPermissionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProtectionPlanResponseSchema ¶
type GetProtectionPlanResponseSchema struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneLiteSchema `json:"availability_zone"`
// Backups Резервные копии.
Backups []BackupLiteSchema `json:"backups"`
// CreatedAt Дата и время создания резервной копии.
CreatedAt time.Time `json:"created_at"`
// Description Описание.
Description *string `json:"description,omitempty"`
// ExecutionType Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
ExecutionType BackupType `json:"execution_type"`
// Id Идентификатор плана.
Id string `json:"id"`
// Name Название плана.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resources Ресурсы.
Resources []ProtectionPlanResourceResponseSchema `json:"resources"`
// Schedules Расписание.
Schedules []ProtectionPlanScheduleResponseSchema `json:"schedules"`
// State Статус плана резервного копирования:
//
// - “creating“ — план создается;
// - “created“ — план создан;
// - “error_creating“ — ошибка создания;
// - “updating“ — план обновляется;
// - “error“ — ошибка;
// - “deleting“ — план удаляется;
// - “error_deleting“ — ошибка удаления.
State ProtectionPlanState `json:"state"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время обновления резервной копии, если есть.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
GetProtectionPlanResponseSchema defines model for GetProtectionPlanResponseSchema.
type GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse ¶
type GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetProtectionPlanResponseSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse ¶
func ParseGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse(rsp *http.Response) (*GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse, error)
ParseGetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse parses an HTTP response from a GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetWithResponse call
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) ContentType ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetBody ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON200 ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON200() *GetProtectionPlanResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON422 ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) Status ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) StatusCode ¶
func (r GetProtectionPlanSvcV1ProtectionPlansProtectionPlanIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse ¶
type GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicInterfaceResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]InterfaceNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse ¶
func ParseGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse(rsp *http.Response) (*GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse, error)
ParseGetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse parses an HTTP response from a GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetWithResponse call
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) ContentType ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetBody ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON200 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON200() *PublicInterfaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON401 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON403 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON404 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON422 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON500 ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) Status ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) StatusCode ¶
func (r GetPublicInterfaceByIdSvcV1InterfacesInterfaceIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicInterfacesSvcV1InterfacesGetParams ¶
type GetPublicInterfacesSvcV1InterfacesGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// VmIds Идентификаторы виртуальных машин.
VmIds *[]openapi_types.UUID `form:"vm_ids,omitempty" json:"vm_ids,omitempty"`
// InterfaceIds Идентификатор сетевого интерфейса.
InterfaceIds *[]openapi_types.UUID `form:"interface_ids,omitempty" json:"interface_ids,omitempty"`
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
VmId *openapi_types.UUID `form:"vm_id,omitempty" json:"vm_id,omitempty"`
// SubnetId Идентификатор подсети.
SubnetId *openapi_types.UUID `form:"subnet_id,omitempty" json:"subnet_id,omitempty"`
// ExternalNetworkId Идентификатор публичной сети.
ExternalNetworkId *openapi_types.UUID `form:"external_network_id,omitempty" json:"external_network_id,omitempty"`
// SecurityGroupId Идентификатор группы безопасности.
SecurityGroupId *openapi_types.UUID `form:"security_group_id,omitempty" json:"security_group_id,omitempty"`
// IpAddress IP-адрес.
IpAddress *string `form:"ip_address,omitempty" json:"ip_address,omitempty"`
// EmptyFip Фильтр для поиска виртуальных машин без назначенных публичных IP-адресов.
EmptyFip *bool `form:"empty_fip,omitempty" json:"empty_fip,omitempty"`
// VpcId Идентификатор виртуальной приватной сети (VPC).
VpcId *openapi_types.UUID `form:"vpc_id,omitempty" json:"vpc_id,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetPublicInterfacesSvcV1InterfacesGetParams defines parameters for GetPublicInterfacesSvcV1InterfacesGet.
type GetPublicInterfacesSvcV1InterfacesGetResponse ¶
type GetPublicInterfacesSvcV1InterfacesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicInterfaceResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPublicInterfacesSvcV1InterfacesGetResponse ¶
func ParseGetPublicInterfacesSvcV1InterfacesGetResponse(rsp *http.Response) (*GetPublicInterfacesSvcV1InterfacesGetResponse, error)
ParseGetPublicInterfacesSvcV1InterfacesGetResponse parses an HTTP response from a GetPublicInterfacesSvcV1InterfacesGetWithResponse call
func (GetPublicInterfacesSvcV1InterfacesGetResponse) ContentType ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetBody ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON200 ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON200() *PaginationResponsePublicInterfaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON401 ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON403 ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON422 ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON500 ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPublicInterfacesSvcV1InterfacesGetResponse) Status ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicInterfacesSvcV1InterfacesGetResponse) StatusCode ¶
func (r GetPublicInterfacesSvcV1InterfacesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams ¶
type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `form:"project_id" json:"project_id"`
}
GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetParams defines parameters for GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGet.
type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse ¶
type GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicProjectEntityUsageResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse ¶
func ParseGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse(rsp *http.Response) (*GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse, error)
ParseGetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse parses an HTTP response from a GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetWithResponse call
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) ContentType ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetBody ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON201 ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON201() *PublicProjectEntityUsageResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON401 ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON403 ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON422 ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON500 ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) Status ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) StatusCode ¶
func (r GetPublicProjectEntityUsageSvcV1ProjectEntityUsageGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicTaskByIdSvcV1TasksTaskIdGetResponse ¶
type GetPublicTaskByIdSvcV1TasksTaskIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicTaskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]TaskNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPublicTaskByIdSvcV1TasksTaskIdGetResponse ¶
func ParseGetPublicTaskByIdSvcV1TasksTaskIdGetResponse(rsp *http.Response) (*GetPublicTaskByIdSvcV1TasksTaskIdGetResponse, error)
ParseGetPublicTaskByIdSvcV1TasksTaskIdGetResponse parses an HTTP response from a GetPublicTaskByIdSvcV1TasksTaskIdGetWithResponse call
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) ContentType ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetBody ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON200 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON200() *PublicTaskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON401 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON403 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON404 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON404() *[]TaskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON422 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON500 ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) Status ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) StatusCode ¶
func (r GetPublicTaskByIdSvcV1TasksTaskIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicTasksSvcV1TasksGetParams ¶
type GetPublicTasksSvcV1TasksGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// Name Название задачи.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// TaskId Идентификатор задачи.
TaskId *openapi_types.UUID `form:"task_id,omitempty" json:"task_id,omitempty"`
// EntityId Идентификатор ресурса.
EntityId *string `form:"entity_id,omitempty" json:"entity_id,omitempty"`
// EntityName Название сущности.
EntityName *string `form:"entity_name,omitempty" json:"entity_name,omitempty"`
// EntityType Тип сущности.
EntityType *string `form:"entity_type,omitempty" json:"entity_type,omitempty"`
// UserEmail E-mail пользователя.
UserEmail *string `form:"user_email,omitempty" json:"user_email,omitempty"`
// Status Статус задачи.
Status *TaskStatusEnum `form:"status,omitempty" json:"status,omitempty"`
// CreatedTimeStart Дата и время начала выполнения задачи.
CreatedTimeStart *time.Time `form:"created_time_start,omitempty" json:"created_time_start,omitempty"`
// CreatedTimeEnd Дата и время окончания выполнения задачи.
CreatedTimeEnd *time.Time `form:"created_time_end,omitempty" json:"created_time_end,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetPublicTasksSvcV1TasksGetParams defines parameters for GetPublicTasksSvcV1TasksGet.
type GetPublicTasksSvcV1TasksGetResponse ¶
type GetPublicTasksSvcV1TasksGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicTaskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ProjectNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetPublicTasksSvcV1TasksGetResponse ¶
func ParseGetPublicTasksSvcV1TasksGetResponse(rsp *http.Response) (*GetPublicTasksSvcV1TasksGetResponse, error)
ParseGetPublicTasksSvcV1TasksGetResponse parses an HTTP response from a GetPublicTasksSvcV1TasksGetWithResponse call
func (GetPublicTasksSvcV1TasksGetResponse) ContentType ¶
func (r GetPublicTasksSvcV1TasksGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicTasksSvcV1TasksGetResponse) GetBody ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON200 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON200() *PaginationResponsePublicTaskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON401 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON403 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON404 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON404() *[]ProjectNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON422 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) GetJSON500 ¶
func (r GetPublicTasksSvcV1TasksGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetPublicTasksSvcV1TasksGetResponse) Status ¶
func (r GetPublicTasksSvcV1TasksGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublicTasksSvcV1TasksGetResponse) StatusCode ¶
func (r GetPublicTasksSvcV1TasksGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse ¶
type GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSecurityGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse ¶
func ParseGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse(rsp *http.Response) (*GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse, error)
ParseGetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse parses an HTTP response from a GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetWithResponse call
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) ContentType ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetBody ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON200 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON200() *PublicSecurityGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON401 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON403 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON404 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON422 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON500 ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) Status ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) StatusCode ¶
func (r GetSecurityGroupByIdSvcV1SecurityGroupsSecurityGroupIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse ¶
type GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSecurityGroupRuleResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupRuleNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse ¶
func ParseGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse(rsp *http.Response) (*GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse, error)
ParseGetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse parses an HTTP response from a GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetWithResponse call
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) ContentType ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetBody ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON200 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON200() *PublicSecurityGroupRuleResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON401 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON403 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON404 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON422 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON500 ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) Status ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) StatusCode ¶
func (r GetSecurityGroupRuleByIdSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams ¶
type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams struct {
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetParams defines parameters for GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGet.
type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse ¶
type GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicSecurityGroupRuleResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse ¶
func ParseGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse(rsp *http.Response) (*GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse, error)
ParseGetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse parses an HTTP response from a GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetWithResponse call
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) ContentType ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetBody ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON200 ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON200() *PaginationResponsePublicSecurityGroupRuleResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON401 ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON403 ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON422 ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON500 ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) Status ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) StatusCode ¶
func (r GetSecurityGroupRulesBySecurityGroupIdSvcV1SecurityGroupsSecurityGroupIdRulesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams ¶
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams struct {
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `form:"availability_zone_id,omitempty" json:"availability_zone_id,omitempty"`
// Name Название группы безопасности.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Параметр сортировки списка.
OrderBy *GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParams defines parameters for GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet.
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy ¶
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy string
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy defines parameters for GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGet.
const (
GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderByCreatedTime GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy = "created_time"
)
Defines values for GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy.
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy) Valid ¶
func (e GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetParamsOrderBy enum.
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse ¶
type GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicSecurityGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse ¶
func ParseGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse(rsp *http.Response) (*GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse, error)
ParseGetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse parses an HTTP response from a GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetWithResponse call
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) ContentType ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetBody ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON200 ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON200() *PaginationResponsePublicSecurityGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON401 ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON403 ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON422 ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON500 ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) Status ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) StatusCode ¶
func (r GetSecurityGroupsByProjectIdSvcV1SecurityGroupsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse ¶
type GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSubnetResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SubnetNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSubnetByIdSvcV1SubnetsSubnetIdGetResponse ¶
func ParseGetSubnetByIdSvcV1SubnetsSubnetIdGetResponse(rsp *http.Response) (*GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse, error)
ParseGetSubnetByIdSvcV1SubnetsSubnetIdGetResponse parses an HTTP response from a GetSubnetByIdSvcV1SubnetsSubnetIdGetWithResponse call
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) ContentType ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetBody ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON200 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON200() *PublicSubnetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON401 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON403 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON404 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON422 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON500 ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) Status ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) StatusCode ¶
func (r GetSubnetByIdSvcV1SubnetsSubnetIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubnetParamsSvcV1ParamsSubnetGetParams ¶
type GetSubnetParamsSvcV1ParamsSubnetGetParams struct {
// ParamType Тип параметра.
ParamType *SubnetParamTypes `form:"param_type,omitempty" json:"param_type,omitempty"`
}
GetSubnetParamsSvcV1ParamsSubnetGetParams defines parameters for GetSubnetParamsSvcV1ParamsSubnetGet.
type GetSubnetParamsSvcV1ParamsSubnetGetResponse ¶
type GetSubnetParamsSvcV1ParamsSubnetGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ParamListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSubnetParamsSvcV1ParamsSubnetGetResponse ¶
func ParseGetSubnetParamsSvcV1ParamsSubnetGetResponse(rsp *http.Response) (*GetSubnetParamsSvcV1ParamsSubnetGetResponse, error)
ParseGetSubnetParamsSvcV1ParamsSubnetGetResponse parses an HTTP response from a GetSubnetParamsSvcV1ParamsSubnetGetWithResponse call
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) ContentType ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetBody ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON200 ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON200() *ParamListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON401 ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON403 ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON422 ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON500 ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) Status ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubnetParamsSvcV1ParamsSubnetGetResponse) StatusCode ¶
func (r GetSubnetParamsSvcV1ParamsSubnetGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSubnetsSvcV1SubnetsGetParams ¶
type GetSubnetsSvcV1SubnetsGetParams struct {
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// AvailabilityZoneIds Идентификаторы зон доступности.
AvailabilityZoneIds *[]openapi_types.UUID `form:"availability_zone_ids,omitempty" json:"availability_zone_ids,omitempty"`
// RoutedNetwork Признак маршрутизируемой подсети: true — подсеть имеет настроенные маршруты для внутренней и внешней связи, false — подсеть изолирована и не поддерживает маршрутизацию трафика за ее пределы.
RoutedNetwork *bool `form:"routed_network,omitempty" json:"routed_network,omitempty"`
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
// Name Название подсети.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// SubnetAddress CIDR-адрес подсети.
SubnetAddress *string `form:"subnet_address,omitempty" json:"subnet_address,omitempty"`
VpcId *openapi_types.UUID `form:"vpc_id,omitempty" json:"vpc_id,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Параметр сортировки списка.
OrderBy *GetSubnetsSvcV1SubnetsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки: `true` — по убыванию, `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetSubnetsSvcV1SubnetsGetParams defines parameters for GetSubnetsSvcV1SubnetsGet.
type GetSubnetsSvcV1SubnetsGetParamsOrderBy ¶
type GetSubnetsSvcV1SubnetsGetParamsOrderBy string
GetSubnetsSvcV1SubnetsGetParamsOrderBy defines parameters for GetSubnetsSvcV1SubnetsGet.
const (
GetSubnetsSvcV1SubnetsGetParamsOrderByCreatedTime GetSubnetsSvcV1SubnetsGetParamsOrderBy = "created_time"
)
Defines values for GetSubnetsSvcV1SubnetsGetParamsOrderBy.
func (GetSubnetsSvcV1SubnetsGetParamsOrderBy) Valid ¶
func (e GetSubnetsSvcV1SubnetsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the GetSubnetsSvcV1SubnetsGetParamsOrderBy enum.
type GetSubnetsSvcV1SubnetsGetResponse ¶
type GetSubnetsSvcV1SubnetsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicSubnetListItemResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetSubnetsSvcV1SubnetsGetResponse ¶
func ParseGetSubnetsSvcV1SubnetsGetResponse(rsp *http.Response) (*GetSubnetsSvcV1SubnetsGetResponse, error)
ParseGetSubnetsSvcV1SubnetsGetResponse parses an HTTP response from a GetSubnetsSvcV1SubnetsGetWithResponse call
func (GetSubnetsSvcV1SubnetsGetResponse) ContentType ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSubnetsSvcV1SubnetsGetResponse) GetBody ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSubnetsSvcV1SubnetsGetResponse) GetJSON200 ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON200() *PaginationResponsePublicSubnetListItemResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSubnetsSvcV1SubnetsGetResponse) GetJSON401 ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSubnetsSvcV1SubnetsGetResponse) GetJSON403 ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSubnetsSvcV1SubnetsGetResponse) GetJSON422 ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSubnetsSvcV1SubnetsGetResponse) GetJSON500 ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetSubnetsSvcV1SubnetsGetResponse) Status ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSubnetsSvcV1SubnetsGetResponse) StatusCode ¶
func (r GetSubnetsSvcV1SubnetsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmByIdSvcV1VmsVmIdGetResponse ¶
type GetVmByIdSvcV1VmsVmIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVmResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]VmNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetVmByIdSvcV1VmsVmIdGetResponse ¶
func ParseGetVmByIdSvcV1VmsVmIdGetResponse(rsp *http.Response) (*GetVmByIdSvcV1VmsVmIdGetResponse, error)
ParseGetVmByIdSvcV1VmsVmIdGetResponse parses an HTTP response from a GetVmByIdSvcV1VmsVmIdGetWithResponse call
func (GetVmByIdSvcV1VmsVmIdGetResponse) ContentType ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetBody ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON200 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON200() *PublicVmResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON401 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON403 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON404 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON404() *[]VmNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON422 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON500 ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVmByIdSvcV1VmsVmIdGetResponse) Status ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmByIdSvcV1VmsVmIdGetResponse) StatusCode ¶
func (r GetVmByIdSvcV1VmsVmIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse ¶
type GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ResourceUsageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse ¶
func ParseGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse(rsp *http.Response) (*GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse, error)
ParseGetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse parses an HTTP response from a GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetWithResponse call
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) ContentType ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetBody ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON200 ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON200() *ResourceUsageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON422 ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON500 ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) Status ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) StatusCode ¶
func (r GetVmDeviceUsageSvcV1VmsVmIdDeviceUsageGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmParamsSvcV1ParamsVmGetParams ¶
type GetVmParamsSvcV1ParamsVmGetParams struct {
// ParamType Тип параметра.
ParamType *VmParamTypes `form:"param_type,omitempty" json:"param_type,omitempty"`
}
GetVmParamsSvcV1ParamsVmGetParams defines parameters for GetVmParamsSvcV1ParamsVmGet.
type GetVmParamsSvcV1ParamsVmGetResponse ¶
type GetVmParamsSvcV1ParamsVmGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ParamListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetVmParamsSvcV1ParamsVmGetResponse ¶
func ParseGetVmParamsSvcV1ParamsVmGetResponse(rsp *http.Response) (*GetVmParamsSvcV1ParamsVmGetResponse, error)
ParseGetVmParamsSvcV1ParamsVmGetResponse parses an HTTP response from a GetVmParamsSvcV1ParamsVmGetWithResponse call
func (GetVmParamsSvcV1ParamsVmGetResponse) ContentType ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmParamsSvcV1ParamsVmGetResponse) GetBody ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmParamsSvcV1ParamsVmGetResponse) GetJSON200 ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON200() *ParamListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmParamsSvcV1ParamsVmGetResponse) GetJSON401 ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVmParamsSvcV1ParamsVmGetResponse) GetJSON403 ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetVmParamsSvcV1ParamsVmGetResponse) GetJSON422 ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVmParamsSvcV1ParamsVmGetResponse) GetJSON500 ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVmParamsSvcV1ParamsVmGetResponse) Status ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmParamsSvcV1ParamsVmGetResponse) StatusCode ¶
func (r GetVmParamsSvcV1ParamsVmGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmVncSvcV1VmsVmIdGetVncPostResponse ¶
type GetVmVncSvcV1VmsVmIdGetVncPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetVmVncSvcV1VmsVmIdGetVncPostResponse ¶
func ParseGetVmVncSvcV1VmsVmIdGetVncPostResponse(rsp *http.Response) (*GetVmVncSvcV1VmsVmIdGetVncPostResponse, error)
ParseGetVmVncSvcV1VmsVmIdGetVncPostResponse parses an HTTP response from a GetVmVncSvcV1VmsVmIdGetVncPostWithResponse call
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) ContentType ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetBody ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON401 ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON403 ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON422 ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON500 ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) Status ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmVncSvcV1VmsVmIdGetVncPostResponse) StatusCode ¶
func (r GetVmVncSvcV1VmsVmIdGetVncPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVmsSvcV1VmsGetParams ¶
type GetVmsSvcV1VmsGetParams struct {
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `form:"project_id" json:"project_id"`
// VmIds Фильтр по идентификаторам виртуальных машин. Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре. Идентификаторы виртуальных машин можно получить, выполнив этот же запрос без фильтрации.
VmIds *[]openapi_types.UUID `form:"vm_ids,omitempty" json:"vm_ids,omitempty"`
// TagIds Фильтр по идентификаторам тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/v1/tags`. Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре.
TagIds *[]openapi_types.UUID `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
// AvailabilityZoneIds Фильтр по зонам доступности. Идентификаторы зон доступности можно получить, выполнив запрос [GET /api/v1/availability-zones](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Availability-Zones). Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре.
AvailabilityZoneIds *[]openapi_types.UUID `form:"availability_zone_ids,omitempty" json:"availability_zone_ids,omitempty"`
// ImageIds Фильтр по образам. Идентификаторы образов можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get). Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре.
ImageIds *[]openapi_types.UUID `form:"image_ids,omitempty" json:"image_ids,omitempty"`
// FlavorIds Фильтр по флейворам. Идентификаторы флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get). Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре.
FlavorIds *[]openapi_types.UUID `form:"flavor_ids,omitempty" json:"flavor_ids,omitempty"`
// PlacementGroupIds Фильтр по группам размещения. Идентификаторы групп размещения можно получить, выполнив запрос [GET /api/v1/placement-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Placement-Groups/operation/get_placement_groups_svc_v1_placement_groups_get). Если необходимо указать несколько идентификаторов, передайте каждый из них в отдельном параметре.
PlacementGroupIds *[]openapi_types.UUID `form:"placement_group_ids,omitempty" json:"placement_group_ids,omitempty"`
// Statuses Фильтр по статусам. Каждый статус указывается отдельной строкой:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
Statuses *[]VmState `form:"statuses,omitempty" json:"statuses,omitempty"`
// Name Название виртуальной машины.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// EmptyFip Фильтр по ВМ без назначенных публичных IP-адресов:
// - `true` — ВМ без публичных IP.
// - `false` — ВМ с публичными IP.
EmptyFip *bool `form:"empty_fip,omitempty" json:"empty_fip,omitempty"`
// FreeTier Фильтр по бесплатным ВМ (free tier):
// - `true` — только бесплатные ВМ.
// - `false` — только платные ВМ.
FreeTier *bool `form:"free_tier,omitempty" json:"free_tier,omitempty"`
// SupportGpu Фильтр по ВМ с поддержкой GPU:
// - `true` — только ВМ с GPU.
// - `false` — только ВМ без GPU.
SupportGpu *bool `form:"support_gpu,omitempty" json:"support_gpu,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Максимальное количество элементов в списке.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// OrderBy Определяет параметр, по которому будут отсортированы результаты:
// - `created_time` — дата и время создания ВМ.
// - `name` — название ВМ.
OrderBy *VmOrderByFields `form:"order_by,omitempty" json:"order_by,omitempty"`
// OrderDesc Направление сортировки:
// - `true` — по убыванию.
// - `false` — по возрастанию.
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
}
GetVmsSvcV1VmsGetParams defines parameters for GetVmsSvcV1VmsGet.
type GetVmsSvcV1VmsGetResponse ¶
type GetVmsSvcV1VmsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginationResponsePublicVmResponseItem
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]AvailabilityZoneNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseGetVmsSvcV1VmsGetResponse ¶
func ParseGetVmsSvcV1VmsGetResponse(rsp *http.Response) (*GetVmsSvcV1VmsGetResponse, error)
ParseGetVmsSvcV1VmsGetResponse parses an HTTP response from a GetVmsSvcV1VmsGetWithResponse call
func (GetVmsSvcV1VmsGetResponse) ContentType ¶
func (r GetVmsSvcV1VmsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVmsSvcV1VmsGetResponse) GetBody ¶
func (r GetVmsSvcV1VmsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVmsSvcV1VmsGetResponse) GetJSON200 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON200() *PaginationResponsePublicVmResponseItem
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVmsSvcV1VmsGetResponse) GetJSON401 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetVmsSvcV1VmsGetResponse) GetJSON403 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetVmsSvcV1VmsGetResponse) GetJSON404 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON404() *[]AvailabilityZoneNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetVmsSvcV1VmsGetResponse) GetJSON422 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVmsSvcV1VmsGetResponse) GetJSON500 ¶
func (r GetVmsSvcV1VmsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetVmsSvcV1VmsGetResponse) Status ¶
func (r GetVmsSvcV1VmsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVmsSvcV1VmsGetResponse) StatusCode ¶
func (r GetVmsSvcV1VmsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
// Detail Описание ошибки.
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageAlreadyExistsExceptionSchema ¶
type ImageAlreadyExistsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ImageAlreadyExistsExceptionSchema defines model for ImageAlreadyExistsExceptionSchema.
type ImageCanNotBeDeletedFromCurrentStateExceptionSchema ¶
type ImageCanNotBeDeletedFromCurrentStateExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ImageCanNotBeDeletedFromCurrentStateExceptionSchema defines model for ImageCanNotBeDeletedFromCurrentStateExceptionSchema.
type ImageHasReferencesExceptionSchema ¶
type ImageHasReferencesExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ImageHasReferencesExceptionSchema defines model for ImageHasReferencesExceptionSchema.
type ImageMetadataCreateRequest ¶
type ImageMetadataCreateRequest struct {
// DefaultValue Значение поля по умолчанию.
DefaultValue *string `json:"default_value,omitempty"`
// DisplayGroup Название группы полей, в которую входит поле.
DisplayGroup *string `json:"display_group,omitempty"`
// DisplayName Название поля метаданных, которое отображается в интерфейсе.
DisplayName string `json:"display_name"`
// DisplayPosition Порядковый номер в списке полей метаданных.
DisplayPosition int `json:"display_position"`
// FieldType Тип поля метаданных.
FieldType MetaType `json:"field_type"`
// MandatoryGroup Название группы обязательных полей, в которую входит поле. Группа объединяет поля, среди которых одно является обязательным.
MandatoryGroup *string `json:"mandatory_group,omitempty"`
// MandatoryGroupDisplayName Название группы обязательных полей, которое отображается в интерфейсе.
MandatoryGroupDisplayName *string `json:"mandatory_group_display_name,omitempty"`
// Name Название поля метаданных.
Name string `json:"name"`
// Sensitive Если указано `true`, значение поля используется однократно при создании ВМ и не сохраняется в ее свойствах.
Sensitive *bool `json:"sensitive,omitempty"`
}
ImageMetadataCreateRequest defines model for ImageMetadataCreateRequest.
type ImageMiniResponse ¶
type ImageMiniResponse struct {
// DisplayName Отображаемое название.
DisplayName *string `json:"display_name,omitempty"`
// FreeTierEnabled Если указано `true`, образ можно использовать для бесплатной ВМ (free tier).
FreeTierEnabled bool `json:"free_tier_enabled"`
// Id Идентификатор образа.
Id string `json:"id"`
// Name Название образа.
Name string `json:"name"`
// Type Тип образа.
Type *string `json:"type,omitempty"`
}
ImageMiniResponse Образ.
type ImageNotFoundExceptionSchema ¶
type ImageNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ImageNotFoundExceptionSchema defines model for ImageNotFoundExceptionSchema.
type ImageType ¶
type ImageType string
ImageType Тип образа: - `public` — публичный; - `private` — пользовательский; - `marketplace` — из Маркетплейса.
type InterfaceAlreadyConnectedAnotherFloatingIpSchema ¶
type InterfaceAlreadyConnectedAnotherFloatingIpSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
InterfaceAlreadyConnectedAnotherFloatingIpSchema defines model for InterfaceAlreadyConnectedAnotherFloatingIpSchema.
type InterfaceExtendedLiteSchema ¶
type InterfaceExtendedLiteSchema struct {
FloatingIp InterfaceFloatingIpLiteSchema `json:"floating_ip"`
// Id Идентификатор интерфейса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []SecurityGroupLiteSchema `json:"security_groups"`
State string `json:"state"`
Subnet SubnetLiteSchema `json:"subnet"`
Type string `json:"type"`
}
InterfaceExtendedLiteSchema defines model for InterfaceExtendedLiteSchema.
type InterfaceFloatingIpLiteSchema ¶
type InterfaceFloatingIpLiteSchema struct {
// Id Идентификатор плавающего публичного IP-адреса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название.
Name string `json:"name"`
// State Статус.
State string `json:"state"`
}
InterfaceFloatingIpLiteSchema defines model for InterfaceFloatingIpLiteSchema.
type InterfaceMiniResponse ¶
type InterfaceMiniResponse struct {
// Id Идентификатор сетевого интерфейса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название сетевого интерфейса.
Name string `json:"name"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
InterfaceMiniResponse Сетевой интерфейс.
type InterfaceNotFoundExceptionSchema ¶
type InterfaceNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
InterfaceNotFoundExceptionSchema defines model for InterfaceNotFoundExceptionSchema.
type InterfaceState ¶
type InterfaceState string
InterfaceState Статус сетевого интерфейса:
- `created` — создан;
- `error` — ошибка;
- `error_creating` — ошибка создания;
- `error_deleting` — ошибка удаления;
- `creating` — создается;
- `deleting` — удаляется;
- `updating` — обновляется.
const ( InterfaceStateCreated InterfaceState = "created" InterfaceStateCreating InterfaceState = "creating" InterfaceStateDeleting InterfaceState = "deleting" InterfaceStateError InterfaceState = "error" InterfaceStateErrorCreating InterfaceState = "error_creating" InterfaceStateErrorDeleting InterfaceState = "error_deleting" InterfaceStateUpdating InterfaceState = "updating" )
Defines values for InterfaceState.
func (InterfaceState) Valid ¶
func (e InterfaceState) Valid() bool
Valid indicates whether the value is a known member of the InterfaceState enum.
type InterfaceType ¶
type InterfaceType string
InterfaceType Тип интерфейса: - `regular` — стандартный; - `system` — системный; - `service` — сервисный; - `gateway` — шлюз; - `technical` — технический; - `magic_technical` — технический для Magic Router; - `fip` — плавающий публичный IP-адрес; - `direct_ip` — прямой публичный IP-адрес.
const ( InterfaceTypeDirectIp InterfaceType = "direct_ip" InterfaceTypeFip InterfaceType = "fip" InterfaceTypeGateway InterfaceType = "gateway" InterfaceTypeMagicTechnical InterfaceType = "magic_technical" InterfaceTypeRegular InterfaceType = "regular" InterfaceTypeService InterfaceType = "service" InterfaceTypeSystem InterfaceType = "system" InterfaceTypeTechnical InterfaceType = "technical" )
Defines values for InterfaceType.
func (InterfaceType) Valid ¶
func (e InterfaceType) Valid() bool
Valid indicates whether the value is a known member of the InterfaceType enum.
type InterfaceTypeForVmCreationEnum ¶
type InterfaceTypeForVmCreationEnum string
InterfaceTypeForVmCreationEnum Тип интерфейса: - `regular` — обычный, подключение к подсети внутри платформы; - `direct_ip` — прямой публичный IP-адрес для обмена трафиком с интернетом.
Обязательный параметр.
const ( InterfaceTypeForVmCreationEnumDirectIp InterfaceTypeForVmCreationEnum = "direct_ip" InterfaceTypeForVmCreationEnumRegular InterfaceTypeForVmCreationEnum = "regular" )
Defines values for InterfaceTypeForVmCreationEnum.
func (InterfaceTypeForVmCreationEnum) Valid ¶
func (e InterfaceTypeForVmCreationEnum) Valid() bool
Valid indicates whether the value is a known member of the InterfaceTypeForVmCreationEnum enum.
type InterfaceUpdateRequest ¶
type InterfaceUpdateRequest struct {
// AllowedAddressPairs Разрешенные пары адресов.
AllowedAddressPairs *InterfaceUpdateRequest_AllowedAddressPairs `json:"allowed_address_pairs,omitempty"`
// Description Описание сетевого интерфейса.
Description *InterfaceUpdateRequest_Description `json:"description,omitempty"`
// Name Название сетевого интерфейса.
Name *InterfaceUpdateRequest_Name `json:"name,omitempty"`
// SecurityGroups Идентификаторы групп безопасности.
SecurityGroups *InterfaceUpdateRequest_SecurityGroups `json:"security_groups,omitempty"`
// SecurityGroupsNames Названия групп безопасности.
SecurityGroupsNames *InterfaceUpdateRequest_SecurityGroupsNames `json:"security_groups_names,omitempty"`
}
InterfaceUpdateRequest defines model for InterfaceUpdateRequest.
type InterfaceUpdateRequestAllowedAddressPairs0 ¶
type InterfaceUpdateRequestAllowedAddressPairs0 = []AllowedAddressPairScheme
InterfaceUpdateRequestAllowedAddressPairs0 defines model for InterfaceUpdateRequest.AllowedAddressPairs.0.
type InterfaceUpdateRequestAllowedAddressPairs1 ¶
type InterfaceUpdateRequestAllowedAddressPairs1 int
InterfaceUpdateRequestAllowedAddressPairs1 defines model for InterfaceUpdateRequest.AllowedAddressPairs.1.
const (
InterfaceUpdateRequestAllowedAddressPairs1N1 InterfaceUpdateRequestAllowedAddressPairs1 = 1
)
Defines values for InterfaceUpdateRequestAllowedAddressPairs1.
func (InterfaceUpdateRequestAllowedAddressPairs1) Valid ¶
func (e InterfaceUpdateRequestAllowedAddressPairs1) Valid() bool
Valid indicates whether the value is a known member of the InterfaceUpdateRequestAllowedAddressPairs1 enum.
type InterfaceUpdateRequestDescription0 ¶
type InterfaceUpdateRequestDescription0 = string
InterfaceUpdateRequestDescription0 defines model for InterfaceUpdateRequest.Description.0.
type InterfaceUpdateRequestDescription1 ¶
type InterfaceUpdateRequestDescription1 int
InterfaceUpdateRequestDescription1 defines model for InterfaceUpdateRequest.Description.1.
const (
InterfaceUpdateRequestDescription1N1 InterfaceUpdateRequestDescription1 = 1
)
Defines values for InterfaceUpdateRequestDescription1.
func (InterfaceUpdateRequestDescription1) Valid ¶
func (e InterfaceUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the InterfaceUpdateRequestDescription1 enum.
type InterfaceUpdateRequestName0 ¶
type InterfaceUpdateRequestName0 = string
InterfaceUpdateRequestName0 defines model for InterfaceUpdateRequest.Name.0.
type InterfaceUpdateRequestName1 ¶
type InterfaceUpdateRequestName1 int
InterfaceUpdateRequestName1 defines model for InterfaceUpdateRequest.Name.1.
const (
InterfaceUpdateRequestName1N1 InterfaceUpdateRequestName1 = 1
)
Defines values for InterfaceUpdateRequestName1.
func (InterfaceUpdateRequestName1) Valid ¶
func (e InterfaceUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the InterfaceUpdateRequestName1 enum.
type InterfaceUpdateRequestSecurityGroups0 ¶
type InterfaceUpdateRequestSecurityGroups0 = []string
InterfaceUpdateRequestSecurityGroups0 defines model for InterfaceUpdateRequest.SecurityGroups.0.
type InterfaceUpdateRequestSecurityGroups1 ¶
type InterfaceUpdateRequestSecurityGroups1 int
InterfaceUpdateRequestSecurityGroups1 defines model for InterfaceUpdateRequest.SecurityGroups.1.
const (
InterfaceUpdateRequestSecurityGroups1N1 InterfaceUpdateRequestSecurityGroups1 = 1
)
Defines values for InterfaceUpdateRequestSecurityGroups1.
func (InterfaceUpdateRequestSecurityGroups1) Valid ¶
func (e InterfaceUpdateRequestSecurityGroups1) Valid() bool
Valid indicates whether the value is a known member of the InterfaceUpdateRequestSecurityGroups1 enum.
type InterfaceUpdateRequestSecurityGroupsNames0 ¶
type InterfaceUpdateRequestSecurityGroupsNames0 = []string
InterfaceUpdateRequestSecurityGroupsNames0 defines model for InterfaceUpdateRequest.SecurityGroupsNames.0.
type InterfaceUpdateRequestSecurityGroupsNames1 ¶
type InterfaceUpdateRequestSecurityGroupsNames1 int
InterfaceUpdateRequestSecurityGroupsNames1 defines model for InterfaceUpdateRequest.SecurityGroupsNames.1.
const (
InterfaceUpdateRequestSecurityGroupsNames1N1 InterfaceUpdateRequestSecurityGroupsNames1 = 1
)
Defines values for InterfaceUpdateRequestSecurityGroupsNames1.
func (InterfaceUpdateRequestSecurityGroupsNames1) Valid ¶
func (e InterfaceUpdateRequestSecurityGroupsNames1) Valid() bool
Valid indicates whether the value is a known member of the InterfaceUpdateRequestSecurityGroupsNames1 enum.
type InterfaceUpdateRequest_AllowedAddressPairs ¶
type InterfaceUpdateRequest_AllowedAddressPairs struct {
// contains filtered or unexported fields
}
InterfaceUpdateRequest_AllowedAddressPairs Разрешенные пары адресов.
func (InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs0 ¶
func (t InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs0() (InterfaceUpdateRequestAllowedAddressPairs0, error)
AsInterfaceUpdateRequestAllowedAddressPairs0 returns the union data inside the InterfaceUpdateRequest_AllowedAddressPairs as a InterfaceUpdateRequestAllowedAddressPairs0
func (InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs1 ¶
func (t InterfaceUpdateRequest_AllowedAddressPairs) AsInterfaceUpdateRequestAllowedAddressPairs1() (InterfaceUpdateRequestAllowedAddressPairs1, error)
AsInterfaceUpdateRequestAllowedAddressPairs1 returns the union data inside the InterfaceUpdateRequest_AllowedAddressPairs as a InterfaceUpdateRequestAllowedAddressPairs1
func (*InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs0 ¶
func (t *InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs0(v InterfaceUpdateRequestAllowedAddressPairs0) error
FromInterfaceUpdateRequestAllowedAddressPairs0 overwrites any union data inside the InterfaceUpdateRequest_AllowedAddressPairs as the provided InterfaceUpdateRequestAllowedAddressPairs0
func (*InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs1 ¶
func (t *InterfaceUpdateRequest_AllowedAddressPairs) FromInterfaceUpdateRequestAllowedAddressPairs1(v InterfaceUpdateRequestAllowedAddressPairs1) error
FromInterfaceUpdateRequestAllowedAddressPairs1 overwrites any union data inside the InterfaceUpdateRequest_AllowedAddressPairs as the provided InterfaceUpdateRequestAllowedAddressPairs1
func (InterfaceUpdateRequest_AllowedAddressPairs) MarshalJSON ¶
func (t InterfaceUpdateRequest_AllowedAddressPairs) MarshalJSON() ([]byte, error)
func (*InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs0 ¶
func (t *InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs0(v InterfaceUpdateRequestAllowedAddressPairs0) error
MergeInterfaceUpdateRequestAllowedAddressPairs0 performs a merge with any union data inside the InterfaceUpdateRequest_AllowedAddressPairs, using the provided InterfaceUpdateRequestAllowedAddressPairs0
func (*InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs1 ¶
func (t *InterfaceUpdateRequest_AllowedAddressPairs) MergeInterfaceUpdateRequestAllowedAddressPairs1(v InterfaceUpdateRequestAllowedAddressPairs1) error
MergeInterfaceUpdateRequestAllowedAddressPairs1 performs a merge with any union data inside the InterfaceUpdateRequest_AllowedAddressPairs, using the provided InterfaceUpdateRequestAllowedAddressPairs1
func (*InterfaceUpdateRequest_AllowedAddressPairs) UnmarshalJSON ¶
func (t *InterfaceUpdateRequest_AllowedAddressPairs) UnmarshalJSON(b []byte) error
type InterfaceUpdateRequest_Description ¶
type InterfaceUpdateRequest_Description struct {
// contains filtered or unexported fields
}
InterfaceUpdateRequest_Description Описание сетевого интерфейса.
func (InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription0 ¶
func (t InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription0() (InterfaceUpdateRequestDescription0, error)
AsInterfaceUpdateRequestDescription0 returns the union data inside the InterfaceUpdateRequest_Description as a InterfaceUpdateRequestDescription0
func (InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription1 ¶
func (t InterfaceUpdateRequest_Description) AsInterfaceUpdateRequestDescription1() (InterfaceUpdateRequestDescription1, error)
AsInterfaceUpdateRequestDescription1 returns the union data inside the InterfaceUpdateRequest_Description as a InterfaceUpdateRequestDescription1
func (*InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription0 ¶
func (t *InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription0(v InterfaceUpdateRequestDescription0) error
FromInterfaceUpdateRequestDescription0 overwrites any union data inside the InterfaceUpdateRequest_Description as the provided InterfaceUpdateRequestDescription0
func (*InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription1 ¶
func (t *InterfaceUpdateRequest_Description) FromInterfaceUpdateRequestDescription1(v InterfaceUpdateRequestDescription1) error
FromInterfaceUpdateRequestDescription1 overwrites any union data inside the InterfaceUpdateRequest_Description as the provided InterfaceUpdateRequestDescription1
func (InterfaceUpdateRequest_Description) MarshalJSON ¶
func (t InterfaceUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription0 ¶
func (t *InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription0(v InterfaceUpdateRequestDescription0) error
MergeInterfaceUpdateRequestDescription0 performs a merge with any union data inside the InterfaceUpdateRequest_Description, using the provided InterfaceUpdateRequestDescription0
func (*InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription1 ¶
func (t *InterfaceUpdateRequest_Description) MergeInterfaceUpdateRequestDescription1(v InterfaceUpdateRequestDescription1) error
MergeInterfaceUpdateRequestDescription1 performs a merge with any union data inside the InterfaceUpdateRequest_Description, using the provided InterfaceUpdateRequestDescription1
func (*InterfaceUpdateRequest_Description) UnmarshalJSON ¶
func (t *InterfaceUpdateRequest_Description) UnmarshalJSON(b []byte) error
type InterfaceUpdateRequest_Name ¶
type InterfaceUpdateRequest_Name struct {
// contains filtered or unexported fields
}
InterfaceUpdateRequest_Name Название сетевого интерфейса.
func (InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName0 ¶
func (t InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName0() (InterfaceUpdateRequestName0, error)
AsInterfaceUpdateRequestName0 returns the union data inside the InterfaceUpdateRequest_Name as a InterfaceUpdateRequestName0
func (InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName1 ¶
func (t InterfaceUpdateRequest_Name) AsInterfaceUpdateRequestName1() (InterfaceUpdateRequestName1, error)
AsInterfaceUpdateRequestName1 returns the union data inside the InterfaceUpdateRequest_Name as a InterfaceUpdateRequestName1
func (*InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName0 ¶
func (t *InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName0(v InterfaceUpdateRequestName0) error
FromInterfaceUpdateRequestName0 overwrites any union data inside the InterfaceUpdateRequest_Name as the provided InterfaceUpdateRequestName0
func (*InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName1 ¶
func (t *InterfaceUpdateRequest_Name) FromInterfaceUpdateRequestName1(v InterfaceUpdateRequestName1) error
FromInterfaceUpdateRequestName1 overwrites any union data inside the InterfaceUpdateRequest_Name as the provided InterfaceUpdateRequestName1
func (InterfaceUpdateRequest_Name) MarshalJSON ¶
func (t InterfaceUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName0 ¶
func (t *InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName0(v InterfaceUpdateRequestName0) error
MergeInterfaceUpdateRequestName0 performs a merge with any union data inside the InterfaceUpdateRequest_Name, using the provided InterfaceUpdateRequestName0
func (*InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName1 ¶
func (t *InterfaceUpdateRequest_Name) MergeInterfaceUpdateRequestName1(v InterfaceUpdateRequestName1) error
MergeInterfaceUpdateRequestName1 performs a merge with any union data inside the InterfaceUpdateRequest_Name, using the provided InterfaceUpdateRequestName1
func (*InterfaceUpdateRequest_Name) UnmarshalJSON ¶
func (t *InterfaceUpdateRequest_Name) UnmarshalJSON(b []byte) error
type InterfaceUpdateRequest_SecurityGroups ¶
type InterfaceUpdateRequest_SecurityGroups struct {
// contains filtered or unexported fields
}
InterfaceUpdateRequest_SecurityGroups Идентификаторы групп безопасности.
func (InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups0 ¶
func (t InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups0() (InterfaceUpdateRequestSecurityGroups0, error)
AsInterfaceUpdateRequestSecurityGroups0 returns the union data inside the InterfaceUpdateRequest_SecurityGroups as a InterfaceUpdateRequestSecurityGroups0
func (InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups1 ¶
func (t InterfaceUpdateRequest_SecurityGroups) AsInterfaceUpdateRequestSecurityGroups1() (InterfaceUpdateRequestSecurityGroups1, error)
AsInterfaceUpdateRequestSecurityGroups1 returns the union data inside the InterfaceUpdateRequest_SecurityGroups as a InterfaceUpdateRequestSecurityGroups1
func (*InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups0 ¶
func (t *InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups0(v InterfaceUpdateRequestSecurityGroups0) error
FromInterfaceUpdateRequestSecurityGroups0 overwrites any union data inside the InterfaceUpdateRequest_SecurityGroups as the provided InterfaceUpdateRequestSecurityGroups0
func (*InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups1 ¶
func (t *InterfaceUpdateRequest_SecurityGroups) FromInterfaceUpdateRequestSecurityGroups1(v InterfaceUpdateRequestSecurityGroups1) error
FromInterfaceUpdateRequestSecurityGroups1 overwrites any union data inside the InterfaceUpdateRequest_SecurityGroups as the provided InterfaceUpdateRequestSecurityGroups1
func (InterfaceUpdateRequest_SecurityGroups) MarshalJSON ¶
func (t InterfaceUpdateRequest_SecurityGroups) MarshalJSON() ([]byte, error)
func (*InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups0 ¶
func (t *InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups0(v InterfaceUpdateRequestSecurityGroups0) error
MergeInterfaceUpdateRequestSecurityGroups0 performs a merge with any union data inside the InterfaceUpdateRequest_SecurityGroups, using the provided InterfaceUpdateRequestSecurityGroups0
func (*InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups1 ¶
func (t *InterfaceUpdateRequest_SecurityGroups) MergeInterfaceUpdateRequestSecurityGroups1(v InterfaceUpdateRequestSecurityGroups1) error
MergeInterfaceUpdateRequestSecurityGroups1 performs a merge with any union data inside the InterfaceUpdateRequest_SecurityGroups, using the provided InterfaceUpdateRequestSecurityGroups1
func (*InterfaceUpdateRequest_SecurityGroups) UnmarshalJSON ¶
func (t *InterfaceUpdateRequest_SecurityGroups) UnmarshalJSON(b []byte) error
type InterfaceUpdateRequest_SecurityGroupsNames ¶
type InterfaceUpdateRequest_SecurityGroupsNames struct {
// contains filtered or unexported fields
}
InterfaceUpdateRequest_SecurityGroupsNames Названия групп безопасности.
func (InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames0 ¶
func (t InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames0() (InterfaceUpdateRequestSecurityGroupsNames0, error)
AsInterfaceUpdateRequestSecurityGroupsNames0 returns the union data inside the InterfaceUpdateRequest_SecurityGroupsNames as a InterfaceUpdateRequestSecurityGroupsNames0
func (InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames1 ¶
func (t InterfaceUpdateRequest_SecurityGroupsNames) AsInterfaceUpdateRequestSecurityGroupsNames1() (InterfaceUpdateRequestSecurityGroupsNames1, error)
AsInterfaceUpdateRequestSecurityGroupsNames1 returns the union data inside the InterfaceUpdateRequest_SecurityGroupsNames as a InterfaceUpdateRequestSecurityGroupsNames1
func (*InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames0 ¶
func (t *InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames0(v InterfaceUpdateRequestSecurityGroupsNames0) error
FromInterfaceUpdateRequestSecurityGroupsNames0 overwrites any union data inside the InterfaceUpdateRequest_SecurityGroupsNames as the provided InterfaceUpdateRequestSecurityGroupsNames0
func (*InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames1 ¶
func (t *InterfaceUpdateRequest_SecurityGroupsNames) FromInterfaceUpdateRequestSecurityGroupsNames1(v InterfaceUpdateRequestSecurityGroupsNames1) error
FromInterfaceUpdateRequestSecurityGroupsNames1 overwrites any union data inside the InterfaceUpdateRequest_SecurityGroupsNames as the provided InterfaceUpdateRequestSecurityGroupsNames1
func (InterfaceUpdateRequest_SecurityGroupsNames) MarshalJSON ¶
func (t InterfaceUpdateRequest_SecurityGroupsNames) MarshalJSON() ([]byte, error)
func (*InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames0 ¶
func (t *InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames0(v InterfaceUpdateRequestSecurityGroupsNames0) error
MergeInterfaceUpdateRequestSecurityGroupsNames0 performs a merge with any union data inside the InterfaceUpdateRequest_SecurityGroupsNames, using the provided InterfaceUpdateRequestSecurityGroupsNames0
func (*InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames1 ¶
func (t *InterfaceUpdateRequest_SecurityGroupsNames) MergeInterfaceUpdateRequestSecurityGroupsNames1(v InterfaceUpdateRequestSecurityGroupsNames1) error
MergeInterfaceUpdateRequestSecurityGroupsNames1 performs a merge with any union data inside the InterfaceUpdateRequest_SecurityGroupsNames, using the provided InterfaceUpdateRequestSecurityGroupsNames1
func (*InterfaceUpdateRequest_SecurityGroupsNames) UnmarshalJSON ¶
func (t *InterfaceUpdateRequest_SecurityGroupsNames) UnmarshalJSON(b []byte) error
type IpProtocol ¶
type IpProtocol string
IpProtocol Протокол.
const ( IpProtocolAny IpProtocol = "any" IpProtocolIcmp IpProtocol = "icmp" IpProtocolTcp IpProtocol = "tcp" IpProtocolUdp IpProtocol = "udp" )
Defines values for IpProtocol.
func (IpProtocol) Valid ¶
func (e IpProtocol) Valid() bool
Valid indicates whether the value is a known member of the IpProtocol enum.
type ListBackupsResponseSchema ¶
type ListBackupsResponseSchema struct {
// Items Список резервных копий.
Items []PublicBackupResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
ListBackupsResponseSchema defines model for ListBackupsResponseSchema.
type ListBackupsSvcV1BackupsGetParams ¶
type ListBackupsSvcV1BackupsGetParams struct {
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
OrderBy *ListBackupsSvcV1BackupsGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
State *BackupState `form:"state,omitempty" json:"state,omitempty"`
TagIds *[]string `form:"tag_ids,omitempty" json:"tag_ids,omitempty"`
ResourceIds *[]string `form:"resource_ids,omitempty" json:"resource_ids,omitempty"`
ResourceTypes *[]ResourceType `form:"resource_types,omitempty" json:"resource_types,omitempty"`
ProjectId string `form:"project_id" json:"project_id"`
Type *BackupType `form:"type,omitempty" json:"type,omitempty"`
ParentFullBackupId *string `form:"parent_full_backup_id,omitempty" json:"parent_full_backup_id,omitempty"`
}
ListBackupsSvcV1BackupsGetParams defines parameters for ListBackupsSvcV1BackupsGet.
type ListBackupsSvcV1BackupsGetParamsOrderBy ¶
type ListBackupsSvcV1BackupsGetParamsOrderBy string
ListBackupsSvcV1BackupsGetParamsOrderBy defines parameters for ListBackupsSvcV1BackupsGet.
const ( ListBackupsSvcV1BackupsGetParamsOrderByCreatedAt ListBackupsSvcV1BackupsGetParamsOrderBy = "created_at" ListBackupsSvcV1BackupsGetParamsOrderByUpdatedAt ListBackupsSvcV1BackupsGetParamsOrderBy = "updated_at" )
Defines values for ListBackupsSvcV1BackupsGetParamsOrderBy.
func (ListBackupsSvcV1BackupsGetParamsOrderBy) Valid ¶
func (e ListBackupsSvcV1BackupsGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the ListBackupsSvcV1BackupsGetParamsOrderBy enum.
type ListBackupsSvcV1BackupsGetResponse ¶
type ListBackupsSvcV1BackupsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicBackupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseListBackupsSvcV1BackupsGetResponse ¶
func ParseListBackupsSvcV1BackupsGetResponse(rsp *http.Response) (*ListBackupsSvcV1BackupsGetResponse, error)
ParseListBackupsSvcV1BackupsGetResponse parses an HTTP response from a ListBackupsSvcV1BackupsGetWithResponse call
func (ListBackupsSvcV1BackupsGetResponse) ContentType ¶
func (r ListBackupsSvcV1BackupsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBackupsSvcV1BackupsGetResponse) GetBody ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBackupsSvcV1BackupsGetResponse) GetJSON200 ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetJSON200() *PublicBackupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBackupsSvcV1BackupsGetResponse) GetJSON401 ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListBackupsSvcV1BackupsGetResponse) GetJSON403 ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListBackupsSvcV1BackupsGetResponse) GetJSON422 ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListBackupsSvcV1BackupsGetResponse) GetJSON500 ¶
func (r ListBackupsSvcV1BackupsGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListBackupsSvcV1BackupsGetResponse) Status ¶
func (r ListBackupsSvcV1BackupsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupsSvcV1BackupsGetResponse) StatusCode ¶
func (r ListBackupsSvcV1BackupsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProtectionPlansResponseSchema ¶
type ListProtectionPlansResponseSchema struct {
// Items Планы резервного копирования.
Items []ProtectionPlanSchema `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit int `json:"limit"`
// Offset Количество элементов с начала списка, которые пропущены.
Offset int `json:"offset"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
ListProtectionPlansResponseSchema defines model for ListProtectionPlansResponseSchema.
type ListProtectionPlansSvcV1ProtectionPlansGetParams ¶
type ListProtectionPlansSvcV1ProtectionPlansGetParams struct {
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
OrderBy *ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
OrderDesc *bool `form:"order_desc,omitempty" json:"order_desc,omitempty"`
ProjectId string `form:"project_id" json:"project_id"`
BackupId *string `form:"backup_id,omitempty" json:"backup_id,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
// State Фильтр по статусу плана копирования.
State *ProtectionPlanState `form:"state,omitempty" json:"state,omitempty"`
ResourceIds *string `form:"resource_ids,omitempty" json:"resource_ids,omitempty"`
// ResourceTypes Фильтр по типам ресурсов, включенных в план резервного копирования:
//
// - `virtual_machine` — виртуальные машины;
// - `disk` — диски.
//
// Если необходимо указать несколько типов, передайте каждый из них в отдельном параметре.
// В ответе вернутся планы копирования, которые содержат хотя бы один из указанных типов ресурсов.
ResourceTypes *ResourceType `form:"resource_types,omitempty" json:"resource_types,omitempty"`
Type *BackupType `form:"type,omitempty" json:"type,omitempty"`
}
ListProtectionPlansSvcV1ProtectionPlansGetParams defines parameters for ListProtectionPlansSvcV1ProtectionPlansGet.
type ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy ¶
type ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy string
ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy defines parameters for ListProtectionPlansSvcV1ProtectionPlansGet.
const ( ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderByCreatedAt ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy = "created_at" ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderByUpdatedAt ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy = "updated_at" )
Defines values for ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy.
func (ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy) Valid ¶
func (e ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the ListProtectionPlansSvcV1ProtectionPlansGetParamsOrderBy enum.
type ListProtectionPlansSvcV1ProtectionPlansGetResponse ¶
type ListProtectionPlansSvcV1ProtectionPlansGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListProtectionPlansResponseSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListProtectionPlansSvcV1ProtectionPlansGetResponse ¶
func ParseListProtectionPlansSvcV1ProtectionPlansGetResponse(rsp *http.Response) (*ListProtectionPlansSvcV1ProtectionPlansGetResponse, error)
ParseListProtectionPlansSvcV1ProtectionPlansGetResponse parses an HTTP response from a ListProtectionPlansSvcV1ProtectionPlansGetWithResponse call
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) ContentType ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetBody ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON200 ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON200() *ListProtectionPlansResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON422 ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) Status ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListProtectionPlansSvcV1ProtectionPlansGetResponse) StatusCode ¶
func (r ListProtectionPlansSvcV1ProtectionPlansGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MetaType ¶
type MetaType string
MetaType Тип поля метаданных.
const ( MetaTypeEmail MetaType = "email" MetaTypeHostname MetaType = "hostname" MetaTypeInfo MetaType = "info" MetaTypeLinuxLogin MetaType = "linux_login" MetaTypeLinuxPassword MetaType = "linux_password" MetaTypePlainPassword MetaType = "plain_password" MetaTypePublicKey MetaType = "public_key" MetaTypeText MetaType = "text" )
Defines values for MetaType.
type MetadataField ¶
type MetadataField struct {
// DisplayName Отображаемое название метаданных.
DisplayName string `json:"display_name"`
// Id Идентификатор поля метаданных.
Id string `json:"id"`
// MetadataId Идентификатор метаданных.
MetadataId string `json:"metadata_id"`
// Name Системное название метаданных.
Name string `json:"name"`
// Value Значение.
Value string `json:"value"`
}
MetadataField defines model for MetadataField.
type MiniImageMetadataResponse ¶
type MiniImageMetadataResponse struct {
// DefaultValue Значение поля по умолчанию.
DefaultValue *string `json:"default_value,omitempty"`
// DisplayGroup Название группы полей, в которую входит поле.
DisplayGroup *string `json:"display_group,omitempty"`
// DisplayName Название поля метаданных, которое отображается в интерфейсе.
DisplayName string `json:"display_name"`
// DisplayPosition Порядковый номер в списке полей метаданных.
DisplayPosition int `json:"display_position"`
// FieldType Тип поля метаданных.
FieldType string `json:"field_type"`
// Id Идентификатор поля метаданных.
Id string `json:"id"`
ImageId string `json:"image_id"`
// MandatoryGroup Название группы обязательных полей, в которую входит поле. Группа объединяет поля, среди которых одно является обязательным.
MandatoryGroup *string `json:"mandatory_group,omitempty"`
// MandatoryGroupDisplayName Название группы обязательных полей, которое отображается в интерфейсе.
MandatoryGroupDisplayName *string `json:"mandatory_group_display_name,omitempty"`
// Name Название поля метаданных.
Name string `json:"name"`
// Sensitive Если указано `true`, значение поля используется однократно при создании ВМ и не сохраняется в ее свойствах.
Sensitive *bool `json:"sensitive,omitempty"`
}
MiniImageMetadataResponse defines model for MiniImageMetadataResponse.
type NATGatewayMiniResponse ¶
type NATGatewayMiniResponse struct {
// Id Идентификатор SNAT-шлюза.
Id openapi_types.UUID `json:"id"`
// Name Название SNAT-шлюза.
Name string `json:"name"`
// State Статус SNAT-шлюза.
State NATGatewayState `json:"state"`
}
NATGatewayMiniResponse SNAT-шлюз.
type NATGatewayNotFoundExceptionSchema ¶
type NATGatewayNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
NATGatewayNotFoundExceptionSchema defines model for NATGatewayNotFoundExceptionSchema.
type NATGatewayState ¶
type NATGatewayState string
NATGatewayState Статус SNAT-шлюза.
const ( NATGatewayStateCreated NATGatewayState = "created" NATGatewayStateCreating NATGatewayState = "creating" NATGatewayStateDeleting NATGatewayState = "deleting" NATGatewayStateError NATGatewayState = "error" NATGatewayStateErrorCreating NATGatewayState = "error_creating" NATGatewayStateErrorDeleting NATGatewayState = "error_deleting" NATGatewayStateUpdating NATGatewayState = "updating" )
Defines values for NATGatewayState.
func (NATGatewayState) Valid ¶
func (e NATGatewayState) Valid() bool
Valid indicates whether the value is a known member of the NATGatewayState enum.
type NATGatewayType ¶
type NATGatewayType string
NATGatewayType Тип SNAT-шлюза.
const ( NATGatewayTypeDNAT NATGatewayType = "dNAT" NATGatewayTypeDirectConnect NATGatewayType = "Direct connect" NATGatewayTypeHubAndSpokeVPN NATGatewayType = "Hub-and-Spoke VPN" NATGatewayTypeInternalSNAT NATGatewayType = "Internal sNAT" NATGatewayTypePointToSiteVPN NATGatewayType = "Point-to-Site VPN" NATGatewayTypePublicSNAT NATGatewayType = "Public sNAT" NATGatewayTypeSiteToSiteVPN NATGatewayType = "Site-to-Site VPN" NATGatewayTypeVPCPeering NATGatewayType = "VPC peering" )
Defines values for NATGatewayType.
func (NATGatewayType) Valid ¶
func (e NATGatewayType) Valid() bool
Valid indicates whether the value is a known member of the NATGatewayType enum.
type NATGatewayUpdateRequest ¶
type NATGatewayUpdateRequest struct {
// Description Описание SNAT-шлюза.
Description *NATGatewayUpdateRequest_Description `json:"description,omitempty"`
// Name Название SNAT-шлюза.
Name *NATGatewayUpdateRequest_Name `json:"name,omitempty"`
}
NATGatewayUpdateRequest defines model for NATGatewayUpdateRequest.
type NATGatewayUpdateRequestDescription0 ¶
type NATGatewayUpdateRequestDescription0 = string
NATGatewayUpdateRequestDescription0 defines model for NATGatewayUpdateRequest.Description.0.
type NATGatewayUpdateRequestDescription1 ¶
type NATGatewayUpdateRequestDescription1 int
NATGatewayUpdateRequestDescription1 defines model for NATGatewayUpdateRequest.Description.1.
const (
NATGatewayUpdateRequestDescription1N1 NATGatewayUpdateRequestDescription1 = 1
)
Defines values for NATGatewayUpdateRequestDescription1.
func (NATGatewayUpdateRequestDescription1) Valid ¶
func (e NATGatewayUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the NATGatewayUpdateRequestDescription1 enum.
type NATGatewayUpdateRequestName0 ¶
type NATGatewayUpdateRequestName0 = string
NATGatewayUpdateRequestName0 defines model for NATGatewayUpdateRequest.Name.0.
type NATGatewayUpdateRequestName1 ¶
type NATGatewayUpdateRequestName1 int
NATGatewayUpdateRequestName1 defines model for NATGatewayUpdateRequest.Name.1.
const (
NATGatewayUpdateRequestName1N1 NATGatewayUpdateRequestName1 = 1
)
Defines values for NATGatewayUpdateRequestName1.
func (NATGatewayUpdateRequestName1) Valid ¶
func (e NATGatewayUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the NATGatewayUpdateRequestName1 enum.
type NATGatewayUpdateRequest_Description ¶
type NATGatewayUpdateRequest_Description struct {
// contains filtered or unexported fields
}
NATGatewayUpdateRequest_Description Описание SNAT-шлюза.
func (NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription0 ¶
func (t NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription0() (NATGatewayUpdateRequestDescription0, error)
AsNATGatewayUpdateRequestDescription0 returns the union data inside the NATGatewayUpdateRequest_Description as a NATGatewayUpdateRequestDescription0
func (NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription1 ¶
func (t NATGatewayUpdateRequest_Description) AsNATGatewayUpdateRequestDescription1() (NATGatewayUpdateRequestDescription1, error)
AsNATGatewayUpdateRequestDescription1 returns the union data inside the NATGatewayUpdateRequest_Description as a NATGatewayUpdateRequestDescription1
func (*NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription0 ¶
func (t *NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription0(v NATGatewayUpdateRequestDescription0) error
FromNATGatewayUpdateRequestDescription0 overwrites any union data inside the NATGatewayUpdateRequest_Description as the provided NATGatewayUpdateRequestDescription0
func (*NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription1 ¶
func (t *NATGatewayUpdateRequest_Description) FromNATGatewayUpdateRequestDescription1(v NATGatewayUpdateRequestDescription1) error
FromNATGatewayUpdateRequestDescription1 overwrites any union data inside the NATGatewayUpdateRequest_Description as the provided NATGatewayUpdateRequestDescription1
func (NATGatewayUpdateRequest_Description) MarshalJSON ¶
func (t NATGatewayUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription0 ¶
func (t *NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription0(v NATGatewayUpdateRequestDescription0) error
MergeNATGatewayUpdateRequestDescription0 performs a merge with any union data inside the NATGatewayUpdateRequest_Description, using the provided NATGatewayUpdateRequestDescription0
func (*NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription1 ¶
func (t *NATGatewayUpdateRequest_Description) MergeNATGatewayUpdateRequestDescription1(v NATGatewayUpdateRequestDescription1) error
MergeNATGatewayUpdateRequestDescription1 performs a merge with any union data inside the NATGatewayUpdateRequest_Description, using the provided NATGatewayUpdateRequestDescription1
func (*NATGatewayUpdateRequest_Description) UnmarshalJSON ¶
func (t *NATGatewayUpdateRequest_Description) UnmarshalJSON(b []byte) error
type NATGatewayUpdateRequest_Name ¶
type NATGatewayUpdateRequest_Name struct {
// contains filtered or unexported fields
}
NATGatewayUpdateRequest_Name Название SNAT-шлюза.
func (NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName0 ¶
func (t NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName0() (NATGatewayUpdateRequestName0, error)
AsNATGatewayUpdateRequestName0 returns the union data inside the NATGatewayUpdateRequest_Name as a NATGatewayUpdateRequestName0
func (NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName1 ¶
func (t NATGatewayUpdateRequest_Name) AsNATGatewayUpdateRequestName1() (NATGatewayUpdateRequestName1, error)
AsNATGatewayUpdateRequestName1 returns the union data inside the NATGatewayUpdateRequest_Name as a NATGatewayUpdateRequestName1
func (*NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName0 ¶
func (t *NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName0(v NATGatewayUpdateRequestName0) error
FromNATGatewayUpdateRequestName0 overwrites any union data inside the NATGatewayUpdateRequest_Name as the provided NATGatewayUpdateRequestName0
func (*NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName1 ¶
func (t *NATGatewayUpdateRequest_Name) FromNATGatewayUpdateRequestName1(v NATGatewayUpdateRequestName1) error
FromNATGatewayUpdateRequestName1 overwrites any union data inside the NATGatewayUpdateRequest_Name as the provided NATGatewayUpdateRequestName1
func (NATGatewayUpdateRequest_Name) MarshalJSON ¶
func (t NATGatewayUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName0 ¶
func (t *NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName0(v NATGatewayUpdateRequestName0) error
MergeNATGatewayUpdateRequestName0 performs a merge with any union data inside the NATGatewayUpdateRequest_Name, using the provided NATGatewayUpdateRequestName0
func (*NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName1 ¶
func (t *NATGatewayUpdateRequest_Name) MergeNATGatewayUpdateRequestName1(v NATGatewayUpdateRequestName1) error
MergeNATGatewayUpdateRequestName1 performs a merge with any union data inside the NATGatewayUpdateRequest_Name, using the provided NATGatewayUpdateRequestName1
func (*NATGatewayUpdateRequest_Name) UnmarshalJSON ¶
func (t *NATGatewayUpdateRequest_Name) UnmarshalJSON(b []byte) error
type NoEnableAvailabilityZoneExceptionSchema ¶
type NoEnableAvailabilityZoneExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
NoEnableAvailabilityZoneExceptionSchema defines model for NoEnableAvailabilityZoneExceptionSchema.
type OrganizationLimitMiniResponse ¶
type OrganizationLimitMiniResponse struct {
// CurrentValue Текущее значение.
CurrentValue int `json:"current_value"`
// Id Идентификатор квоты.
Id string `json:"id"`
// LimitType Тип квоты.
LimitType OrganizationLimitTypeName `json:"limit_type"`
// Value Исходное значение.
Value int `json:"value"`
}
OrganizationLimitMiniResponse defines model for OrganizationLimitMiniResponse.
type OrganizationLimitTypeName ¶
type OrganizationLimitTypeName string
OrganizationLimitTypeName Тип квоты.
const ( OrganizationLimitTypeNameDisks OrganizationLimitTypeName = "disks" OrganizationLimitTypeNameDisksSize OrganizationLimitTypeName = "disks_size" OrganizationLimitTypeNameFloatingIps OrganizationLimitTypeName = "floating_ips" OrganizationLimitTypeNameGpus OrganizationLimitTypeName = "gpus" OrganizationLimitTypeNameInterfaces OrganizationLimitTypeName = "interfaces" OrganizationLimitTypeNamePublicKeys OrganizationLimitTypeName = "public_keys" OrganizationLimitTypeNameRam OrganizationLimitTypeName = "ram" OrganizationLimitTypeNameSecurityGroupRules OrganizationLimitTypeName = "security_group_rules" OrganizationLimitTypeNameSecurityGroups OrganizationLimitTypeName = "security_groups" OrganizationLimitTypeNameSubnets OrganizationLimitTypeName = "subnets" OrganizationLimitTypeNameVcpus OrganizationLimitTypeName = "vcpus" OrganizationLimitTypeNameVms OrganizationLimitTypeName = "vms" )
Defines values for OrganizationLimitTypeName.
func (OrganizationLimitTypeName) Valid ¶
func (e OrganizationLimitTypeName) Valid() bool
Valid indicates whether the value is a known member of the OrganizationLimitTypeName enum.
type OrganizationNotFoundExceptionSchema ¶
type OrganizationNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
OrganizationNotFoundExceptionSchema defines model for OrganizationNotFoundExceptionSchema.
type OutOfBoundsExceptionSchema ¶
type OutOfBoundsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
OutOfBoundsExceptionSchema defines model for OutOfBoundsExceptionSchema.
type PaginationResponseIPv4Address ¶
type PaginationResponseIPv4Address struct {
// Items Список адресов.
Items []string `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponseIPv4Address defines model for PaginationResponse_IPv4Address_.
type PaginationResponseIPv4Network ¶
type PaginationResponseIPv4Network struct {
// Items Список адресов подсетей.
Items []string `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponseIPv4Network defines model for PaginationResponse_IPv4Network_.
type PaginationResponsePublicDiskResponse ¶
type PaginationResponsePublicDiskResponse struct {
// Items Массив объектов.
Items []PublicDiskResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicDiskResponse defines model for PaginationResponse_PublicDiskResponse_.
type PaginationResponsePublicFlavorResponse ¶
type PaginationResponsePublicFlavorResponse struct {
// Items Массив объектов.
Items []PublicFlavorResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicFlavorResponse defines model for PaginationResponse_PublicFlavorResponse_.
type PaginationResponsePublicFloatingIpResponse ¶
type PaginationResponsePublicFloatingIpResponse struct {
// Items Массив объектов.
Items []PublicFloatingIpResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicFloatingIpResponse defines model for PaginationResponse_PublicFloatingIpResponse_.
type PaginationResponsePublicImageResponse ¶
type PaginationResponsePublicImageResponse struct {
// Items Массив объектов.
Items []PublicImageResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicImageResponse defines model for PaginationResponse_PublicImageResponse_.
type PaginationResponsePublicInterfaceResponse ¶
type PaginationResponsePublicInterfaceResponse struct {
// Items Массив объектов.
Items []PublicInterfaceResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicInterfaceResponse defines model for PaginationResponse_PublicInterfaceResponse_.
type PaginationResponsePublicNATGatewayResponse ¶
type PaginationResponsePublicNATGatewayResponse struct {
// Items Массив объектов.
Items []PublicNATGatewayResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicNATGatewayResponse defines model for PaginationResponse_PublicNATGatewayResponse_.
type PaginationResponsePublicPlacementGroupResponse ¶
type PaginationResponsePublicPlacementGroupResponse struct {
// Items Массив объектов.
Items []PublicPlacementGroupResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicPlacementGroupResponse defines model for PaginationResponse_PublicPlacementGroupResponse_.
type PaginationResponsePublicSecurityGroupResponse ¶
type PaginationResponsePublicSecurityGroupResponse struct {
// Items Массив объектов.
Items []PublicSecurityGroupResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicSecurityGroupResponse defines model for PaginationResponse_PublicSecurityGroupResponse_.
type PaginationResponsePublicSecurityGroupRuleResponse ¶
type PaginationResponsePublicSecurityGroupRuleResponse struct {
// Items Массив объектов.
Items []PublicSecurityGroupRuleResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicSecurityGroupRuleResponse defines model for PaginationResponse_PublicSecurityGroupRuleResponse_.
type PaginationResponsePublicSubnetListItemResponse ¶
type PaginationResponsePublicSubnetListItemResponse struct {
// Items Массив объектов.
Items []PublicSubnetListItemResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicSubnetListItemResponse defines model for PaginationResponse_PublicSubnetListItemResponse_.
type PaginationResponsePublicTaskResponse ¶
type PaginationResponsePublicTaskResponse struct {
// Items Массив объектов.
Items []PublicTaskResponse `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicTaskResponse defines model for PaginationResponse_PublicTaskResponse_.
type PaginationResponsePublicVmResponseItem ¶
type PaginationResponsePublicVmResponseItem struct {
// Items Массив объектов.
Items []PublicVmResponseItem `json:"items"`
// Limit Максимальное количество элементов в списке.
Limit *int `json:"limit,omitempty"`
// Offset Количество элементов с начала списка, которые будут пропущены.
Offset *int `json:"offset,omitempty"`
// Total Общее количество доступных элементов.
Total int `json:"total"`
}
PaginationResponsePublicVmResponseItem defines model for PaginationResponse_PublicVmResponseItem_.
type ParamListResponse ¶
type ParamListResponse struct {
// Params Список параметров.
Params []ParamResponse `json:"params"`
}
ParamListResponse defines model for ParamListResponse.
type ParamResponse ¶
type ParamResponse struct {
// DisplayText Отображаемое название.
DisplayText string `json:"display_text"`
// ParamType Тип параметра.
ParamType string `json:"param_type"`
// Value Значение.
Value string `json:"value"`
}
ParamResponse defines model for ParamResponse.
type PciDisks ¶
type PciDisks struct {
// Used Количество занятых слотов.
Used int32 `json:"used"`
}
PciDisks Количество слотов PCI, занятых дисками.
type PciGpus ¶
type PciGpus struct {
// Used Количество занятых слотов.
Used int32 `json:"used"`
}
PciGpus Количество слотов PCI, занятых графическими процесссорами.
type PciNetworkInterfaces ¶
type PciNetworkInterfaces struct {
// Used Количество занятых слотов.
Used int32 `json:"used"`
}
PciNetworkInterfaces Количество слотов PCI, занятых сетевыми интерфейсами.
type PciSerialPort ¶
type PciSerialPort struct {
// Used Количество занятых слотов.
Used int32 `json:"used"`
}
PciSerialPort Количество слотов PCI, занятых серийным портом.
type PciTotal ¶
type PciTotal struct {
// Available Количество свободных слотов.
Available int32 `json:"available"`
// Limit Общее количество доступных слотов.
Limit int32 `json:"limit"`
// Total Количество занятых слотов.
Total int32 `json:"total"`
}
PciTotal Количество слотов PCI для виртуальной машины.
type PlacementGroupAlreadyExistsExceptionSchema ¶
type PlacementGroupAlreadyExistsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
PlacementGroupAlreadyExistsExceptionSchema defines model for PlacementGroupAlreadyExistsExceptionSchema.
type PlacementGroupBadCreationParamsExceptionSchema ¶
type PlacementGroupBadCreationParamsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
PlacementGroupBadCreationParamsExceptionSchema defines model for PlacementGroupBadCreationParamsExceptionSchema.
type PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema ¶
type PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema defines model for PlacementGroupCanNotBeDeletedFromCurrentStateExceptionSchema.
type PlacementGroupLiteSchema ¶
type PlacementGroupLiteSchema struct {
// Id Идентификатор группы размещения.
Id string `json:"id"`
// Name Название группы размещения.
Name string `json:"name"`
}
PlacementGroupLiteSchema Группа размещения
type PlacementGroupMiniResponse ¶
type PlacementGroupMiniResponse struct {
// Id Идентификатор группы размещения.
Id *openapi_types.UUID `json:"id,omitempty"`
// Name Название группы размещения.
Name *string `json:"name,omitempty"`
}
PlacementGroupMiniResponse Группа размещения.
type PlacementGroupNotFoundExceptionSchema ¶
type PlacementGroupNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
PlacementGroupNotFoundExceptionSchema defines model for PlacementGroupNotFoundExceptionSchema.
type PlacementGroupPolicyEnum ¶
type PlacementGroupPolicyEnum string
PlacementGroupPolicyEnum Политика размещения.
const ( PlacementGroupPolicyEnumAntiAffinity PlacementGroupPolicyEnum = "anti-affinity" PlacementGroupPolicyEnumSoftAntiAffinity PlacementGroupPolicyEnum = "soft-anti-affinity" )
Defines values for PlacementGroupPolicyEnum.
func (PlacementGroupPolicyEnum) Valid ¶
func (e PlacementGroupPolicyEnum) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupPolicyEnum enum.
type PlacementGroupState ¶
type PlacementGroupState string
PlacementGroupState Статус группы размещения.
const ( PlacementGroupStateCreated PlacementGroupState = "created" PlacementGroupStateCreating PlacementGroupState = "creating" PlacementGroupStateDeleting PlacementGroupState = "deleting" PlacementGroupStateError PlacementGroupState = "error" PlacementGroupStateErrorCreating PlacementGroupState = "error_creating" PlacementGroupStateErrorDeleting PlacementGroupState = "error_deleting" PlacementGroupStateUpdating PlacementGroupState = "updating" )
Defines values for PlacementGroupState.
func (PlacementGroupState) Valid ¶
func (e PlacementGroupState) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupState enum.
type PlacementGroupUpdateRequest ¶
type PlacementGroupUpdateRequest struct {
// Description Описание группы размещения.
Description *PlacementGroupUpdateRequest_Description `json:"description,omitempty"`
// Name Название группы размещения.
Name *PlacementGroupUpdateRequest_Name `json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *PlacementGroupUpdateRequest_TagIds `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *PlacementGroupUpdateRequest_TagNames `json:"tag_names,omitempty"`
}
PlacementGroupUpdateRequest defines model for PlacementGroupUpdateRequest.
type PlacementGroupUpdateRequestDescription0 ¶
type PlacementGroupUpdateRequestDescription0 = string
PlacementGroupUpdateRequestDescription0 defines model for PlacementGroupUpdateRequest.Description.0.
type PlacementGroupUpdateRequestDescription1 ¶
type PlacementGroupUpdateRequestDescription1 int
PlacementGroupUpdateRequestDescription1 defines model for PlacementGroupUpdateRequest.Description.1.
const (
PlacementGroupUpdateRequestDescription1N1 PlacementGroupUpdateRequestDescription1 = 1
)
Defines values for PlacementGroupUpdateRequestDescription1.
func (PlacementGroupUpdateRequestDescription1) Valid ¶
func (e PlacementGroupUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupUpdateRequestDescription1 enum.
type PlacementGroupUpdateRequestName0 ¶
type PlacementGroupUpdateRequestName0 = string
PlacementGroupUpdateRequestName0 defines model for PlacementGroupUpdateRequest.Name.0.
type PlacementGroupUpdateRequestName1 ¶
type PlacementGroupUpdateRequestName1 int
PlacementGroupUpdateRequestName1 defines model for PlacementGroupUpdateRequest.Name.1.
const (
PlacementGroupUpdateRequestName1N1 PlacementGroupUpdateRequestName1 = 1
)
Defines values for PlacementGroupUpdateRequestName1.
func (PlacementGroupUpdateRequestName1) Valid ¶
func (e PlacementGroupUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupUpdateRequestName1 enum.
type PlacementGroupUpdateRequestTagIds0 ¶
type PlacementGroupUpdateRequestTagIds0 = []openapi_types.UUID
PlacementGroupUpdateRequestTagIds0 defines model for PlacementGroupUpdateRequest.TagIds.0.
type PlacementGroupUpdateRequestTagIds1 ¶
type PlacementGroupUpdateRequestTagIds1 int
PlacementGroupUpdateRequestTagIds1 defines model for PlacementGroupUpdateRequest.TagIds.1.
const (
PlacementGroupUpdateRequestTagIds1N1 PlacementGroupUpdateRequestTagIds1 = 1
)
Defines values for PlacementGroupUpdateRequestTagIds1.
func (PlacementGroupUpdateRequestTagIds1) Valid ¶
func (e PlacementGroupUpdateRequestTagIds1) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupUpdateRequestTagIds1 enum.
type PlacementGroupUpdateRequestTagNames0 ¶
type PlacementGroupUpdateRequestTagNames0 = []string
PlacementGroupUpdateRequestTagNames0 defines model for PlacementGroupUpdateRequest.TagNames.0.
type PlacementGroupUpdateRequestTagNames1 ¶
type PlacementGroupUpdateRequestTagNames1 int
PlacementGroupUpdateRequestTagNames1 defines model for PlacementGroupUpdateRequest.TagNames.1.
const (
PlacementGroupUpdateRequestTagNames1N1 PlacementGroupUpdateRequestTagNames1 = 1
)
Defines values for PlacementGroupUpdateRequestTagNames1.
func (PlacementGroupUpdateRequestTagNames1) Valid ¶
func (e PlacementGroupUpdateRequestTagNames1) Valid() bool
Valid indicates whether the value is a known member of the PlacementGroupUpdateRequestTagNames1 enum.
type PlacementGroupUpdateRequest_Description ¶
type PlacementGroupUpdateRequest_Description struct {
// contains filtered or unexported fields
}
PlacementGroupUpdateRequest_Description Описание группы размещения.
func (PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription0 ¶
func (t PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription0() (PlacementGroupUpdateRequestDescription0, error)
AsPlacementGroupUpdateRequestDescription0 returns the union data inside the PlacementGroupUpdateRequest_Description as a PlacementGroupUpdateRequestDescription0
func (PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription1 ¶
func (t PlacementGroupUpdateRequest_Description) AsPlacementGroupUpdateRequestDescription1() (PlacementGroupUpdateRequestDescription1, error)
AsPlacementGroupUpdateRequestDescription1 returns the union data inside the PlacementGroupUpdateRequest_Description as a PlacementGroupUpdateRequestDescription1
func (*PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription0 ¶
func (t *PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription0(v PlacementGroupUpdateRequestDescription0) error
FromPlacementGroupUpdateRequestDescription0 overwrites any union data inside the PlacementGroupUpdateRequest_Description as the provided PlacementGroupUpdateRequestDescription0
func (*PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription1 ¶
func (t *PlacementGroupUpdateRequest_Description) FromPlacementGroupUpdateRequestDescription1(v PlacementGroupUpdateRequestDescription1) error
FromPlacementGroupUpdateRequestDescription1 overwrites any union data inside the PlacementGroupUpdateRequest_Description as the provided PlacementGroupUpdateRequestDescription1
func (PlacementGroupUpdateRequest_Description) MarshalJSON ¶
func (t PlacementGroupUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription0 ¶
func (t *PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription0(v PlacementGroupUpdateRequestDescription0) error
MergePlacementGroupUpdateRequestDescription0 performs a merge with any union data inside the PlacementGroupUpdateRequest_Description, using the provided PlacementGroupUpdateRequestDescription0
func (*PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription1 ¶
func (t *PlacementGroupUpdateRequest_Description) MergePlacementGroupUpdateRequestDescription1(v PlacementGroupUpdateRequestDescription1) error
MergePlacementGroupUpdateRequestDescription1 performs a merge with any union data inside the PlacementGroupUpdateRequest_Description, using the provided PlacementGroupUpdateRequestDescription1
func (*PlacementGroupUpdateRequest_Description) UnmarshalJSON ¶
func (t *PlacementGroupUpdateRequest_Description) UnmarshalJSON(b []byte) error
type PlacementGroupUpdateRequest_Name ¶
type PlacementGroupUpdateRequest_Name struct {
// contains filtered or unexported fields
}
PlacementGroupUpdateRequest_Name Название группы размещения.
func (PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName0 ¶
func (t PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName0() (PlacementGroupUpdateRequestName0, error)
AsPlacementGroupUpdateRequestName0 returns the union data inside the PlacementGroupUpdateRequest_Name as a PlacementGroupUpdateRequestName0
func (PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName1 ¶
func (t PlacementGroupUpdateRequest_Name) AsPlacementGroupUpdateRequestName1() (PlacementGroupUpdateRequestName1, error)
AsPlacementGroupUpdateRequestName1 returns the union data inside the PlacementGroupUpdateRequest_Name as a PlacementGroupUpdateRequestName1
func (*PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName0 ¶
func (t *PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName0(v PlacementGroupUpdateRequestName0) error
FromPlacementGroupUpdateRequestName0 overwrites any union data inside the PlacementGroupUpdateRequest_Name as the provided PlacementGroupUpdateRequestName0
func (*PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName1 ¶
func (t *PlacementGroupUpdateRequest_Name) FromPlacementGroupUpdateRequestName1(v PlacementGroupUpdateRequestName1) error
FromPlacementGroupUpdateRequestName1 overwrites any union data inside the PlacementGroupUpdateRequest_Name as the provided PlacementGroupUpdateRequestName1
func (PlacementGroupUpdateRequest_Name) MarshalJSON ¶
func (t PlacementGroupUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName0 ¶
func (t *PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName0(v PlacementGroupUpdateRequestName0) error
MergePlacementGroupUpdateRequestName0 performs a merge with any union data inside the PlacementGroupUpdateRequest_Name, using the provided PlacementGroupUpdateRequestName0
func (*PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName1 ¶
func (t *PlacementGroupUpdateRequest_Name) MergePlacementGroupUpdateRequestName1(v PlacementGroupUpdateRequestName1) error
MergePlacementGroupUpdateRequestName1 performs a merge with any union data inside the PlacementGroupUpdateRequest_Name, using the provided PlacementGroupUpdateRequestName1
func (*PlacementGroupUpdateRequest_Name) UnmarshalJSON ¶
func (t *PlacementGroupUpdateRequest_Name) UnmarshalJSON(b []byte) error
type PlacementGroupUpdateRequest_TagIds ¶
type PlacementGroupUpdateRequest_TagIds struct {
// contains filtered or unexported fields
}
PlacementGroupUpdateRequest_TagIds Идентификаторы тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds0 ¶
func (t PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds0() (PlacementGroupUpdateRequestTagIds0, error)
AsPlacementGroupUpdateRequestTagIds0 returns the union data inside the PlacementGroupUpdateRequest_TagIds as a PlacementGroupUpdateRequestTagIds0
func (PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds1 ¶
func (t PlacementGroupUpdateRequest_TagIds) AsPlacementGroupUpdateRequestTagIds1() (PlacementGroupUpdateRequestTagIds1, error)
AsPlacementGroupUpdateRequestTagIds1 returns the union data inside the PlacementGroupUpdateRequest_TagIds as a PlacementGroupUpdateRequestTagIds1
func (*PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds0 ¶
func (t *PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds0(v PlacementGroupUpdateRequestTagIds0) error
FromPlacementGroupUpdateRequestTagIds0 overwrites any union data inside the PlacementGroupUpdateRequest_TagIds as the provided PlacementGroupUpdateRequestTagIds0
func (*PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds1 ¶
func (t *PlacementGroupUpdateRequest_TagIds) FromPlacementGroupUpdateRequestTagIds1(v PlacementGroupUpdateRequestTagIds1) error
FromPlacementGroupUpdateRequestTagIds1 overwrites any union data inside the PlacementGroupUpdateRequest_TagIds as the provided PlacementGroupUpdateRequestTagIds1
func (PlacementGroupUpdateRequest_TagIds) MarshalJSON ¶
func (t PlacementGroupUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
func (*PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds0 ¶
func (t *PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds0(v PlacementGroupUpdateRequestTagIds0) error
MergePlacementGroupUpdateRequestTagIds0 performs a merge with any union data inside the PlacementGroupUpdateRequest_TagIds, using the provided PlacementGroupUpdateRequestTagIds0
func (*PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds1 ¶
func (t *PlacementGroupUpdateRequest_TagIds) MergePlacementGroupUpdateRequestTagIds1(v PlacementGroupUpdateRequestTagIds1) error
MergePlacementGroupUpdateRequestTagIds1 performs a merge with any union data inside the PlacementGroupUpdateRequest_TagIds, using the provided PlacementGroupUpdateRequestTagIds1
func (*PlacementGroupUpdateRequest_TagIds) UnmarshalJSON ¶
func (t *PlacementGroupUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
type PlacementGroupUpdateRequest_TagNames ¶
type PlacementGroupUpdateRequest_TagNames struct {
// contains filtered or unexported fields
}
PlacementGroupUpdateRequest_TagNames Названия тегов.
func (PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames0 ¶
func (t PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames0() (PlacementGroupUpdateRequestTagNames0, error)
AsPlacementGroupUpdateRequestTagNames0 returns the union data inside the PlacementGroupUpdateRequest_TagNames as a PlacementGroupUpdateRequestTagNames0
func (PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames1 ¶
func (t PlacementGroupUpdateRequest_TagNames) AsPlacementGroupUpdateRequestTagNames1() (PlacementGroupUpdateRequestTagNames1, error)
AsPlacementGroupUpdateRequestTagNames1 returns the union data inside the PlacementGroupUpdateRequest_TagNames as a PlacementGroupUpdateRequestTagNames1
func (*PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames0 ¶
func (t *PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames0(v PlacementGroupUpdateRequestTagNames0) error
FromPlacementGroupUpdateRequestTagNames0 overwrites any union data inside the PlacementGroupUpdateRequest_TagNames as the provided PlacementGroupUpdateRequestTagNames0
func (*PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames1 ¶
func (t *PlacementGroupUpdateRequest_TagNames) FromPlacementGroupUpdateRequestTagNames1(v PlacementGroupUpdateRequestTagNames1) error
FromPlacementGroupUpdateRequestTagNames1 overwrites any union data inside the PlacementGroupUpdateRequest_TagNames as the provided PlacementGroupUpdateRequestTagNames1
func (PlacementGroupUpdateRequest_TagNames) MarshalJSON ¶
func (t PlacementGroupUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
func (*PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames0 ¶
func (t *PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames0(v PlacementGroupUpdateRequestTagNames0) error
MergePlacementGroupUpdateRequestTagNames0 performs a merge with any union data inside the PlacementGroupUpdateRequest_TagNames, using the provided PlacementGroupUpdateRequestTagNames0
func (*PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames1 ¶
func (t *PlacementGroupUpdateRequest_TagNames) MergePlacementGroupUpdateRequestTagNames1(v PlacementGroupUpdateRequestTagNames1) error
MergePlacementGroupUpdateRequestTagNames1 performs a merge with any union data inside the PlacementGroupUpdateRequest_TagNames, using the provided PlacementGroupUpdateRequestTagNames1
func (*PlacementGroupUpdateRequest_TagNames) UnmarshalJSON ¶
func (t *PlacementGroupUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
type ProjectEntityUsageSection ¶
type ProjectEntityUsageSection struct {
// Disks Количество дисков.
Disks *int `json:"disks,omitempty"`
// DisksSize Размер дисков.
DisksSize *int `json:"disks_size,omitempty"`
// FloatingIps Количество публичных IP-адресов.
FloatingIps *int `json:"floating_ips,omitempty"`
// Gpus Количество GPU.
Gpus *int `json:"gpus,omitempty"`
// Interfaces Количество сетевых интерфейсов.
Interfaces *int `json:"interfaces,omitempty"`
// PublicKeys Количество публичных SSH-ключей.
PublicKeys *int `json:"public_keys,omitempty"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram *int `json:"ram,omitempty"`
// SecurityGroupRules Количество правил групп безопасности.
SecurityGroupRules *int `json:"security_group_rules,omitempty"`
// SecurityGroups Количество групп безопасности.
SecurityGroups *int `json:"security_groups,omitempty"`
// Subnets Количество подсетей.
Subnets *int `json:"subnets,omitempty"`
// Vcpus Количество vCPU.
Vcpus *int `json:"vcpus,omitempty"`
// Vms Количество виртуальных машин.
Vms *int `json:"vms,omitempty"`
}
ProjectEntityUsageSection Ресурсы.
type ProjectHasNoVpcExceptionSchema ¶
type ProjectHasNoVpcExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ProjectHasNoVpcExceptionSchema defines model for ProjectHasNoVpcExceptionSchema.
type ProjectLiteSchema ¶
type ProjectLiteSchema struct {
// Id Идентификатор.
Id string `json:"id"`
// ProductInstanceId Идентификатор инстанса продукта.
ProductInstanceId string `json:"product_instance_id"`
}
ProjectLiteSchema Проект.
type ProjectMiniResponse ¶
type ProjectMiniResponse struct {
// Id Идентификатор проекта.
Id string `json:"id"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId string `json:"product_instance_id"`
}
ProjectMiniResponse Проект.
type ProjectNotFoundExceptionSchema ¶
type ProjectNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ProjectNotFoundExceptionSchema defines model for ProjectNotFoundExceptionSchema.
type ProjectPermissionsResponse ¶
type ProjectPermissionsResponse struct {
// Id Идентификатор проекта.
Id string `json:"id"`
// OrganizationId Идентификатор организации.
OrganizationId string `json:"organization_id"`
// Permissions Список ролей.
Permissions []string `json:"permissions"`
// ProductInstanceId Идентификатор экземпляра продукта, связанного с проектом.
ProductInstanceId string `json:"product_instance_id"`
}
ProjectPermissionsResponse defines model for ProjectPermissionsResponse.
type ProjectPriceRequest ¶
type ProjectPriceRequest struct {
// Disks Диски.
Disks *[]UnderscoreDisksCount `json:"disks,omitempty"`
// FlavorId Идентификатор флейвора.
FlavorId *string `json:"flavor_id,omitempty"`
// FloatingIps Публичные IP-адреса.
FloatingIps *[]UnderscoreFipCount `json:"floating_ips,omitempty"`
// ImageId Идентификатор образа.
ImageId *string `json:"image_id,omitempty"`
// NatGateways SNAT-шлюзы.
NatGateways *[]UnderscoreNatGatewaysCount `json:"nat_gateways,omitempty"`
// TotalCount Количество ресурсов.
TotalCount int `json:"total_count"`
}
ProjectPriceRequest defines model for ProjectPriceRequest.
type ProjectPriceResponse ¶
type ProjectPriceResponse struct {
// Disks Плата за диски.
Disks float32 `json:"disks"`
// Flavor Плата за флейворы.
Flavor float32 `json:"flavor"`
// FloatingIps Плата за публичные адреса.
FloatingIps float32 `json:"floating_ips"`
// Image Плата за образы.
Image float32 `json:"image"`
// NatGateways Плата за SNAT-шлюзы.
NatGateways float32 `json:"nat_gateways"`
// TotalPriceHour Итоговая сумма за час.
TotalPriceHour float32 `json:"total_price_hour"`
// TotalPriceMonth Итоговая сумма за месяц.
TotalPriceMonth float32 `json:"total_price_month"`
}
ProjectPriceResponse defines model for ProjectPriceResponse.
type ProjectState ¶
type ProjectState string
ProjectState Статус проекта
const ( ProjectStateCreated ProjectState = "created" ProjectStateCreating ProjectState = "creating" ProjectStateDeleting ProjectState = "deleting" ProjectStateError ProjectState = "error" ProjectStateErrorCreating ProjectState = "error_creating" ProjectStateErrorDeleting ProjectState = "error_deleting" ProjectStateUpdating ProjectState = "updating" )
Defines values for ProjectState.
func (ProjectState) Valid ¶
func (e ProjectState) Valid() bool
Valid indicates whether the value is a known member of the ProjectState enum.
type ProjectValidateNameResponse ¶
type ProjectValidateNameResponse = []ProjectValidateNameResponseSection
ProjectValidateNameResponse defines model for ProjectValidateNameResponse.
type ProjectValidateNameResponseSection ¶
type ProjectValidateNameResponseSection struct {
// Available Доступность названия.
Available bool `json:"available"`
// Name Проверяемое название.
Name string `json:"name"`
}
ProjectValidateNameResponseSection defines model for ProjectValidateNameResponseSection.
type ProtectionPlanLiteSchema ¶
type ProtectionPlanLiteSchema struct {
// Id Идентификатор плана резервного копирования.
Id string `json:"id"`
// Name Название плана резервного копирования.
Name string `json:"name"`
// State Статус плана резервного копирования:
//
// - “creating“ — план создается;
// - “created“ — план создан;
// - “error_creating“ — ошибка создания;
// - “updating“ — план обновляется;
// - “error“ — ошибка;
// - “deleting“ — план удаляется;
// - “error_deleting“ — ошибка удаления.
State ProtectionPlanState `json:"state"`
}
ProtectionPlanLiteSchema План резервного копирования.
type ProtectionPlanResourceRequestSchema ¶
type ProtectionPlanResourceRequestSchema struct {
// ResourceId Идентификатор ресурса: диска или виртуальной машины.
ResourceId string `json:"resource_id"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
ProtectionPlanResourceRequestSchema defines model for ProtectionPlanResourceRequestSchema.
type ProtectionPlanResourceResponseSchema ¶
type ProtectionPlanResourceResponseSchema struct {
// AvailabilityZoneId Идентификатор зоны доступности, в которой расположены ресурсы плана.
AvailabilityZoneId string `json:"availability_zone_id"`
// ResourceId Идентификатор ресурса, включенного в план резервного копирования.
ResourceId string `json:"resource_id"`
// ResourceName Название ресурса, включенного в план резервного копирования.
ResourceName *string `json:"resource_name,omitempty"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
ProtectionPlanResourceResponseSchema defines model for ProtectionPlanResourceResponseSchema.
type ProtectionPlanScheduleRequestSchema ¶
type ProtectionPlanScheduleRequestSchema struct {
// BackupMode Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
BackupMode *BackupType `json:"backup_mode,omitempty"`
// DaysOfMonth Дни месяца, по которым будет выполняться копирование.
DaysOfMonth *[]int `json:"days_of_month,omitempty"`
// DaysOfWeek Дни недели, по которым будет выполняться копирование.
DaysOfWeek *[]int `json:"days_of_week,omitempty"`
// Enabled Если “true“ — расписание активное и выполняется, если “false“ — расписание отключено и не выполняется.
Enabled bool `json:"enabled"`
// EndTime Дата и время последнего запуска копирования по расписанию.
EndTime *time.Time `json:"end_time,omitempty"`
// MaxBackups Максимальное количество копий одного ресурса, которые могут храниться в сервисе.
// Если количество созданных копий превышает этот параметр, перед созданием новой копии будет удалена самая старая из созданных копий.
// Если указано значение “null“, все созданные копии хранятся бессрочно.
//
// Если указаны оба параметра “max_backups“ и “retention_policy“, первым учитывается “max_backups“.
MaxBackups *int `json:"max_backups,omitempty"`
// Months Месяцы, по которым будет выполняться копирование.
Months *[]int `json:"months,omitempty"`
// RetentionPolicy Срок хранения резервной копии в сервисе.
// Указывается количество дней с момента создания копии.
// Если указано значение “null“, копия хранится бессрочно.
//
// Если указаны оба параметра “max_backups“ и “retention_policy“, первым учитывается “max_backups“.
RetentionPolicy *int `json:"retention_policy,omitempty"`
// StartTime Дата и время первого запуска копирования по расписанию.
StartTime time.Time `json:"start_time"`
}
ProtectionPlanScheduleRequestSchema defines model for ProtectionPlanScheduleRequestSchema.
type ProtectionPlanScheduleResponseSchema ¶
type ProtectionPlanScheduleResponseSchema struct {
// BackupMode Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
BackupMode BackupType `json:"backup_mode"`
// DaysOfMonth Дни месяца, по которым будет выполняться копирование.
DaysOfMonth []int `json:"days_of_month"`
// DaysOfWeek Дни недели, по которым будет выполняться копирование.
DaysOfWeek []int `json:"days_of_week"`
// Enabled Если “true“ — расписание активное и выполняется, если “false“ — расписание отключено и не выполняется.
Enabled bool `json:"enabled"`
// EndTime Дата и время последнего запуска копирования по расписанию, если указано.
EndTime *time.Time `json:"end_time,omitempty"`
// MaxBackups Максимальное количество копий одного ресурса, которые могут храниться в сервисе.
// Если количество созданных копий превышает этот параметр, перед созданием новой копии будет удалена самая старая из созданных копий.
// Если указано значение “null“, все созданные копии хранятся бессрочно.
//
// Если указаны оба параметра “max_backups“ и “retention_policy“, первым учитывается “max_backups“.
MaxBackups *int `json:"max_backups,omitempty"`
// Months Месяцы, по которым будет выполняться копирование.
Months []int `json:"months"`
// RetentionPolicy Срок хранения резервной копии в сервисе.
// Указывается количество дней с момента создания копии.
// Если указано значение “null“, копия хранится бессрочно.
//
// Если указаны оба параметра “max_backups“ и “retention_policy“, первым учитывается “max_backups“.
RetentionPolicy *int `json:"retention_policy,omitempty"`
// StartTime Дата и время первого запуска копирования по расписанию.
StartTime time.Time `json:"start_time"`
}
ProtectionPlanScheduleResponseSchema defines model for ProtectionPlanScheduleResponseSchema.
type ProtectionPlanSchema ¶
type ProtectionPlanSchema struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneLiteSchema `json:"availability_zone"`
// Backups Резервные копии плана.
Backups []BackupLiteSchema `json:"backups"`
// CreatedAt Дата и время создания плана резервного копирования.
CreatedAt time.Time `json:"created_at"`
// Description Описание плана резервного копирования.
Description *string `json:"description,omitempty"`
// ExecutionType Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
ExecutionType *BackupType `json:"execution_type,omitempty"`
// Id Идентификатор плана резервного копирования.
Id string `json:"id"`
// Name Название плана резервного копирования.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resources Ресурсы, включенные в план.
Resources []ProtectionPlanResourceResponseSchema `json:"resources"`
// Schedules Расписание плана резервного копирования.
Schedules []ProtectionPlanScheduleResponseSchema `json:"schedules"`
// State Статус плана резервного копирования:
//
// - “creating“ — план создается;
// - “created“ — план создан;
// - “error_creating“ — ошибка создания;
// - “updating“ — план обновляется;
// - “error“ — ошибка;
// - “deleting“ — план удаляется;
// - “error_deleting“ — ошибка удаления.
State ProtectionPlanState `json:"state"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type *BackupType `json:"type,omitempty"`
// UpdatedAt Дата и время обновления плана резервного копирования.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ProtectionPlanSchema defines model for ProtectionPlanSchema.
type ProtectionPlanState ¶
type ProtectionPlanState string
ProtectionPlanState Статус плана резервного копирования:
- “creating“ — план создается; - “created“ — план создан; - “error_creating“ — ошибка создания; - “updating“ — план обновляется; - “error“ — ошибка; - “deleting“ — план удаляется; - “error_deleting“ — ошибка удаления.
const ( ProtectionPlanStateCreated ProtectionPlanState = "created" ProtectionPlanStateCreating ProtectionPlanState = "creating" ProtectionPlanStateDeleting ProtectionPlanState = "deleting" ProtectionPlanStateError ProtectionPlanState = "error" ProtectionPlanStateErrorCreating ProtectionPlanState = "error_creating" ProtectionPlanStateErrorDeleting ProtectionPlanState = "error_deleting" ProtectionPlanStateUpdating ProtectionPlanState = "updating" )
Defines values for ProtectionPlanState.
func (ProtectionPlanState) Valid ¶
func (e ProtectionPlanState) Valid() bool
Valid indicates whether the value is a known member of the ProtectionPlanState enum.
type PublicAvailabilityZoneDiskTypeResponse ¶
type PublicAvailabilityZoneDiskTypeResponse struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName string `json:"availability_zone_name"`
// Default `true` - является зоной доступности по умолчанию, `false` - не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled bool `json:"enabled"`
}
PublicAvailabilityZoneDiskTypeResponse defines model for PublicAvailabilityZoneDiskTypeResponse.
type PublicAvailabilityZoneFlavorResponse ¶
type PublicAvailabilityZoneFlavorResponse struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName string `json:"availability_zone_name"`
// Default `true` - является зоной доступности по умолчанию, `false` - не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled bool `json:"enabled"`
// State Статус флейвора.
State FlavorState `json:"state"`
}
PublicAvailabilityZoneFlavorResponse defines model for PublicAvailabilityZoneFlavorResponse.
type PublicAvailabilityZoneImageCreateRequest ¶
type PublicAvailabilityZoneImageCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled *bool `json:"enabled,omitempty"`
}
PublicAvailabilityZoneImageCreateRequest defines model for PublicAvailabilityZoneImageCreateRequest.
type PublicAvailabilityZoneImageResponse ¶
type PublicAvailabilityZoneImageResponse struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName string `json:"availability_zone_name"`
// Default `true` — является зоной доступности по умолчанию, `false` — не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Enabled Указывает, включена ли зона доступности: `true` — включена, `false` — выключена.
Enabled bool `json:"enabled"`
// Size Размер пользовательского образа в ГБ.
Size int `json:"size"`
// State Статус образа в зоне доступности.
State string `json:"state"`
}
PublicAvailabilityZoneImageResponse defines model for PublicAvailabilityZoneImageResponse.
type PublicAvailabilityZoneImageUpdateRequest ¶
type PublicAvailabilityZoneImageUpdateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName `json:"availability_zone_name,omitempty"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled *PublicAvailabilityZoneImageUpdateRequest_Enabled `json:"enabled,omitempty"`
}
PublicAvailabilityZoneImageUpdateRequest defines model for PublicAvailabilityZoneImageUpdateRequest.
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 ¶
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 = string
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 defines model for PublicAvailabilityZoneImageUpdateRequest.AvailabilityZoneId.0.
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 ¶
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 int
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 defines model for PublicAvailabilityZoneImageUpdateRequest.AvailabilityZoneId.1.
const (
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1N1 PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 = 1
)
Defines values for PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1.
func (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) Valid ¶
func (e PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) Valid() bool
Valid indicates whether the value is a known member of the PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 enum.
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 ¶
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 = string
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 defines model for PublicAvailabilityZoneImageUpdateRequest.AvailabilityZoneName.0.
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 ¶
type PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 int
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 defines model for PublicAvailabilityZoneImageUpdateRequest.AvailabilityZoneName.1.
const (
PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1N1 PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 = 1
)
Defines values for PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1.
func (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) Valid ¶
func (e PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) Valid() bool
Valid indicates whether the value is a known member of the PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 enum.
type PublicAvailabilityZoneImageUpdateRequestEnabled0 ¶
type PublicAvailabilityZoneImageUpdateRequestEnabled0 = bool
PublicAvailabilityZoneImageUpdateRequestEnabled0 defines model for PublicAvailabilityZoneImageUpdateRequest.Enabled.0.
type PublicAvailabilityZoneImageUpdateRequestEnabled1 ¶
type PublicAvailabilityZoneImageUpdateRequestEnabled1 int
PublicAvailabilityZoneImageUpdateRequestEnabled1 defines model for PublicAvailabilityZoneImageUpdateRequest.Enabled.1.
const (
PublicAvailabilityZoneImageUpdateRequestEnabled1N1 PublicAvailabilityZoneImageUpdateRequestEnabled1 = 1
)
Defines values for PublicAvailabilityZoneImageUpdateRequestEnabled1.
func (PublicAvailabilityZoneImageUpdateRequestEnabled1) Valid ¶
func (e PublicAvailabilityZoneImageUpdateRequestEnabled1) Valid() bool
Valid indicates whether the value is a known member of the PublicAvailabilityZoneImageUpdateRequestEnabled1 enum.
type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId ¶
type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId struct {
// contains filtered or unexported fields
}
PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId Идентификатор зоны доступности.
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0, error)
AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId as a PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1, error)
AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId as a PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0) error
FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId as the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) error
FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId as the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MarshalJSON ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MarshalJSON() ([]byte, error)
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0) error
MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId, using the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId0
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1) error
MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId, using the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneId1
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) UnmarshalJSON ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneId) UnmarshalJSON(b []byte) error
type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName ¶
type PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName struct {
// contains filtered or unexported fields
}
PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName Название зоны доступности.
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0, error)
AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName as a PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1() (PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1, error)
AsPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName as a PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0) error
FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName as the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) error
FromPublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName as the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1
func (PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MarshalJSON ¶
func (t PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MarshalJSON() ([]byte, error)
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0) error
MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName, using the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName0
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1(v PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1) error
MergePublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName, using the provided PublicAvailabilityZoneImageUpdateRequestAvailabilityZoneName1
func (*PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) UnmarshalJSON ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_AvailabilityZoneName) UnmarshalJSON(b []byte) error
type PublicAvailabilityZoneImageUpdateRequest_Enabled ¶
type PublicAvailabilityZoneImageUpdateRequest_Enabled struct {
// contains filtered or unexported fields
}
PublicAvailabilityZoneImageUpdateRequest_Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
func (PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled0 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled0() (PublicAvailabilityZoneImageUpdateRequestEnabled0, error)
AsPublicAvailabilityZoneImageUpdateRequestEnabled0 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled as a PublicAvailabilityZoneImageUpdateRequestEnabled0
func (PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled1 ¶
func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) AsPublicAvailabilityZoneImageUpdateRequestEnabled1() (PublicAvailabilityZoneImageUpdateRequestEnabled1, error)
AsPublicAvailabilityZoneImageUpdateRequestEnabled1 returns the union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled as a PublicAvailabilityZoneImageUpdateRequestEnabled1
func (*PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled0(v PublicAvailabilityZoneImageUpdateRequestEnabled0) error
FromPublicAvailabilityZoneImageUpdateRequestEnabled0 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled as the provided PublicAvailabilityZoneImageUpdateRequestEnabled0
func (*PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) FromPublicAvailabilityZoneImageUpdateRequestEnabled1(v PublicAvailabilityZoneImageUpdateRequestEnabled1) error
FromPublicAvailabilityZoneImageUpdateRequestEnabled1 overwrites any union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled as the provided PublicAvailabilityZoneImageUpdateRequestEnabled1
func (PublicAvailabilityZoneImageUpdateRequest_Enabled) MarshalJSON ¶
func (t PublicAvailabilityZoneImageUpdateRequest_Enabled) MarshalJSON() ([]byte, error)
func (*PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled0 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled0(v PublicAvailabilityZoneImageUpdateRequestEnabled0) error
MergePublicAvailabilityZoneImageUpdateRequestEnabled0 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled, using the provided PublicAvailabilityZoneImageUpdateRequestEnabled0
func (*PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled1 ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) MergePublicAvailabilityZoneImageUpdateRequestEnabled1(v PublicAvailabilityZoneImageUpdateRequestEnabled1) error
MergePublicAvailabilityZoneImageUpdateRequestEnabled1 performs a merge with any union data inside the PublicAvailabilityZoneImageUpdateRequest_Enabled, using the provided PublicAvailabilityZoneImageUpdateRequestEnabled1
func (*PublicAvailabilityZoneImageUpdateRequest_Enabled) UnmarshalJSON ¶
func (t *PublicAvailabilityZoneImageUpdateRequest_Enabled) UnmarshalJSON(b []byte) error
type PublicAvailabilityZonePlacementGroupResponse ¶
type PublicAvailabilityZonePlacementGroupResponse struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName string `json:"availability_zone_name"`
// MaxVmCount Максимальное количество ВМ.
MaxVmCount int `json:"max_vm_count"`
// State Статус группы размещения.
State PlacementGroupState `json:"state"`
// VmCount Количество ВМ.
VmCount *int `json:"vm_count,omitempty"`
}
PublicAvailabilityZonePlacementGroupResponse defines model for PublicAvailabilityZonePlacementGroupResponse.
type PublicAvailabilityZoneResponse ¶
type PublicAvailabilityZoneResponse struct {
// Default `true` - является зоной доступности по умолчанию, `false` - не является зоной доступности по умолчанию.
Default bool `json:"default"`
// Description Описание зоны доступности.
Description string `json:"description"`
// DisplayName Отображаемое название зоны доступности.
DisplayName string `json:"display_name"`
// Enabled Указывает, включена ли зона доступности: `true` - включена, `false` - выключена.
Enabled bool `json:"enabled"`
// Id Идентификатор зоны доступности.
Id string `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
// ShortName Краткое название зоны доступности.
ShortName string `json:"short_name"`
}
PublicAvailabilityZoneResponse defines model for PublicAvailabilityZoneResponse.
type PublicAvailabilityZoneSettings ¶
type PublicAvailabilityZoneSettings struct {
// SerialConsoleEnabled Если `true`, для ВМ в этой зоне будет доступна серийная консоль управления.
SerialConsoleEnabled *string `json:"serial_console_enabled,omitempty"`
// VncConsoleEnabled Если `true`, для ВМ в этой зоне будет доступна виртуальная консоль управления.
VncConsoleEnabled *string `json:"vnc_console_enabled,omitempty"`
}
PublicAvailabilityZoneSettings Настройки зоны доступности.
type PublicAvailabilityZoneSettingsResponse ¶
type PublicAvailabilityZoneSettingsResponse struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId string `json:"availability_zone_id"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName string `json:"availability_zone_name"`
// Settings Настройки зоны доступности.
Settings PublicAvailabilityZoneSettings `json:"settings"`
}
PublicAvailabilityZoneSettingsResponse defines model for PublicAvailabilityZoneSettingsResponse.
type PublicBackupResponse ¶
type PublicBackupResponse struct {
// CreatedAt Дата и время создания.
CreatedAt time.Time `json:"created_at"`
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии.
Id string `json:"id"`
// Name Название резервной копии.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resource Ресурс.
Resource BackupResourceResponse `json:"resource"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State CheckpointState `json:"state"`
// Tags Теги.
Tags *[]BackupTagMiniResponse `json:"tags,omitempty"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время изменения.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
PublicBackupResponse defines model for PublicBackupResponse.
type PublicCreateBackupRequest ¶
type PublicCreateBackupRequest struct {
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resource Ресурс.
Resource BackupResourceRequest `json:"resource"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicCreateBackupRequest defines model for PublicCreateBackupRequest.
type PublicDiskCreateRequest ¶
type PublicDiskCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Description Описание диска.
Description *string `json:"description,omitempty"`
// DiskTypeId Идентификатор типа диска.
DiskTypeId *string `json:"disk_type_id,omitempty"`
// DiskTypeName Название типа диска.
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Encrypted Признак зашифрованного диска.
Encrypted *bool `json:"encrypted,omitempty"`
// Name Название диска.
Name string `json:"name"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `json:"project_id"`
// Readonly Признак диска только для чтения.
Readonly *bool `json:"readonly,omitempty"`
Shared *bool `json:"shared,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicDiskCreateRequest defines model for PublicDiskCreateRequest.
type PublicDiskResponse ¶
type PublicDiskResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// Bootable Признак загрузочного диска.
Bootable bool `json:"bootable"`
// CreatedTime Дата и время создания диска.
CreatedTime time.Time `json:"created_time"`
// Description Описание диска.
Description string `json:"description"`
// DiskType Тип диска.
DiskType DiskTypeMiniResponse `json:"disk_type"`
// Encrypted Признак зашифрованного диска.
Encrypted bool `json:"encrypted"`
// Id Идентификатор диска.
Id string `json:"id"`
// ModifiedTime Дата и время изменения диска.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название диска.
Name string `json:"name"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// Readonly Признак диска только для чтения.
Readonly bool `json:"readonly"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
Shared bool `json:"shared"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска:
// - `available` — доступен;
// - `in_use` — используется;
// - `reserved` — зарезервирован;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `updating` — обновляется;
// - `deleting` — удаляется;
// - `attaching` — подключается;
// - `detaching` — отключается.
State DiskState `json:"state"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
// Vms Виртуальные машины.
Vms []VmsBlockResponse `json:"vms"`
}
PublicDiskResponse defines model for PublicDiskResponse.
type PublicDiskTypeResponse ¶
type PublicDiskTypeResponse struct {
// AvailabilityZones Зоны доступности.
AvailabilityZones []PublicAvailabilityZoneDiskTypeResponse `json:"availability_zones"`
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier bool `json:"free_tier"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// MaxSize Максимальный размер диска в ГБ.
MaxSize int `json:"max_size"`
// MinSize Минимальный размер диска в ГБ.
MinSize int `json:"min_size"`
// Name Название типа диска.
Name string `json:"name"`
// SpeedLimits Ограничения скорости.
SpeedLimits []SpeedLimit `json:"speed_limits"`
}
PublicDiskTypeResponse defines model for PublicDiskTypeResponse.
type PublicDiskUpdateRequest ¶
type PublicDiskUpdateRequest struct {
// Description Описание диска.
Description *string `json:"description,omitempty"`
// Encrypted Признак зашифрованного диска.
Encrypted *bool `json:"encrypted,omitempty"`
// Name Название диска.
Name *string `json:"name,omitempty"`
// Readonly Признак диска только для чтения.
Readonly *bool `json:"readonly,omitempty"`
Shared *bool `json:"shared,omitempty"`
// Size Размер диска в ГБ.
Size *int `json:"size,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicDiskUpdateRequest defines model for PublicDiskUpdateRequest.
type PublicFlavorResponse ¶
type PublicFlavorResponse struct {
// AssuredBandwidth Гарантированная полоса пропускания сетевых интерфейсов виртуальной машины в Мбит/с. Если указано `0`, параметр не используется.
AssuredBandwidth int `json:"assured_bandwidth"`
// AvailabilityZones Зоны доступности, в которых доступен флейвор.
AvailabilityZones []PublicAvailabilityZoneFlavorResponse `json:"availability_zones"`
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// Description Описание флейвора.
Description string `json:"description"`
// FlavorType Тип флейвора.
FlavorType *PublicFlavorTypeResponse `json:"flavor_type,omitempty"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id string `json:"id"`
// MaximumBandwidth Максимальная полоса пропускания сетевых интерфейсов виртуальной машины в Мбит/с. Если указано `0`, параметр не используется.
MaximumBandwidth int `json:"maximum_bandwidth"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// PciDeviceAvailable Количество свободных слотов PCI.
PciDeviceAvailable *int `json:"pci_device_available,omitempty"`
// PciDeviceLimit Количество доступных [слотов PCI](https://cloud.ru/docs/virtual-machines/ug/topics/concepts__flavors#concepts-flavors-pci) для подключения виртуальных устройств.
PciDeviceLimit *int `json:"pci_device_limit,omitempty"`
// Pps Количество пакетов в секунду, которое может получать виртуальная машина. Если указано `0`, параметр не используется.
Pps int `json:"pps"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
// Type Название типа флейвора. Используется для обратной совместимости и соответствует значению поля `old_name` объекта `flavor_type`.
Type string `json:"type"`
}
PublicFlavorResponse defines model for PublicFlavorResponse.
type PublicFlavorTypeResponse ¶
type PublicFlavorTypeResponse struct {
// CpuType Модель процессора.
CpuType string `json:"cpu_type"`
// Description Описание типа флейвора.
Description string `json:"description"`
// DisplayName Название типа флейвора, которое отображается в графическом интерфейсе.
DisplayName string `json:"display_name"`
// GpuType Модель графического процессора.
GpuType string `json:"gpu_type"`
// Id Идентификатор типа флейвора.
Id string `json:"id"`
// IsSpot Если указано `true`, тип флейвора поддерживает создание прерываемых виртуальных машин.
IsSpot bool `json:"is_spot"`
// Name Системное название типа флейвора.
Name string `json:"name"`
// OldName Системное название типа флейвора. Используется для обратной совместимости и соответствует значению поля `type`.
OldName string `json:"old_name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
}
PublicFlavorTypeResponse Тип флейвора.
type PublicFloatingIpCreateRequest ¶
type PublicFloatingIpCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Description Описание публичного IP-адреса.
Description *string `json:"description,omitempty"`
// InterfaceId Идентификатор сетевого интерфейса.
InterfaceId *string `json:"interface_id,omitempty"`
// InterfaceName Название сетевого интерфейса.
InterfaceName *string `json:"interface_name,omitempty"`
// Name Название публичного IP-адреса.
Name string `json:"name"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `json:"project_id"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VmId *string `json:"vm_id,omitempty"`
}
PublicFloatingIpCreateRequest defines model for PublicFloatingIpCreateRequest.
type PublicFloatingIpResponse ¶
type PublicFloatingIpResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone *AvailabilityZoneMiniResponse `json:"availability_zone,omitempty"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание публичного IP-адреса.
Description string `json:"description"`
// Id Идентификатор публичного IP-адреса.
Id string `json:"id"`
// Interface Сетевой интерфейс.
Interface *InterfaceMiniResponse `json:"interface,omitempty"`
// IpAddress IP-адрес.
IpAddress *string `json:"ip_address,omitempty"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название публичного IP-адреса.
Name string `json:"name"`
// NatGateway SNAT-шлюз.
NatGateway *NATGatewayMiniResponse `json:"nat_gateway,omitempty"`
// State Статус публичного IP:
// - `available` — свободен;
// - `in_use` — назначен;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `attaching` — прикрепляется;
// - `detaching` — открепляется.
State FloatingIpState `json:"state"`
// Tags Теги.
Tags *[]TagMiniResponse `json:"tags,omitempty"`
// Vm Виртуальная машина.
Vm *VmMiniResponse `json:"vm,omitempty"`
}
PublicFloatingIpResponse defines model for PublicFloatingIpResponse.
type PublicImageCreateRequest ¶
type PublicImageCreateRequest struct {
// AvailabilityZones Зоны доступности, в которых будет доступен образ.
AvailabilityZones []PublicAvailabilityZoneImageCreateRequest `json:"availability_zones"`
// Description Описание образа.
Description *string `json:"description,omitempty"`
// DiskId Идентификатор диска, из которого будет создан образ.
//
// Укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор диска можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskId *string `json:"disk_id,omitempty"`
// DiskName Название диска, из которого будет создан образ.
//
// Укажите один из параметров: `disk_id` или `disk_name`.
// Нельзя указывать оба параметра одновременно.
// Название диска можно получить, выполнив запрос [GET /api/v1/disks](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disks/operation/get_disks_svc_v1_disks_get).
DiskName *string `json:"disk_name,omitempty"`
// DisplayName Название образа, которое отображается в личном кабинете.
DisplayName *string `json:"display_name,omitempty"`
// Icon Значок образа в формате SVG.
Icon *string `json:"icon,omitempty"`
// ImageMetadata Метаданные образа.
ImageMetadata *[]ImageMetadataCreateRequest `json:"image_metadata,omitempty"`
// MinCpu Минимальное количество ядер vCPU виртуальной машины, которую можно развернуть из образа.
MinCpu *int `json:"min_cpu,omitempty"`
// MinDisk Минимальный размер загрузочного диска виртуальной машины, которую можно развернуть из образа. Указывается в гигабайтах.
MinDisk *int `json:"min_disk,omitempty"`
// MinGpu Минимальное количество графических процессоров (GPU) виртуальной машины, которую можно развернуть из образа.
MinGpu *int `json:"min_gpu,omitempty"`
// MinRam Минимальный объем оперативной памяти (RAM) виртуальной машины, которую можно развернуть из образа. Указывается в гигабайтах.
MinRam *int `json:"min_ram,omitempty"`
// Name Системное название образа.
Name string `json:"name"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId string `json:"project_id"`
// UserDataTemplate Пользовательские параметры (user-data) для cloud-init.
UserDataTemplate *string `json:"user_data_template,omitempty"`
}
PublicImageCreateRequest defines model for PublicImageCreateRequest.
type PublicImageResponse ¶
type PublicImageResponse struct {
// AvailabilityZones Зоны доступности, в которых доступен образ.
AvailabilityZones []PublicAvailabilityZoneImageResponse `json:"availability_zones"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание образа.
Description string `json:"description"`
// DisplayName Название образа в интерфейсе личного кабинета.
DisplayName string `json:"display_name"`
// Icon Значок образа в формате SVG.
Icon string `json:"icon"`
// Id Идентификатор образа.
Id string `json:"id"`
// ImageMetadata Метаданные образа.
ImageMetadata []MiniImageMetadataResponse `json:"image_metadata"`
// MinCpu Минимальное количество ядер vCPU виртуальной машины, которую можно развернуть из образа.
MinCpu int `json:"min_cpu"`
// MinDisk Минимальный размер загрузочного диска виртуальной машины, которую можно развернуть из образа. Указывается в гигабайтах.
MinDisk int `json:"min_disk"`
// MinGpu Минимальное количество графических процессоров (GPU) виртуальной машины, которую можно развернуть из образа.
MinGpu *int `json:"min_gpu,omitempty"`
// MinRam Минимальный объем оперативной памяти (RAM) виртуальной машины, которую можно развернуть из образа. Указывается в гигабайтах.
MinRam int `json:"min_ram"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Системное название образа.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId *string `json:"project_id,omitempty"`
// Public Признак публичного образа.
Public bool `json:"public"`
// Type Тип образа:
// - `public` — публичный;
// - `private` — пользовательский;
// - `marketplace` — из Маркетплейса.
Type ImageType `json:"type"`
// UserDataTemplate Пользовательские параметры (user-data) для cloud-init.
UserDataTemplate *string `json:"user_data_template,omitempty"`
}
PublicImageResponse defines model for PublicImageResponse.
type PublicImageUpdateRequest ¶
type PublicImageUpdateRequest struct {
// AvailabilityZones Зоны доступности.
AvailabilityZones *PublicImageUpdateRequest_AvailabilityZones `json:"availability_zones,omitempty"`
// Description Описание образа.
Description *PublicImageUpdateRequest_Description `json:"description,omitempty"`
// DisplayName Отображаемое название.
DisplayName *PublicImageUpdateRequest_DisplayName `json:"display_name,omitempty"`
// Icon Значок образа в формате SVG.
Icon *PublicImageUpdateRequest_Icon `json:"icon,omitempty"`
// MinCpu Минимальное количество vCPU.
MinCpu *PublicImageUpdateRequest_MinCpu `json:"min_cpu,omitempty"`
// MinDisk Минимальный размер диска в ГБ.
MinDisk *PublicImageUpdateRequest_MinDisk `json:"min_disk,omitempty"`
// MinGpu Минимальное количество GPU.
MinGpu *PublicImageUpdateRequest_MinGpu `json:"min_gpu,omitempty"`
// MinRam Минимальный объем оперативной памяти (RAM) в ГБ.
MinRam *PublicImageUpdateRequest_MinRam `json:"min_ram,omitempty"`
// Name Название образа.
Name *PublicImageUpdateRequest_Name `json:"name,omitempty"`
// UserDataTemplate Пользовательские параметры (user-data) для cloud-init.
UserDataTemplate *PublicImageUpdateRequest_UserDataTemplate `json:"user_data_template,omitempty"`
}
PublicImageUpdateRequest defines model for PublicImageUpdateRequest.
type PublicImageUpdateRequestAvailabilityZones0 ¶
type PublicImageUpdateRequestAvailabilityZones0 = []PublicAvailabilityZoneImageUpdateRequest
PublicImageUpdateRequestAvailabilityZones0 defines model for PublicImageUpdateRequest.AvailabilityZones.0.
type PublicImageUpdateRequestAvailabilityZones1 ¶
type PublicImageUpdateRequestAvailabilityZones1 int
PublicImageUpdateRequestAvailabilityZones1 defines model for PublicImageUpdateRequest.AvailabilityZones.1.
const (
PublicImageUpdateRequestAvailabilityZones1N1 PublicImageUpdateRequestAvailabilityZones1 = 1
)
Defines values for PublicImageUpdateRequestAvailabilityZones1.
func (PublicImageUpdateRequestAvailabilityZones1) Valid ¶
func (e PublicImageUpdateRequestAvailabilityZones1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestAvailabilityZones1 enum.
type PublicImageUpdateRequestDescription0 ¶
type PublicImageUpdateRequestDescription0 = string
PublicImageUpdateRequestDescription0 defines model for PublicImageUpdateRequest.Description.0.
type PublicImageUpdateRequestDescription1 ¶
type PublicImageUpdateRequestDescription1 int
PublicImageUpdateRequestDescription1 defines model for PublicImageUpdateRequest.Description.1.
const (
PublicImageUpdateRequestDescription1N1 PublicImageUpdateRequestDescription1 = 1
)
Defines values for PublicImageUpdateRequestDescription1.
func (PublicImageUpdateRequestDescription1) Valid ¶
func (e PublicImageUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestDescription1 enum.
type PublicImageUpdateRequestDisplayName0 ¶
type PublicImageUpdateRequestDisplayName0 = string
PublicImageUpdateRequestDisplayName0 defines model for PublicImageUpdateRequest.DisplayName.0.
type PublicImageUpdateRequestDisplayName1 ¶
type PublicImageUpdateRequestDisplayName1 int
PublicImageUpdateRequestDisplayName1 defines model for PublicImageUpdateRequest.DisplayName.1.
const (
PublicImageUpdateRequestDisplayName1N1 PublicImageUpdateRequestDisplayName1 = 1
)
Defines values for PublicImageUpdateRequestDisplayName1.
func (PublicImageUpdateRequestDisplayName1) Valid ¶
func (e PublicImageUpdateRequestDisplayName1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestDisplayName1 enum.
type PublicImageUpdateRequestIcon0 ¶
type PublicImageUpdateRequestIcon0 = string
PublicImageUpdateRequestIcon0 defines model for PublicImageUpdateRequest.Icon.0.
type PublicImageUpdateRequestIcon1 ¶
type PublicImageUpdateRequestIcon1 int
PublicImageUpdateRequestIcon1 defines model for PublicImageUpdateRequest.Icon.1.
const (
PublicImageUpdateRequestIcon1N1 PublicImageUpdateRequestIcon1 = 1
)
Defines values for PublicImageUpdateRequestIcon1.
func (PublicImageUpdateRequestIcon1) Valid ¶
func (e PublicImageUpdateRequestIcon1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestIcon1 enum.
type PublicImageUpdateRequestMinCpu0 ¶
type PublicImageUpdateRequestMinCpu0 = int
PublicImageUpdateRequestMinCpu0 defines model for PublicImageUpdateRequest.MinCpu.0.
type PublicImageUpdateRequestMinCpu1 ¶
type PublicImageUpdateRequestMinCpu1 int
PublicImageUpdateRequestMinCpu1 defines model for PublicImageUpdateRequest.MinCpu.1.
const (
PublicImageUpdateRequestMinCpu1N1 PublicImageUpdateRequestMinCpu1 = 1
)
Defines values for PublicImageUpdateRequestMinCpu1.
func (PublicImageUpdateRequestMinCpu1) Valid ¶
func (e PublicImageUpdateRequestMinCpu1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestMinCpu1 enum.
type PublicImageUpdateRequestMinDisk0 ¶
type PublicImageUpdateRequestMinDisk0 = int
PublicImageUpdateRequestMinDisk0 defines model for PublicImageUpdateRequest.MinDisk.0.
type PublicImageUpdateRequestMinDisk1 ¶
type PublicImageUpdateRequestMinDisk1 int
PublicImageUpdateRequestMinDisk1 defines model for PublicImageUpdateRequest.MinDisk.1.
const (
PublicImageUpdateRequestMinDisk1N1 PublicImageUpdateRequestMinDisk1 = 1
)
Defines values for PublicImageUpdateRequestMinDisk1.
func (PublicImageUpdateRequestMinDisk1) Valid ¶
func (e PublicImageUpdateRequestMinDisk1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestMinDisk1 enum.
type PublicImageUpdateRequestMinGpu0 ¶
type PublicImageUpdateRequestMinGpu0 = int
PublicImageUpdateRequestMinGpu0 defines model for PublicImageUpdateRequest.MinGpu.0.
type PublicImageUpdateRequestMinGpu1 ¶
type PublicImageUpdateRequestMinGpu1 int
PublicImageUpdateRequestMinGpu1 defines model for PublicImageUpdateRequest.MinGpu.1.
const (
PublicImageUpdateRequestMinGpu1N1 PublicImageUpdateRequestMinGpu1 = 1
)
Defines values for PublicImageUpdateRequestMinGpu1.
func (PublicImageUpdateRequestMinGpu1) Valid ¶
func (e PublicImageUpdateRequestMinGpu1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestMinGpu1 enum.
type PublicImageUpdateRequestMinRam0 ¶
type PublicImageUpdateRequestMinRam0 = int
PublicImageUpdateRequestMinRam0 defines model for PublicImageUpdateRequest.MinRam.0.
type PublicImageUpdateRequestMinRam1 ¶
type PublicImageUpdateRequestMinRam1 int
PublicImageUpdateRequestMinRam1 defines model for PublicImageUpdateRequest.MinRam.1.
const (
PublicImageUpdateRequestMinRam1N1 PublicImageUpdateRequestMinRam1 = 1
)
Defines values for PublicImageUpdateRequestMinRam1.
func (PublicImageUpdateRequestMinRam1) Valid ¶
func (e PublicImageUpdateRequestMinRam1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestMinRam1 enum.
type PublicImageUpdateRequestName0 ¶
type PublicImageUpdateRequestName0 = string
PublicImageUpdateRequestName0 defines model for PublicImageUpdateRequest.Name.0.
type PublicImageUpdateRequestName1 ¶
type PublicImageUpdateRequestName1 int
PublicImageUpdateRequestName1 defines model for PublicImageUpdateRequest.Name.1.
const (
PublicImageUpdateRequestName1N1 PublicImageUpdateRequestName1 = 1
)
Defines values for PublicImageUpdateRequestName1.
func (PublicImageUpdateRequestName1) Valid ¶
func (e PublicImageUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestName1 enum.
type PublicImageUpdateRequestUserDataTemplate0 ¶
type PublicImageUpdateRequestUserDataTemplate0 = string
PublicImageUpdateRequestUserDataTemplate0 defines model for PublicImageUpdateRequest.UserDataTemplate.0.
type PublicImageUpdateRequestUserDataTemplate1 ¶
type PublicImageUpdateRequestUserDataTemplate1 int
PublicImageUpdateRequestUserDataTemplate1 defines model for PublicImageUpdateRequest.UserDataTemplate.1.
const (
PublicImageUpdateRequestUserDataTemplate1N1 PublicImageUpdateRequestUserDataTemplate1 = 1
)
Defines values for PublicImageUpdateRequestUserDataTemplate1.
func (PublicImageUpdateRequestUserDataTemplate1) Valid ¶
func (e PublicImageUpdateRequestUserDataTemplate1) Valid() bool
Valid indicates whether the value is a known member of the PublicImageUpdateRequestUserDataTemplate1 enum.
type PublicImageUpdateRequest_AvailabilityZones ¶
type PublicImageUpdateRequest_AvailabilityZones struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_AvailabilityZones Зоны доступности.
func (PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones0 ¶
func (t PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones0() (PublicImageUpdateRequestAvailabilityZones0, error)
AsPublicImageUpdateRequestAvailabilityZones0 returns the union data inside the PublicImageUpdateRequest_AvailabilityZones as a PublicImageUpdateRequestAvailabilityZones0
func (PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones1 ¶
func (t PublicImageUpdateRequest_AvailabilityZones) AsPublicImageUpdateRequestAvailabilityZones1() (PublicImageUpdateRequestAvailabilityZones1, error)
AsPublicImageUpdateRequestAvailabilityZones1 returns the union data inside the PublicImageUpdateRequest_AvailabilityZones as a PublicImageUpdateRequestAvailabilityZones1
func (*PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones0 ¶
func (t *PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones0(v PublicImageUpdateRequestAvailabilityZones0) error
FromPublicImageUpdateRequestAvailabilityZones0 overwrites any union data inside the PublicImageUpdateRequest_AvailabilityZones as the provided PublicImageUpdateRequestAvailabilityZones0
func (*PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones1 ¶
func (t *PublicImageUpdateRequest_AvailabilityZones) FromPublicImageUpdateRequestAvailabilityZones1(v PublicImageUpdateRequestAvailabilityZones1) error
FromPublicImageUpdateRequestAvailabilityZones1 overwrites any union data inside the PublicImageUpdateRequest_AvailabilityZones as the provided PublicImageUpdateRequestAvailabilityZones1
func (PublicImageUpdateRequest_AvailabilityZones) MarshalJSON ¶
func (t PublicImageUpdateRequest_AvailabilityZones) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones0 ¶
func (t *PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones0(v PublicImageUpdateRequestAvailabilityZones0) error
MergePublicImageUpdateRequestAvailabilityZones0 performs a merge with any union data inside the PublicImageUpdateRequest_AvailabilityZones, using the provided PublicImageUpdateRequestAvailabilityZones0
func (*PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones1 ¶
func (t *PublicImageUpdateRequest_AvailabilityZones) MergePublicImageUpdateRequestAvailabilityZones1(v PublicImageUpdateRequestAvailabilityZones1) error
MergePublicImageUpdateRequestAvailabilityZones1 performs a merge with any union data inside the PublicImageUpdateRequest_AvailabilityZones, using the provided PublicImageUpdateRequestAvailabilityZones1
func (*PublicImageUpdateRequest_AvailabilityZones) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_AvailabilityZones) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_Description ¶
type PublicImageUpdateRequest_Description struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_Description Описание образа.
func (PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription0 ¶
func (t PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription0() (PublicImageUpdateRequestDescription0, error)
AsPublicImageUpdateRequestDescription0 returns the union data inside the PublicImageUpdateRequest_Description as a PublicImageUpdateRequestDescription0
func (PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription1 ¶
func (t PublicImageUpdateRequest_Description) AsPublicImageUpdateRequestDescription1() (PublicImageUpdateRequestDescription1, error)
AsPublicImageUpdateRequestDescription1 returns the union data inside the PublicImageUpdateRequest_Description as a PublicImageUpdateRequestDescription1
func (*PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription0 ¶
func (t *PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription0(v PublicImageUpdateRequestDescription0) error
FromPublicImageUpdateRequestDescription0 overwrites any union data inside the PublicImageUpdateRequest_Description as the provided PublicImageUpdateRequestDescription0
func (*PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription1 ¶
func (t *PublicImageUpdateRequest_Description) FromPublicImageUpdateRequestDescription1(v PublicImageUpdateRequestDescription1) error
FromPublicImageUpdateRequestDescription1 overwrites any union data inside the PublicImageUpdateRequest_Description as the provided PublicImageUpdateRequestDescription1
func (PublicImageUpdateRequest_Description) MarshalJSON ¶
func (t PublicImageUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription0 ¶
func (t *PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription0(v PublicImageUpdateRequestDescription0) error
MergePublicImageUpdateRequestDescription0 performs a merge with any union data inside the PublicImageUpdateRequest_Description, using the provided PublicImageUpdateRequestDescription0
func (*PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription1 ¶
func (t *PublicImageUpdateRequest_Description) MergePublicImageUpdateRequestDescription1(v PublicImageUpdateRequestDescription1) error
MergePublicImageUpdateRequestDescription1 performs a merge with any union data inside the PublicImageUpdateRequest_Description, using the provided PublicImageUpdateRequestDescription1
func (*PublicImageUpdateRequest_Description) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_Description) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_DisplayName ¶
type PublicImageUpdateRequest_DisplayName struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_DisplayName Отображаемое название.
func (PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName0 ¶
func (t PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName0() (PublicImageUpdateRequestDisplayName0, error)
AsPublicImageUpdateRequestDisplayName0 returns the union data inside the PublicImageUpdateRequest_DisplayName as a PublicImageUpdateRequestDisplayName0
func (PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName1 ¶
func (t PublicImageUpdateRequest_DisplayName) AsPublicImageUpdateRequestDisplayName1() (PublicImageUpdateRequestDisplayName1, error)
AsPublicImageUpdateRequestDisplayName1 returns the union data inside the PublicImageUpdateRequest_DisplayName as a PublicImageUpdateRequestDisplayName1
func (*PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName0 ¶
func (t *PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName0(v PublicImageUpdateRequestDisplayName0) error
FromPublicImageUpdateRequestDisplayName0 overwrites any union data inside the PublicImageUpdateRequest_DisplayName as the provided PublicImageUpdateRequestDisplayName0
func (*PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName1 ¶
func (t *PublicImageUpdateRequest_DisplayName) FromPublicImageUpdateRequestDisplayName1(v PublicImageUpdateRequestDisplayName1) error
FromPublicImageUpdateRequestDisplayName1 overwrites any union data inside the PublicImageUpdateRequest_DisplayName as the provided PublicImageUpdateRequestDisplayName1
func (PublicImageUpdateRequest_DisplayName) MarshalJSON ¶
func (t PublicImageUpdateRequest_DisplayName) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName0 ¶
func (t *PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName0(v PublicImageUpdateRequestDisplayName0) error
MergePublicImageUpdateRequestDisplayName0 performs a merge with any union data inside the PublicImageUpdateRequest_DisplayName, using the provided PublicImageUpdateRequestDisplayName0
func (*PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName1 ¶
func (t *PublicImageUpdateRequest_DisplayName) MergePublicImageUpdateRequestDisplayName1(v PublicImageUpdateRequestDisplayName1) error
MergePublicImageUpdateRequestDisplayName1 performs a merge with any union data inside the PublicImageUpdateRequest_DisplayName, using the provided PublicImageUpdateRequestDisplayName1
func (*PublicImageUpdateRequest_DisplayName) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_DisplayName) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_Icon ¶
type PublicImageUpdateRequest_Icon struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_Icon Значок образа в формате SVG.
func (PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon0 ¶
func (t PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon0() (PublicImageUpdateRequestIcon0, error)
AsPublicImageUpdateRequestIcon0 returns the union data inside the PublicImageUpdateRequest_Icon as a PublicImageUpdateRequestIcon0
func (PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon1 ¶
func (t PublicImageUpdateRequest_Icon) AsPublicImageUpdateRequestIcon1() (PublicImageUpdateRequestIcon1, error)
AsPublicImageUpdateRequestIcon1 returns the union data inside the PublicImageUpdateRequest_Icon as a PublicImageUpdateRequestIcon1
func (*PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon0 ¶
func (t *PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon0(v PublicImageUpdateRequestIcon0) error
FromPublicImageUpdateRequestIcon0 overwrites any union data inside the PublicImageUpdateRequest_Icon as the provided PublicImageUpdateRequestIcon0
func (*PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon1 ¶
func (t *PublicImageUpdateRequest_Icon) FromPublicImageUpdateRequestIcon1(v PublicImageUpdateRequestIcon1) error
FromPublicImageUpdateRequestIcon1 overwrites any union data inside the PublicImageUpdateRequest_Icon as the provided PublicImageUpdateRequestIcon1
func (PublicImageUpdateRequest_Icon) MarshalJSON ¶
func (t PublicImageUpdateRequest_Icon) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon0 ¶
func (t *PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon0(v PublicImageUpdateRequestIcon0) error
MergePublicImageUpdateRequestIcon0 performs a merge with any union data inside the PublicImageUpdateRequest_Icon, using the provided PublicImageUpdateRequestIcon0
func (*PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon1 ¶
func (t *PublicImageUpdateRequest_Icon) MergePublicImageUpdateRequestIcon1(v PublicImageUpdateRequestIcon1) error
MergePublicImageUpdateRequestIcon1 performs a merge with any union data inside the PublicImageUpdateRequest_Icon, using the provided PublicImageUpdateRequestIcon1
func (*PublicImageUpdateRequest_Icon) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_Icon) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_MinCpu ¶
type PublicImageUpdateRequest_MinCpu struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_MinCpu Минимальное количество vCPU.
func (PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu0 ¶
func (t PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu0() (PublicImageUpdateRequestMinCpu0, error)
AsPublicImageUpdateRequestMinCpu0 returns the union data inside the PublicImageUpdateRequest_MinCpu as a PublicImageUpdateRequestMinCpu0
func (PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu1 ¶
func (t PublicImageUpdateRequest_MinCpu) AsPublicImageUpdateRequestMinCpu1() (PublicImageUpdateRequestMinCpu1, error)
AsPublicImageUpdateRequestMinCpu1 returns the union data inside the PublicImageUpdateRequest_MinCpu as a PublicImageUpdateRequestMinCpu1
func (*PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu0 ¶
func (t *PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu0(v PublicImageUpdateRequestMinCpu0) error
FromPublicImageUpdateRequestMinCpu0 overwrites any union data inside the PublicImageUpdateRequest_MinCpu as the provided PublicImageUpdateRequestMinCpu0
func (*PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu1 ¶
func (t *PublicImageUpdateRequest_MinCpu) FromPublicImageUpdateRequestMinCpu1(v PublicImageUpdateRequestMinCpu1) error
FromPublicImageUpdateRequestMinCpu1 overwrites any union data inside the PublicImageUpdateRequest_MinCpu as the provided PublicImageUpdateRequestMinCpu1
func (PublicImageUpdateRequest_MinCpu) MarshalJSON ¶
func (t PublicImageUpdateRequest_MinCpu) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu0 ¶
func (t *PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu0(v PublicImageUpdateRequestMinCpu0) error
MergePublicImageUpdateRequestMinCpu0 performs a merge with any union data inside the PublicImageUpdateRequest_MinCpu, using the provided PublicImageUpdateRequestMinCpu0
func (*PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu1 ¶
func (t *PublicImageUpdateRequest_MinCpu) MergePublicImageUpdateRequestMinCpu1(v PublicImageUpdateRequestMinCpu1) error
MergePublicImageUpdateRequestMinCpu1 performs a merge with any union data inside the PublicImageUpdateRequest_MinCpu, using the provided PublicImageUpdateRequestMinCpu1
func (*PublicImageUpdateRequest_MinCpu) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_MinCpu) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_MinDisk ¶
type PublicImageUpdateRequest_MinDisk struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_MinDisk Минимальный размер диска в ГБ.
func (PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk0 ¶
func (t PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk0() (PublicImageUpdateRequestMinDisk0, error)
AsPublicImageUpdateRequestMinDisk0 returns the union data inside the PublicImageUpdateRequest_MinDisk as a PublicImageUpdateRequestMinDisk0
func (PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk1 ¶
func (t PublicImageUpdateRequest_MinDisk) AsPublicImageUpdateRequestMinDisk1() (PublicImageUpdateRequestMinDisk1, error)
AsPublicImageUpdateRequestMinDisk1 returns the union data inside the PublicImageUpdateRequest_MinDisk as a PublicImageUpdateRequestMinDisk1
func (*PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk0 ¶
func (t *PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk0(v PublicImageUpdateRequestMinDisk0) error
FromPublicImageUpdateRequestMinDisk0 overwrites any union data inside the PublicImageUpdateRequest_MinDisk as the provided PublicImageUpdateRequestMinDisk0
func (*PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk1 ¶
func (t *PublicImageUpdateRequest_MinDisk) FromPublicImageUpdateRequestMinDisk1(v PublicImageUpdateRequestMinDisk1) error
FromPublicImageUpdateRequestMinDisk1 overwrites any union data inside the PublicImageUpdateRequest_MinDisk as the provided PublicImageUpdateRequestMinDisk1
func (PublicImageUpdateRequest_MinDisk) MarshalJSON ¶
func (t PublicImageUpdateRequest_MinDisk) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk0 ¶
func (t *PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk0(v PublicImageUpdateRequestMinDisk0) error
MergePublicImageUpdateRequestMinDisk0 performs a merge with any union data inside the PublicImageUpdateRequest_MinDisk, using the provided PublicImageUpdateRequestMinDisk0
func (*PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk1 ¶
func (t *PublicImageUpdateRequest_MinDisk) MergePublicImageUpdateRequestMinDisk1(v PublicImageUpdateRequestMinDisk1) error
MergePublicImageUpdateRequestMinDisk1 performs a merge with any union data inside the PublicImageUpdateRequest_MinDisk, using the provided PublicImageUpdateRequestMinDisk1
func (*PublicImageUpdateRequest_MinDisk) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_MinDisk) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_MinGpu ¶
type PublicImageUpdateRequest_MinGpu struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_MinGpu Минимальное количество GPU.
func (PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu0 ¶
func (t PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu0() (PublicImageUpdateRequestMinGpu0, error)
AsPublicImageUpdateRequestMinGpu0 returns the union data inside the PublicImageUpdateRequest_MinGpu as a PublicImageUpdateRequestMinGpu0
func (PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu1 ¶
func (t PublicImageUpdateRequest_MinGpu) AsPublicImageUpdateRequestMinGpu1() (PublicImageUpdateRequestMinGpu1, error)
AsPublicImageUpdateRequestMinGpu1 returns the union data inside the PublicImageUpdateRequest_MinGpu as a PublicImageUpdateRequestMinGpu1
func (*PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu0 ¶
func (t *PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu0(v PublicImageUpdateRequestMinGpu0) error
FromPublicImageUpdateRequestMinGpu0 overwrites any union data inside the PublicImageUpdateRequest_MinGpu as the provided PublicImageUpdateRequestMinGpu0
func (*PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu1 ¶
func (t *PublicImageUpdateRequest_MinGpu) FromPublicImageUpdateRequestMinGpu1(v PublicImageUpdateRequestMinGpu1) error
FromPublicImageUpdateRequestMinGpu1 overwrites any union data inside the PublicImageUpdateRequest_MinGpu as the provided PublicImageUpdateRequestMinGpu1
func (PublicImageUpdateRequest_MinGpu) MarshalJSON ¶
func (t PublicImageUpdateRequest_MinGpu) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu0 ¶
func (t *PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu0(v PublicImageUpdateRequestMinGpu0) error
MergePublicImageUpdateRequestMinGpu0 performs a merge with any union data inside the PublicImageUpdateRequest_MinGpu, using the provided PublicImageUpdateRequestMinGpu0
func (*PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu1 ¶
func (t *PublicImageUpdateRequest_MinGpu) MergePublicImageUpdateRequestMinGpu1(v PublicImageUpdateRequestMinGpu1) error
MergePublicImageUpdateRequestMinGpu1 performs a merge with any union data inside the PublicImageUpdateRequest_MinGpu, using the provided PublicImageUpdateRequestMinGpu1
func (*PublicImageUpdateRequest_MinGpu) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_MinGpu) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_MinRam ¶
type PublicImageUpdateRequest_MinRam struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_MinRam Минимальный объем оперативной памяти (RAM) в ГБ.
func (PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam0 ¶
func (t PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam0() (PublicImageUpdateRequestMinRam0, error)
AsPublicImageUpdateRequestMinRam0 returns the union data inside the PublicImageUpdateRequest_MinRam as a PublicImageUpdateRequestMinRam0
func (PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam1 ¶
func (t PublicImageUpdateRequest_MinRam) AsPublicImageUpdateRequestMinRam1() (PublicImageUpdateRequestMinRam1, error)
AsPublicImageUpdateRequestMinRam1 returns the union data inside the PublicImageUpdateRequest_MinRam as a PublicImageUpdateRequestMinRam1
func (*PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam0 ¶
func (t *PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam0(v PublicImageUpdateRequestMinRam0) error
FromPublicImageUpdateRequestMinRam0 overwrites any union data inside the PublicImageUpdateRequest_MinRam as the provided PublicImageUpdateRequestMinRam0
func (*PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam1 ¶
func (t *PublicImageUpdateRequest_MinRam) FromPublicImageUpdateRequestMinRam1(v PublicImageUpdateRequestMinRam1) error
FromPublicImageUpdateRequestMinRam1 overwrites any union data inside the PublicImageUpdateRequest_MinRam as the provided PublicImageUpdateRequestMinRam1
func (PublicImageUpdateRequest_MinRam) MarshalJSON ¶
func (t PublicImageUpdateRequest_MinRam) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam0 ¶
func (t *PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam0(v PublicImageUpdateRequestMinRam0) error
MergePublicImageUpdateRequestMinRam0 performs a merge with any union data inside the PublicImageUpdateRequest_MinRam, using the provided PublicImageUpdateRequestMinRam0
func (*PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam1 ¶
func (t *PublicImageUpdateRequest_MinRam) MergePublicImageUpdateRequestMinRam1(v PublicImageUpdateRequestMinRam1) error
MergePublicImageUpdateRequestMinRam1 performs a merge with any union data inside the PublicImageUpdateRequest_MinRam, using the provided PublicImageUpdateRequestMinRam1
func (*PublicImageUpdateRequest_MinRam) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_MinRam) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_Name ¶
type PublicImageUpdateRequest_Name struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_Name Название образа.
func (PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName0 ¶
func (t PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName0() (PublicImageUpdateRequestName0, error)
AsPublicImageUpdateRequestName0 returns the union data inside the PublicImageUpdateRequest_Name as a PublicImageUpdateRequestName0
func (PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName1 ¶
func (t PublicImageUpdateRequest_Name) AsPublicImageUpdateRequestName1() (PublicImageUpdateRequestName1, error)
AsPublicImageUpdateRequestName1 returns the union data inside the PublicImageUpdateRequest_Name as a PublicImageUpdateRequestName1
func (*PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName0 ¶
func (t *PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName0(v PublicImageUpdateRequestName0) error
FromPublicImageUpdateRequestName0 overwrites any union data inside the PublicImageUpdateRequest_Name as the provided PublicImageUpdateRequestName0
func (*PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName1 ¶
func (t *PublicImageUpdateRequest_Name) FromPublicImageUpdateRequestName1(v PublicImageUpdateRequestName1) error
FromPublicImageUpdateRequestName1 overwrites any union data inside the PublicImageUpdateRequest_Name as the provided PublicImageUpdateRequestName1
func (PublicImageUpdateRequest_Name) MarshalJSON ¶
func (t PublicImageUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName0 ¶
func (t *PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName0(v PublicImageUpdateRequestName0) error
MergePublicImageUpdateRequestName0 performs a merge with any union data inside the PublicImageUpdateRequest_Name, using the provided PublicImageUpdateRequestName0
func (*PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName1 ¶
func (t *PublicImageUpdateRequest_Name) MergePublicImageUpdateRequestName1(v PublicImageUpdateRequestName1) error
MergePublicImageUpdateRequestName1 performs a merge with any union data inside the PublicImageUpdateRequest_Name, using the provided PublicImageUpdateRequestName1
func (*PublicImageUpdateRequest_Name) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_Name) UnmarshalJSON(b []byte) error
type PublicImageUpdateRequest_UserDataTemplate ¶
type PublicImageUpdateRequest_UserDataTemplate struct {
// contains filtered or unexported fields
}
PublicImageUpdateRequest_UserDataTemplate Пользовательские параметры (user-data) для cloud-init.
func (PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate0 ¶
func (t PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate0() (PublicImageUpdateRequestUserDataTemplate0, error)
AsPublicImageUpdateRequestUserDataTemplate0 returns the union data inside the PublicImageUpdateRequest_UserDataTemplate as a PublicImageUpdateRequestUserDataTemplate0
func (PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate1 ¶
func (t PublicImageUpdateRequest_UserDataTemplate) AsPublicImageUpdateRequestUserDataTemplate1() (PublicImageUpdateRequestUserDataTemplate1, error)
AsPublicImageUpdateRequestUserDataTemplate1 returns the union data inside the PublicImageUpdateRequest_UserDataTemplate as a PublicImageUpdateRequestUserDataTemplate1
func (*PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate0 ¶
func (t *PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate0(v PublicImageUpdateRequestUserDataTemplate0) error
FromPublicImageUpdateRequestUserDataTemplate0 overwrites any union data inside the PublicImageUpdateRequest_UserDataTemplate as the provided PublicImageUpdateRequestUserDataTemplate0
func (*PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate1 ¶
func (t *PublicImageUpdateRequest_UserDataTemplate) FromPublicImageUpdateRequestUserDataTemplate1(v PublicImageUpdateRequestUserDataTemplate1) error
FromPublicImageUpdateRequestUserDataTemplate1 overwrites any union data inside the PublicImageUpdateRequest_UserDataTemplate as the provided PublicImageUpdateRequestUserDataTemplate1
func (PublicImageUpdateRequest_UserDataTemplate) MarshalJSON ¶
func (t PublicImageUpdateRequest_UserDataTemplate) MarshalJSON() ([]byte, error)
func (*PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate0 ¶
func (t *PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate0(v PublicImageUpdateRequestUserDataTemplate0) error
MergePublicImageUpdateRequestUserDataTemplate0 performs a merge with any union data inside the PublicImageUpdateRequest_UserDataTemplate, using the provided PublicImageUpdateRequestUserDataTemplate0
func (*PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate1 ¶
func (t *PublicImageUpdateRequest_UserDataTemplate) MergePublicImageUpdateRequestUserDataTemplate1(v PublicImageUpdateRequestUserDataTemplate1) error
MergePublicImageUpdateRequestUserDataTemplate1 performs a merge with any union data inside the PublicImageUpdateRequest_UserDataTemplate, using the provided PublicImageUpdateRequestUserDataTemplate1
func (*PublicImageUpdateRequest_UserDataTemplate) UnmarshalJSON ¶
func (t *PublicImageUpdateRequest_UserDataTemplate) UnmarshalJSON(b []byte) error
type PublicInterfaceCreateRequest ¶
type PublicInterfaceCreateRequest struct {
// AllowedAddressPairs Разрешенные пары адресов.
AllowedAddressPairs *[]AllowedAddressPairScheme `json:"allowed_address_pairs,omitempty"`
// AttachFloatingIpId Идентификатор публичного IP-адреса, который будет назначен сетевому интерфейсу.
AttachFloatingIpId *openapi_types.UUID `json:"attach_floating_ip_id,omitempty"`
// AttachFloatingIpName Название публичного IP-адреса, который будет назначен сетевому интерфейсу.
AttachFloatingIpName *string `json:"attach_floating_ip_name,omitempty"`
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Description Описание интерфейса.
Description *string `json:"description,omitempty"`
// IpAddress IP-адрес интерфейса.
IpAddress *string `json:"ip_address,omitempty"`
// Name Название интерфейса.
Name string `json:"name"`
// NewFloatingIp Если выбрано `true`, сетевому интерфейсу будет назначен новый публичный IP-адрес.
NewFloatingIp *bool `json:"new_floating_ip,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
// SecurityGroupNames Названия групп безопасности.
SecurityGroupNames *[]string `json:"security_group_names,omitempty"`
// SecurityGroups Идентификаторы групп безопасности.
SecurityGroups *[]string `json:"security_groups,omitempty"`
// SubnetId Идентификатор подсети.
SubnetId *string `json:"subnet_id,omitempty"`
// SubnetName Название подсети.
SubnetName *string `json:"subnet_name,omitempty"`
Type *InterfaceType `json:"type,omitempty"`
// VmId Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
VmId *string `json:"vm_id,omitempty"`
// VmName Название виртуальной машины.
VmName *string `json:"vm_name,omitempty"`
}
PublicInterfaceCreateRequest defines model for PublicInterfaceCreateRequest.
type PublicInterfaceResponse ¶
type PublicInterfaceResponse struct {
// AllowedAddressPairs Разрешенные пары адресов.
AllowedAddressPairs *[]AllowedAddressPairMiniResponse `json:"allowed_address_pairs,omitempty"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание интерфейса.
Description string `json:"description"`
// FloatingIp Публичный IP-адрес.
FloatingIp *FloatingIpWithNameMiniResponse `json:"floating_ip,omitempty"`
// Id Идентификатор интерфейса.
Id string `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название интерфейса.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []SecurityGroupMiniResponse `json:"security_groups"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Subnet Подсеть.
Subnet *SubnetWithAddressMiniResponse `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
// Vm Виртуальная машина.
Vm *VmWithFlavorMiniResponse `json:"vm,omitempty"`
}
PublicInterfaceResponse defines model for PublicInterfaceResponse.
type PublicNATGatewayCreateRequest ¶
type PublicNATGatewayCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *openapi_types.UUID `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Description Описание SNAT-шлюза.
Description *string `json:"description,omitempty"`
// Name Название SNAT-шлюза.
Name string `json:"name"`
// NatType Тип SNAT-шлюза.
NatType PublicNATGatewayType `json:"nat_type"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `json:"project_id"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
PublicNATGatewayCreateRequest defines model for PublicNATGatewayCreateRequest.
type PublicNATGatewayResponse ¶
type PublicNATGatewayResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание SNAT-шлюза.
Description string `json:"description"`
// FloatingIp Публичный IP-адрес.
FloatingIp *FloatingIpMiniResponse `json:"floating_ip,omitempty"`
// Id Идентификатор SNAT-шлюза.
Id openapi_types.UUID `json:"id"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название SNAT-шлюза.
Name string `json:"name"`
// NatRules Правила SNAT-шлюза.
NatRules []PublicNATGatewayRuleResponse `json:"nat_rules"`
// NatType Тип SNAT-шлюза.
NatType NATGatewayType `json:"nat_type"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// State Статус SNAT-шлюза.
State NATGatewayState `json:"state"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
PublicNATGatewayResponse defines model for PublicNATGatewayResponse.
type PublicNATGatewayRuleResponse ¶
type PublicNATGatewayRuleResponse struct {
// Id Идентификатор правила.
Id openapi_types.UUID `json:"id"`
// InternalAddress Внутренний IP-адрес.
InternalAddress PublicNATGatewayRuleResponse_InternalAddress `json:"internal_address"`
// SubnetId Идентификатор подсети.
SubnetId openapi_types.UUID `json:"subnet_id"`
}
PublicNATGatewayRuleResponse defines model for PublicNATGatewayRuleResponse.
type PublicNATGatewayRuleResponseInternalAddress0 ¶
type PublicNATGatewayRuleResponseInternalAddress0 = string
PublicNATGatewayRuleResponseInternalAddress0 defines model for PublicNATGatewayRuleResponse.InternalAddress.0.
type PublicNATGatewayRuleResponseInternalAddress1 ¶
type PublicNATGatewayRuleResponseInternalAddress1 = string
PublicNATGatewayRuleResponseInternalAddress1 defines model for PublicNATGatewayRuleResponse.InternalAddress.1.
type PublicNATGatewayRuleResponse_InternalAddress ¶
type PublicNATGatewayRuleResponse_InternalAddress struct {
// contains filtered or unexported fields
}
PublicNATGatewayRuleResponse_InternalAddress Внутренний IP-адрес.
func (PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress0 ¶
func (t PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress0() (PublicNATGatewayRuleResponseInternalAddress0, error)
AsPublicNATGatewayRuleResponseInternalAddress0 returns the union data inside the PublicNATGatewayRuleResponse_InternalAddress as a PublicNATGatewayRuleResponseInternalAddress0
func (PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress1 ¶
func (t PublicNATGatewayRuleResponse_InternalAddress) AsPublicNATGatewayRuleResponseInternalAddress1() (PublicNATGatewayRuleResponseInternalAddress1, error)
AsPublicNATGatewayRuleResponseInternalAddress1 returns the union data inside the PublicNATGatewayRuleResponse_InternalAddress as a PublicNATGatewayRuleResponseInternalAddress1
func (*PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress0 ¶
func (t *PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress0(v PublicNATGatewayRuleResponseInternalAddress0) error
FromPublicNATGatewayRuleResponseInternalAddress0 overwrites any union data inside the PublicNATGatewayRuleResponse_InternalAddress as the provided PublicNATGatewayRuleResponseInternalAddress0
func (*PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress1 ¶
func (t *PublicNATGatewayRuleResponse_InternalAddress) FromPublicNATGatewayRuleResponseInternalAddress1(v PublicNATGatewayRuleResponseInternalAddress1) error
FromPublicNATGatewayRuleResponseInternalAddress1 overwrites any union data inside the PublicNATGatewayRuleResponse_InternalAddress as the provided PublicNATGatewayRuleResponseInternalAddress1
func (PublicNATGatewayRuleResponse_InternalAddress) MarshalJSON ¶
func (t PublicNATGatewayRuleResponse_InternalAddress) MarshalJSON() ([]byte, error)
func (*PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress0 ¶
func (t *PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress0(v PublicNATGatewayRuleResponseInternalAddress0) error
MergePublicNATGatewayRuleResponseInternalAddress0 performs a merge with any union data inside the PublicNATGatewayRuleResponse_InternalAddress, using the provided PublicNATGatewayRuleResponseInternalAddress0
func (*PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress1 ¶
func (t *PublicNATGatewayRuleResponse_InternalAddress) MergePublicNATGatewayRuleResponseInternalAddress1(v PublicNATGatewayRuleResponseInternalAddress1) error
MergePublicNATGatewayRuleResponseInternalAddress1 performs a merge with any union data inside the PublicNATGatewayRuleResponse_InternalAddress, using the provided PublicNATGatewayRuleResponseInternalAddress1
func (*PublicNATGatewayRuleResponse_InternalAddress) UnmarshalJSON ¶
func (t *PublicNATGatewayRuleResponse_InternalAddress) UnmarshalJSON(b []byte) error
type PublicNATGatewayType ¶
type PublicNATGatewayType string
PublicNATGatewayType Тип SNAT-шлюза.
const (
PublicNATGatewayTypePublicSNAT PublicNATGatewayType = "Public sNAT"
)
Defines values for PublicNATGatewayType.
func (PublicNATGatewayType) Valid ¶
func (e PublicNATGatewayType) Valid() bool
Valid indicates whether the value is a known member of the PublicNATGatewayType enum.
type PublicPlacementGroupCreateRequest ¶
type PublicPlacementGroupCreateRequest struct {
// Description Описание группы размещения.
Description *string `json:"description,omitempty"`
// Name Название группы размещения.
Name string `json:"name"`
// Policy Политика размещения.
Policy PlacementGroupPolicyEnum `json:"policy"`
// ProjectId Идентификатор проекта.
ProjectId openapi_types.UUID `json:"project_id"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicPlacementGroupCreateRequest defines model for PublicPlacementGroupCreateRequest.
type PublicPlacementGroupResponse ¶
type PublicPlacementGroupResponse struct {
// AvailabilityZones Зоны доступности.
AvailabilityZones *[]PublicAvailabilityZonePlacementGroupResponse `json:"availability_zones,omitempty"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание группы размещения.
Description string `json:"description"`
// Id Идентификатор группы размещения.
Id string `json:"id"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название группы размещения.
Name string `json:"name"`
// Policy Политика размещения.
Policy PlacementGroupPolicyEnum `json:"policy"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
}
PublicPlacementGroupResponse defines model for PublicPlacementGroupResponse.
type PublicProjectEntityUsageResponse ¶
type PublicProjectEntityUsageResponse struct {
// Entities Ресурсы.
Entities ProjectEntityUsageSection `json:"entities"`
}
PublicProjectEntityUsageResponse defines model for PublicProjectEntityUsageResponse.
type PublicSecurityGroupCreateRequest ¶
type PublicSecurityGroupCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
// Description Описание группы безопасности.
Description *string `json:"description,omitempty"`
// Name Название группы безопасности.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// SecurityGroupRules Правила группы безопасности.
SecurityGroupRules *[]PublicSecurityGroupRuleCreateRequest `json:"security_group_rules,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicSecurityGroupCreateRequest defines model for PublicSecurityGroupCreateRequest.
type PublicSecurityGroupResponse ¶
type PublicSecurityGroupResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Default Признак группы безопасности по умолчанию.
Default bool `json:"default"`
// Description Описание группы безопасности.
Description string `json:"description"`
// EgressRulesCount Количество правил для исходящего трафика.
EgressRulesCount int `json:"egress_rules_count"`
// HasInterfaces Наличие сетевых интерфейсов, которые добавлены в группу.
HasInterfaces bool `json:"has_interfaces"`
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// IngressRulesCount Количество правил для входящего трафика.
IngressRulesCount int `json:"ingress_rules_count"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название группы безопасности.
Name string `json:"name"`
// Project Проект.
Project *ProjectMiniResponse `json:"project,omitempty"`
// State Статус группы безопасности:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SecurityGroupState `json:"state"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
}
PublicSecurityGroupResponse defines model for PublicSecurityGroupResponse.
type PublicSecurityGroupRuleCreateRequest ¶
type PublicSecurityGroupRuleCreateRequest struct {
// Description Описание правила.
Description *string `json:"description,omitempty"`
// Direction Направление трафика.
Direction TrafficDirection `json:"direction"`
// EtherType Версия протокола IP.
EtherType EtherType `json:"ether_type"`
// IpProtocol Протокол.
IpProtocol IpProtocol `json:"ip_protocol"`
// PortRange Диапазон портов.
PortRange string `json:"port_range"`
// RemoteIpPrefix IP-адрес источника.
RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`
// RemoteSecurityGroupId Идентификатор группы безопасности источника.
RemoteSecurityGroupId *string `json:"remote_security_group_id,omitempty"`
// RemoteSecurityGroupName Название группы безопасности источника.
RemoteSecurityGroupName *string `json:"remote_security_group_name,omitempty"`
}
PublicSecurityGroupRuleCreateRequest defines model for PublicSecurityGroupRuleCreateRequest.
type PublicSecurityGroupRuleResponse ¶
type PublicSecurityGroupRuleResponse struct {
// Description Описание правила.
Description *string `json:"description,omitempty"`
// Direction Направление трафика.
Direction TrafficDirection `json:"direction"`
// EtherType Версия протокола IP.
EtherType EtherType `json:"ether_type"`
// Id Идентификатор правила.
Id string `json:"id"`
// IpProtocol Протокол.
IpProtocol IpProtocol `json:"ip_protocol"`
// PortRange Диапазон портов.
PortRange string `json:"port_range"`
// RemoteIpPrefix Префикс IP-адреса.
RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"`
RemoteSecurityGroup *RemoteSecurityGroupMiniResponse `json:"remote_security_group,omitempty"`
SecurityGroup SecurityGroupMiniResponse `json:"security_group"`
// State Статус правила группы безопасности.
State SecurityGroupRuleState `json:"state"`
}
PublicSecurityGroupRuleResponse defines model for PublicSecurityGroupRuleResponse.
type PublicSubnetCreateRequest ¶
type PublicSubnetCreateRequest struct {
// AvailabilityZoneId Идентификатор зоны доступности.
AvailabilityZoneId *string `json:"availability_zone_id,omitempty"`
// AvailabilityZoneName Название зоны доступности.
AvailabilityZoneName *string `json:"availability_zone_name,omitempty"`
Default *bool `json:"default,omitempty"`
// DefaultGateway Адрес шлюза.
DefaultGateway *string `json:"default_gateway,omitempty"`
// Description Описание подсети.
Description *string `json:"description,omitempty"`
// DnsServers DNS-серверы.
DnsServers *[]interface{} `json:"dns_servers,omitempty"`
// Name Название подсети.
Name string `json:"name"`
// PrefixLength Маска подсети.
PrefixLength *int `json:"prefix_length,omitempty"`
// ProjectId Идентификатор проекта. [Узнать идентификатор проекта](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref__project-id?source-platform=Evolution) вы можете в личном кабинете или через API-запрос.
ProjectId openapi_types.UUID `json:"project_id"`
// RoutedNetwork Признак маршрутизируемой подсети: true — подсеть имеет настроенные маршруты для внутренней и внешней связи, false — подсеть изолирована и не поддерживает маршрутизацию трафика за ее пределы.
RoutedNetwork *bool `json:"routed_network,omitempty"`
// SubnetAddress CIDR-адрес подсети.
SubnetAddress *string `json:"subnet_address,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *string `json:"vpc_id,omitempty"`
}
PublicSubnetCreateRequest defines model for PublicSubnetCreateRequest.
type PublicSubnetListItemResponse ¶
type PublicSubnetListItemResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CanDelete Возможность удалить подсеть.
CanDelete bool `json:"can_delete"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Default Признак основной подсети.
Default bool `json:"default"`
// DefaultGateway Адрес шлюза.
DefaultGateway string `json:"default_gateway"`
// Description Описание подсети.
Description string `json:"description"`
// DnsServers DNS-серверы.
DnsServers []interface{} `json:"dns_servers"`
// Id Идентификатор подсети.
Id openapi_types.UUID `json:"id"`
// InterfaceCount Количество сетевых интерфейсов.
InterfaceCount int `json:"interface_count"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название подсети.
Name string `json:"name"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
// Type An enumeration.
Type SubnetType `json:"type"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
PublicSubnetListItemResponse defines model for PublicSubnetListItemResponse.
type PublicSubnetResponse ¶
type PublicSubnetResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CanDelete Возможность удалить подсеть.
CanDelete bool `json:"can_delete"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Default Признак основной подсети.
Default bool `json:"default"`
// DefaultGateway Адрес шлюза.
DefaultGateway string `json:"default_gateway"`
// Description Описание подсети.
Description string `json:"description"`
DnsServers []interface{} `json:"dns_servers"`
// Id Идентификатор подсети.
Id openapi_types.UUID `json:"id"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название подсети.
Name string `json:"name"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
// Type An enumeration.
Type SubnetType `json:"type"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId *openapi_types.UUID `json:"vpc_id,omitempty"`
}
PublicSubnetResponse defines model for PublicSubnetResponse.
type PublicSubnetUpdateRequest ¶
type PublicSubnetUpdateRequest struct {
// Default Признак основной подсети.
Default *PublicSubnetUpdateRequest_Default `json:"default,omitempty"`
// Description Описание подсети.
Description *PublicSubnetUpdateRequest_Description `json:"description,omitempty"`
// DnsServers DNS-серверы.
DnsServers *PublicSubnetUpdateRequest_DnsServers `json:"dns_servers,omitempty"`
// Name Название подсети.
Name *PublicSubnetUpdateRequest_Name `json:"name,omitempty"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork *PublicSubnetUpdateRequest_RoutedNetwork `json:"routed_network,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *PublicSubnetUpdateRequest_TagIds `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *PublicSubnetUpdateRequest_TagNames `json:"tag_names,omitempty"`
}
PublicSubnetUpdateRequest defines model for PublicSubnetUpdateRequest.
type PublicSubnetUpdateRequestDefault0 ¶
type PublicSubnetUpdateRequestDefault0 = bool
PublicSubnetUpdateRequestDefault0 defines model for PublicSubnetUpdateRequest.Default.0.
type PublicSubnetUpdateRequestDefault1 ¶
type PublicSubnetUpdateRequestDefault1 int
PublicSubnetUpdateRequestDefault1 defines model for PublicSubnetUpdateRequest.Default.1.
const (
PublicSubnetUpdateRequestDefault1N1 PublicSubnetUpdateRequestDefault1 = 1
)
Defines values for PublicSubnetUpdateRequestDefault1.
func (PublicSubnetUpdateRequestDefault1) Valid ¶
func (e PublicSubnetUpdateRequestDefault1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestDefault1 enum.
type PublicSubnetUpdateRequestDescription0 ¶
type PublicSubnetUpdateRequestDescription0 = string
PublicSubnetUpdateRequestDescription0 defines model for PublicSubnetUpdateRequest.Description.0.
type PublicSubnetUpdateRequestDescription1 ¶
type PublicSubnetUpdateRequestDescription1 int
PublicSubnetUpdateRequestDescription1 defines model for PublicSubnetUpdateRequest.Description.1.
const (
PublicSubnetUpdateRequestDescription1N1 PublicSubnetUpdateRequestDescription1 = 1
)
Defines values for PublicSubnetUpdateRequestDescription1.
func (PublicSubnetUpdateRequestDescription1) Valid ¶
func (e PublicSubnetUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestDescription1 enum.
type PublicSubnetUpdateRequestDnsServers0 ¶
type PublicSubnetUpdateRequestDnsServers0 = []interface{}
PublicSubnetUpdateRequestDnsServers0 defines model for PublicSubnetUpdateRequest.DnsServers.0.
type PublicSubnetUpdateRequestDnsServers1 ¶
type PublicSubnetUpdateRequestDnsServers1 int
PublicSubnetUpdateRequestDnsServers1 defines model for PublicSubnetUpdateRequest.DnsServers.1.
const (
PublicSubnetUpdateRequestDnsServers1N1 PublicSubnetUpdateRequestDnsServers1 = 1
)
Defines values for PublicSubnetUpdateRequestDnsServers1.
func (PublicSubnetUpdateRequestDnsServers1) Valid ¶
func (e PublicSubnetUpdateRequestDnsServers1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestDnsServers1 enum.
type PublicSubnetUpdateRequestName0 ¶
type PublicSubnetUpdateRequestName0 = string
PublicSubnetUpdateRequestName0 defines model for PublicSubnetUpdateRequest.Name.0.
type PublicSubnetUpdateRequestName1 ¶
type PublicSubnetUpdateRequestName1 int
PublicSubnetUpdateRequestName1 defines model for PublicSubnetUpdateRequest.Name.1.
const (
PublicSubnetUpdateRequestName1N1 PublicSubnetUpdateRequestName1 = 1
)
Defines values for PublicSubnetUpdateRequestName1.
func (PublicSubnetUpdateRequestName1) Valid ¶
func (e PublicSubnetUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestName1 enum.
type PublicSubnetUpdateRequestRoutedNetwork0 ¶
type PublicSubnetUpdateRequestRoutedNetwork0 = bool
PublicSubnetUpdateRequestRoutedNetwork0 defines model for PublicSubnetUpdateRequest.RoutedNetwork.0.
type PublicSubnetUpdateRequestRoutedNetwork1 ¶
type PublicSubnetUpdateRequestRoutedNetwork1 int
PublicSubnetUpdateRequestRoutedNetwork1 defines model for PublicSubnetUpdateRequest.RoutedNetwork.1.
const (
PublicSubnetUpdateRequestRoutedNetwork1N1 PublicSubnetUpdateRequestRoutedNetwork1 = 1
)
Defines values for PublicSubnetUpdateRequestRoutedNetwork1.
func (PublicSubnetUpdateRequestRoutedNetwork1) Valid ¶
func (e PublicSubnetUpdateRequestRoutedNetwork1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestRoutedNetwork1 enum.
type PublicSubnetUpdateRequestTagIds0 ¶
type PublicSubnetUpdateRequestTagIds0 = []openapi_types.UUID
PublicSubnetUpdateRequestTagIds0 defines model for PublicSubnetUpdateRequest.TagIds.0.
type PublicSubnetUpdateRequestTagIds1 ¶
type PublicSubnetUpdateRequestTagIds1 int
PublicSubnetUpdateRequestTagIds1 defines model for PublicSubnetUpdateRequest.TagIds.1.
const (
PublicSubnetUpdateRequestTagIds1N1 PublicSubnetUpdateRequestTagIds1 = 1
)
Defines values for PublicSubnetUpdateRequestTagIds1.
func (PublicSubnetUpdateRequestTagIds1) Valid ¶
func (e PublicSubnetUpdateRequestTagIds1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestTagIds1 enum.
type PublicSubnetUpdateRequestTagNames0 ¶
type PublicSubnetUpdateRequestTagNames0 = []string
PublicSubnetUpdateRequestTagNames0 defines model for PublicSubnetUpdateRequest.TagNames.0.
type PublicSubnetUpdateRequestTagNames1 ¶
type PublicSubnetUpdateRequestTagNames1 int
PublicSubnetUpdateRequestTagNames1 defines model for PublicSubnetUpdateRequest.TagNames.1.
const (
PublicSubnetUpdateRequestTagNames1N1 PublicSubnetUpdateRequestTagNames1 = 1
)
Defines values for PublicSubnetUpdateRequestTagNames1.
func (PublicSubnetUpdateRequestTagNames1) Valid ¶
func (e PublicSubnetUpdateRequestTagNames1) Valid() bool
Valid indicates whether the value is a known member of the PublicSubnetUpdateRequestTagNames1 enum.
type PublicSubnetUpdateRequest_Default ¶
type PublicSubnetUpdateRequest_Default struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_Default Признак основной подсети.
func (PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault0 ¶
func (t PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault0() (PublicSubnetUpdateRequestDefault0, error)
AsPublicSubnetUpdateRequestDefault0 returns the union data inside the PublicSubnetUpdateRequest_Default as a PublicSubnetUpdateRequestDefault0
func (PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault1 ¶
func (t PublicSubnetUpdateRequest_Default) AsPublicSubnetUpdateRequestDefault1() (PublicSubnetUpdateRequestDefault1, error)
AsPublicSubnetUpdateRequestDefault1 returns the union data inside the PublicSubnetUpdateRequest_Default as a PublicSubnetUpdateRequestDefault1
func (*PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault0 ¶
func (t *PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault0(v PublicSubnetUpdateRequestDefault0) error
FromPublicSubnetUpdateRequestDefault0 overwrites any union data inside the PublicSubnetUpdateRequest_Default as the provided PublicSubnetUpdateRequestDefault0
func (*PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault1 ¶
func (t *PublicSubnetUpdateRequest_Default) FromPublicSubnetUpdateRequestDefault1(v PublicSubnetUpdateRequestDefault1) error
FromPublicSubnetUpdateRequestDefault1 overwrites any union data inside the PublicSubnetUpdateRequest_Default as the provided PublicSubnetUpdateRequestDefault1
func (PublicSubnetUpdateRequest_Default) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_Default) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault0 ¶
func (t *PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault0(v PublicSubnetUpdateRequestDefault0) error
MergePublicSubnetUpdateRequestDefault0 performs a merge with any union data inside the PublicSubnetUpdateRequest_Default, using the provided PublicSubnetUpdateRequestDefault0
func (*PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault1 ¶
func (t *PublicSubnetUpdateRequest_Default) MergePublicSubnetUpdateRequestDefault1(v PublicSubnetUpdateRequestDefault1) error
MergePublicSubnetUpdateRequestDefault1 performs a merge with any union data inside the PublicSubnetUpdateRequest_Default, using the provided PublicSubnetUpdateRequestDefault1
func (*PublicSubnetUpdateRequest_Default) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_Default) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_Description ¶
type PublicSubnetUpdateRequest_Description struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_Description Описание подсети.
func (PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription0 ¶
func (t PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription0() (PublicSubnetUpdateRequestDescription0, error)
AsPublicSubnetUpdateRequestDescription0 returns the union data inside the PublicSubnetUpdateRequest_Description as a PublicSubnetUpdateRequestDescription0
func (PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription1 ¶
func (t PublicSubnetUpdateRequest_Description) AsPublicSubnetUpdateRequestDescription1() (PublicSubnetUpdateRequestDescription1, error)
AsPublicSubnetUpdateRequestDescription1 returns the union data inside the PublicSubnetUpdateRequest_Description as a PublicSubnetUpdateRequestDescription1
func (*PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription0 ¶
func (t *PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription0(v PublicSubnetUpdateRequestDescription0) error
FromPublicSubnetUpdateRequestDescription0 overwrites any union data inside the PublicSubnetUpdateRequest_Description as the provided PublicSubnetUpdateRequestDescription0
func (*PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription1 ¶
func (t *PublicSubnetUpdateRequest_Description) FromPublicSubnetUpdateRequestDescription1(v PublicSubnetUpdateRequestDescription1) error
FromPublicSubnetUpdateRequestDescription1 overwrites any union data inside the PublicSubnetUpdateRequest_Description as the provided PublicSubnetUpdateRequestDescription1
func (PublicSubnetUpdateRequest_Description) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription0 ¶
func (t *PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription0(v PublicSubnetUpdateRequestDescription0) error
MergePublicSubnetUpdateRequestDescription0 performs a merge with any union data inside the PublicSubnetUpdateRequest_Description, using the provided PublicSubnetUpdateRequestDescription0
func (*PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription1 ¶
func (t *PublicSubnetUpdateRequest_Description) MergePublicSubnetUpdateRequestDescription1(v PublicSubnetUpdateRequestDescription1) error
MergePublicSubnetUpdateRequestDescription1 performs a merge with any union data inside the PublicSubnetUpdateRequest_Description, using the provided PublicSubnetUpdateRequestDescription1
func (*PublicSubnetUpdateRequest_Description) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_Description) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_DnsServers ¶
type PublicSubnetUpdateRequest_DnsServers struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_DnsServers DNS-серверы.
func (PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers0 ¶
func (t PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers0() (PublicSubnetUpdateRequestDnsServers0, error)
AsPublicSubnetUpdateRequestDnsServers0 returns the union data inside the PublicSubnetUpdateRequest_DnsServers as a PublicSubnetUpdateRequestDnsServers0
func (PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers1 ¶
func (t PublicSubnetUpdateRequest_DnsServers) AsPublicSubnetUpdateRequestDnsServers1() (PublicSubnetUpdateRequestDnsServers1, error)
AsPublicSubnetUpdateRequestDnsServers1 returns the union data inside the PublicSubnetUpdateRequest_DnsServers as a PublicSubnetUpdateRequestDnsServers1
func (*PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers0 ¶
func (t *PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers0(v PublicSubnetUpdateRequestDnsServers0) error
FromPublicSubnetUpdateRequestDnsServers0 overwrites any union data inside the PublicSubnetUpdateRequest_DnsServers as the provided PublicSubnetUpdateRequestDnsServers0
func (*PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers1 ¶
func (t *PublicSubnetUpdateRequest_DnsServers) FromPublicSubnetUpdateRequestDnsServers1(v PublicSubnetUpdateRequestDnsServers1) error
FromPublicSubnetUpdateRequestDnsServers1 overwrites any union data inside the PublicSubnetUpdateRequest_DnsServers as the provided PublicSubnetUpdateRequestDnsServers1
func (PublicSubnetUpdateRequest_DnsServers) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_DnsServers) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers0 ¶
func (t *PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers0(v PublicSubnetUpdateRequestDnsServers0) error
MergePublicSubnetUpdateRequestDnsServers0 performs a merge with any union data inside the PublicSubnetUpdateRequest_DnsServers, using the provided PublicSubnetUpdateRequestDnsServers0
func (*PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers1 ¶
func (t *PublicSubnetUpdateRequest_DnsServers) MergePublicSubnetUpdateRequestDnsServers1(v PublicSubnetUpdateRequestDnsServers1) error
MergePublicSubnetUpdateRequestDnsServers1 performs a merge with any union data inside the PublicSubnetUpdateRequest_DnsServers, using the provided PublicSubnetUpdateRequestDnsServers1
func (*PublicSubnetUpdateRequest_DnsServers) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_DnsServers) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_Name ¶
type PublicSubnetUpdateRequest_Name struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_Name Название подсети.
func (PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName0 ¶
func (t PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName0() (PublicSubnetUpdateRequestName0, error)
AsPublicSubnetUpdateRequestName0 returns the union data inside the PublicSubnetUpdateRequest_Name as a PublicSubnetUpdateRequestName0
func (PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName1 ¶
func (t PublicSubnetUpdateRequest_Name) AsPublicSubnetUpdateRequestName1() (PublicSubnetUpdateRequestName1, error)
AsPublicSubnetUpdateRequestName1 returns the union data inside the PublicSubnetUpdateRequest_Name as a PublicSubnetUpdateRequestName1
func (*PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName0 ¶
func (t *PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName0(v PublicSubnetUpdateRequestName0) error
FromPublicSubnetUpdateRequestName0 overwrites any union data inside the PublicSubnetUpdateRequest_Name as the provided PublicSubnetUpdateRequestName0
func (*PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName1 ¶
func (t *PublicSubnetUpdateRequest_Name) FromPublicSubnetUpdateRequestName1(v PublicSubnetUpdateRequestName1) error
FromPublicSubnetUpdateRequestName1 overwrites any union data inside the PublicSubnetUpdateRequest_Name as the provided PublicSubnetUpdateRequestName1
func (PublicSubnetUpdateRequest_Name) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName0 ¶
func (t *PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName0(v PublicSubnetUpdateRequestName0) error
MergePublicSubnetUpdateRequestName0 performs a merge with any union data inside the PublicSubnetUpdateRequest_Name, using the provided PublicSubnetUpdateRequestName0
func (*PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName1 ¶
func (t *PublicSubnetUpdateRequest_Name) MergePublicSubnetUpdateRequestName1(v PublicSubnetUpdateRequestName1) error
MergePublicSubnetUpdateRequestName1 performs a merge with any union data inside the PublicSubnetUpdateRequest_Name, using the provided PublicSubnetUpdateRequestName1
func (*PublicSubnetUpdateRequest_Name) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_Name) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_RoutedNetwork ¶
type PublicSubnetUpdateRequest_RoutedNetwork struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_RoutedNetwork Признак маршрутизируемой подсети.
func (PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork0 ¶
func (t PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork0() (PublicSubnetUpdateRequestRoutedNetwork0, error)
AsPublicSubnetUpdateRequestRoutedNetwork0 returns the union data inside the PublicSubnetUpdateRequest_RoutedNetwork as a PublicSubnetUpdateRequestRoutedNetwork0
func (PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork1 ¶
func (t PublicSubnetUpdateRequest_RoutedNetwork) AsPublicSubnetUpdateRequestRoutedNetwork1() (PublicSubnetUpdateRequestRoutedNetwork1, error)
AsPublicSubnetUpdateRequestRoutedNetwork1 returns the union data inside the PublicSubnetUpdateRequest_RoutedNetwork as a PublicSubnetUpdateRequestRoutedNetwork1
func (*PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork0 ¶
func (t *PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork0(v PublicSubnetUpdateRequestRoutedNetwork0) error
FromPublicSubnetUpdateRequestRoutedNetwork0 overwrites any union data inside the PublicSubnetUpdateRequest_RoutedNetwork as the provided PublicSubnetUpdateRequestRoutedNetwork0
func (*PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork1 ¶
func (t *PublicSubnetUpdateRequest_RoutedNetwork) FromPublicSubnetUpdateRequestRoutedNetwork1(v PublicSubnetUpdateRequestRoutedNetwork1) error
FromPublicSubnetUpdateRequestRoutedNetwork1 overwrites any union data inside the PublicSubnetUpdateRequest_RoutedNetwork as the provided PublicSubnetUpdateRequestRoutedNetwork1
func (PublicSubnetUpdateRequest_RoutedNetwork) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_RoutedNetwork) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork0 ¶
func (t *PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork0(v PublicSubnetUpdateRequestRoutedNetwork0) error
MergePublicSubnetUpdateRequestRoutedNetwork0 performs a merge with any union data inside the PublicSubnetUpdateRequest_RoutedNetwork, using the provided PublicSubnetUpdateRequestRoutedNetwork0
func (*PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork1 ¶
func (t *PublicSubnetUpdateRequest_RoutedNetwork) MergePublicSubnetUpdateRequestRoutedNetwork1(v PublicSubnetUpdateRequestRoutedNetwork1) error
MergePublicSubnetUpdateRequestRoutedNetwork1 performs a merge with any union data inside the PublicSubnetUpdateRequest_RoutedNetwork, using the provided PublicSubnetUpdateRequestRoutedNetwork1
func (*PublicSubnetUpdateRequest_RoutedNetwork) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_RoutedNetwork) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_TagIds ¶
type PublicSubnetUpdateRequest_TagIds struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_TagIds Идентификаторы тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds0 ¶
func (t PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds0() (PublicSubnetUpdateRequestTagIds0, error)
AsPublicSubnetUpdateRequestTagIds0 returns the union data inside the PublicSubnetUpdateRequest_TagIds as a PublicSubnetUpdateRequestTagIds0
func (PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds1 ¶
func (t PublicSubnetUpdateRequest_TagIds) AsPublicSubnetUpdateRequestTagIds1() (PublicSubnetUpdateRequestTagIds1, error)
AsPublicSubnetUpdateRequestTagIds1 returns the union data inside the PublicSubnetUpdateRequest_TagIds as a PublicSubnetUpdateRequestTagIds1
func (*PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds0 ¶
func (t *PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds0(v PublicSubnetUpdateRequestTagIds0) error
FromPublicSubnetUpdateRequestTagIds0 overwrites any union data inside the PublicSubnetUpdateRequest_TagIds as the provided PublicSubnetUpdateRequestTagIds0
func (*PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds1 ¶
func (t *PublicSubnetUpdateRequest_TagIds) FromPublicSubnetUpdateRequestTagIds1(v PublicSubnetUpdateRequestTagIds1) error
FromPublicSubnetUpdateRequestTagIds1 overwrites any union data inside the PublicSubnetUpdateRequest_TagIds as the provided PublicSubnetUpdateRequestTagIds1
func (PublicSubnetUpdateRequest_TagIds) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds0 ¶
func (t *PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds0(v PublicSubnetUpdateRequestTagIds0) error
MergePublicSubnetUpdateRequestTagIds0 performs a merge with any union data inside the PublicSubnetUpdateRequest_TagIds, using the provided PublicSubnetUpdateRequestTagIds0
func (*PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds1 ¶
func (t *PublicSubnetUpdateRequest_TagIds) MergePublicSubnetUpdateRequestTagIds1(v PublicSubnetUpdateRequestTagIds1) error
MergePublicSubnetUpdateRequestTagIds1 performs a merge with any union data inside the PublicSubnetUpdateRequest_TagIds, using the provided PublicSubnetUpdateRequestTagIds1
func (*PublicSubnetUpdateRequest_TagIds) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
type PublicSubnetUpdateRequest_TagNames ¶
type PublicSubnetUpdateRequest_TagNames struct {
// contains filtered or unexported fields
}
PublicSubnetUpdateRequest_TagNames Названия тегов.
func (PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames0 ¶
func (t PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames0() (PublicSubnetUpdateRequestTagNames0, error)
AsPublicSubnetUpdateRequestTagNames0 returns the union data inside the PublicSubnetUpdateRequest_TagNames as a PublicSubnetUpdateRequestTagNames0
func (PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames1 ¶
func (t PublicSubnetUpdateRequest_TagNames) AsPublicSubnetUpdateRequestTagNames1() (PublicSubnetUpdateRequestTagNames1, error)
AsPublicSubnetUpdateRequestTagNames1 returns the union data inside the PublicSubnetUpdateRequest_TagNames as a PublicSubnetUpdateRequestTagNames1
func (*PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames0 ¶
func (t *PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames0(v PublicSubnetUpdateRequestTagNames0) error
FromPublicSubnetUpdateRequestTagNames0 overwrites any union data inside the PublicSubnetUpdateRequest_TagNames as the provided PublicSubnetUpdateRequestTagNames0
func (*PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames1 ¶
func (t *PublicSubnetUpdateRequest_TagNames) FromPublicSubnetUpdateRequestTagNames1(v PublicSubnetUpdateRequestTagNames1) error
FromPublicSubnetUpdateRequestTagNames1 overwrites any union data inside the PublicSubnetUpdateRequest_TagNames as the provided PublicSubnetUpdateRequestTagNames1
func (PublicSubnetUpdateRequest_TagNames) MarshalJSON ¶
func (t PublicSubnetUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
func (*PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames0 ¶
func (t *PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames0(v PublicSubnetUpdateRequestTagNames0) error
MergePublicSubnetUpdateRequestTagNames0 performs a merge with any union data inside the PublicSubnetUpdateRequest_TagNames, using the provided PublicSubnetUpdateRequestTagNames0
func (*PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames1 ¶
func (t *PublicSubnetUpdateRequest_TagNames) MergePublicSubnetUpdateRequestTagNames1(v PublicSubnetUpdateRequestTagNames1) error
MergePublicSubnetUpdateRequestTagNames1 performs a merge with any union data inside the PublicSubnetUpdateRequest_TagNames, using the provided PublicSubnetUpdateRequestTagNames1
func (*PublicSubnetUpdateRequest_TagNames) UnmarshalJSON ¶
func (t *PublicSubnetUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
type PublicTaskResponse ¶
type PublicTaskResponse struct {
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// EntityId Идентификатор ресурса.
EntityId string `json:"entity_id"`
// EntityName Название ресурса.
EntityName string `json:"entity_name"`
// EntityType Тип ресурса.
EntityType string `json:"entity_type"`
// Id Идентификатор задачи.
Id string `json:"id"`
// ModifiedTime Дата и время изменения.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название задачи.
Name string `json:"name"`
// Status Статус задачи.
Status TaskStatusEnum `json:"status"`
// UserEmail E-mail пользователя.
UserEmail string `json:"user_email"`
// UserId Идентификатор пользователя.
UserId string `json:"user_id"`
}
PublicTaskResponse defines model for PublicTaskResponse.
type PublicUpdateBackupRequest ¶
type PublicUpdateBackupRequest struct {
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Name Название резервной копии.
Name *string `json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *[]string `json:"tag_names,omitempty"`
}
PublicUpdateBackupRequest defines model for PublicUpdateBackupRequest.
type PublicVmCreateRemoteConsoleRequest ¶
type PublicVmCreateRemoteConsoleRequest struct {
// Protocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
Protocol VmRemoteConsoleProtocol `json:"protocol"`
}
PublicVmCreateRemoteConsoleRequest Протокол.
type PublicVmFreeTierReachedResponse ¶
type PublicVmFreeTierReachedResponse struct {
// FreeTierEnabled Если указано `true`, в организации можно создавать бесплатные ВМ (free tier).
FreeTierEnabled *bool `json:"free_tier_enabled,omitempty"`
// OrganizationId Идентификатор организации.
OrganizationId openapi_types.UUID `json:"organization_id"`
}
PublicVmFreeTierReachedResponse defines model for PublicVmFreeTierReachedResponse.
type PublicVmResponse ¶
type PublicVmResponse struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CreatedTime Дата и время создания виртуальной машины.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины.
Description string `json:"description"`
// Disks Диски.
Disks []VmDisksResponseSection `json:"disks"`
// Flavor Флейвор.
Flavor FlavorMiniResponse `json:"flavor"`
GuestAgentState *VmGuestAgentState `json:"guest_agent_state,omitempty"`
// Icon Значок виртуальной машины в формате SVG.
Icon *string `json:"icon,omitempty"`
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Image Образ.
Image ImageMiniResponse `json:"image"`
// Interfaces Сетевые интерфейсы виртуальной машины.
Interfaces []VmResponseInterfaceSection `json:"interfaces"`
// IsSerialReady Если указано `true`, серийная консоль доступна на ВМ.
IsSerialReady *bool `json:"is_serial_ready,omitempty"`
// Locked Признак блокировки ВМ:
// - `true` — ВМ заблокирована для изменений.
// - `false` — ВМ доступна для изменений.
Locked bool `json:"locked"`
// MetadataFields Метаданные виртуальной машины.
MetadataFields []VmMetadataResponseSection `json:"metadata_fields"`
// ModifiedTime Дата и время изменения виртуальной машины.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
// PlacementGroup Группа размещения.
PlacementGroup *PlacementGroupMiniResponse `json:"placement_group,omitempty"`
// Project Проект.
Project ProjectMiniResponse `json:"project"`
// RemoteConsoleProtocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
RemoteConsoleProtocol *RemoteConsoleProtocol `json:"remote_console_protocol,omitempty"`
// RemoteConsoleUrl URL удаленной консоли.
RemoteConsoleUrl *string `json:"remote_console_url,omitempty"`
// RemoteConsoleWs WebSocket URL удаленной консоли.
RemoteConsoleWs *string `json:"remote_console_ws,omitempty"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
// VncUrl URL виртуальной консоли.
VncUrl *string `json:"vnc_url,omitempty"`
// VncWs WebSocket URL виртуальной консоли.
VncWs *string `json:"vnc_ws,omitempty"`
}
PublicVmResponse defines model for PublicVmResponse.
type PublicVmResponseItem ¶
type PublicVmResponseItem struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneMiniResponse `json:"availability_zone"`
// CreatedTime Дата и время создания виртуальной машины.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины.
Description string `json:"description"`
// Flavor Параметр, описывающий конфигурацию виртуальной машины.
Flavor FlavorMiniResponse `json:"flavor"`
GuestAgentState *VmGuestAgentState `json:"guest_agent_state,omitempty"`
// Icon Значок виртуальной машины в формате SVG.
Icon *string `json:"icon,omitempty"`
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Interfaces Сетевые интерфейсы.
Interfaces []VmResponseItemInterfaceSection `json:"interfaces"`
// IsSerialReady Если указано `true`, серийная консоль доступна на ВМ.
IsSerialReady bool `json:"is_serial_ready"`
// Locked Признак блокировки ВМ:
// - `true` — ВМ заблокирована для изменений.
// - `false` — ВМ доступна для изменений.
Locked bool `json:"locked"`
// ModifiedTime Дата и время изменения виртуальной машины.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId openapi_types.UUID `json:"project_id"`
// RemoteConsoleProtocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
RemoteConsoleProtocol *RemoteConsoleProtocol `json:"remote_console_protocol,omitempty"`
// RemoteConsoleUrl URL удаленной консоли.
RemoteConsoleUrl *string `json:"remote_console_url,omitempty"`
// RemoteConsoleWs WebSocket URL удаленной консоли.
RemoteConsoleWs *string `json:"remote_console_ws,omitempty"`
// State Статус виртуальной машины.
State VmState `json:"state"`
// Tags Список тегов, назначенных на виртуальную машину.
Tags []TagMiniResponse `json:"tags"`
// VncUrl URL виртуальной консоли.
VncUrl *string `json:"vnc_url,omitempty"`
// VncWs WebSocket URL виртуальной консоли.
VncWs *string `json:"vnc_ws,omitempty"`
}
PublicVmResponseItem defines model for PublicVmResponseItem.
type RebuildVmRequestSchemaBody ¶
type RebuildVmRequestSchemaBody struct {
// ImageId Идентификатор образа.
//
// Укажите один из параметров: `image_id` или `image_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор образа можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
ImageId *string `json:"image_id,omitempty"`
// ImageMetadata Метаданные образа.
// В метаданных передаются учетные данные пользователя, ключи, имя хоста ВМ и другие параметры.
//
// Список полей метаданных можно получить, выполнив запрос [GET /api/v1/images/{image_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_image_by_id_svc_v1_images__image_id__get).
//
// При создании ВМ укажите каждое необходимое поле метаданных в виде пары `"ключ": "значение"`, где `"ключ"` — параметр `name` поля метаданных.
// Вы можете передать метаданные в блоке `metadata_fields` или `image_metadata`.
// Если оба блока указаны, в ВМ будут переданы значения блока `metadata_fields`.
ImageMetadata *map[string]interface{} `json:"image_metadata,omitempty"`
// ImageName Название образа.
//
// Укажите один из параметров: `image_id` или `image_name`.
// Нельзя указывать оба параметра одновременно.
// Название образа можно получить, выполнив запрос [GET /api/v1/images](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Images/operation/get_images_svc_v1_images_get).
ImageName *string `json:"image_name,omitempty"`
}
RebuildVmRequestSchemaBody defines model for RebuildVmRequestSchemaBody.
type RebuildVmResponseSchema ¶
type RebuildVmResponseSchema struct {
// AdditionalProperties Дополнительные параметры
AdditionalProperties map[string]interface{} `json:"additional_properties"`
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneLiteSchema `json:"availability_zone"`
// CreatedTime Дата и время создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание виртуальной машины
Description string `json:"description"`
// Disks Диски
Disks []VmDiskLiteSchema `json:"disks"`
// Flavor Флейвор.
Flavor FlavorLiteSchema `json:"flavor"`
// GuestAgentState Статус Compute Agent:
// - `enabled` — включен;
// - `disabled` — выключен;
// - `unavailable` — недоступен;
// - `not_installed` — не установлен;
// - `error` — ошибка.
GuestAgentState *VmGuestAgentState `json:"guest_agent_state,omitempty"`
// Id Идентификатор виртуальной машины
Id string `json:"id"`
// Image Образ.
Image VmImageLiteSchema `json:"image"`
// ImageMetadata Метаданные образа.
ImageMetadata []VmMetadataLiteSchema `json:"image_metadata"`
// Interfaces Интерфейсы
Interfaces []InterfaceExtendedLiteSchema `json:"interfaces"`
// IsSerialReady Если указано `true`, серийная консоль доступна на ВМ.
IsSerialReady bool `json:"is_serial_ready"`
// Locked Признак блокировки ВМ:
// - `true` — ВМ заблокирована для изменений.
// - `false` — ВМ доступна для изменений.
Locked bool `json:"locked"`
// ModifiedTime Дата и время изменения.
ModifiedTime time.Time `json:"modified_time"`
// Name Название виртуальной машны
Name string `json:"name"`
// PlacementGroup Группа размещения
PlacementGroup PlacementGroupLiteSchema `json:"placement_group"`
// Project Проект.
Project ProjectLiteSchema `json:"project"`
// RemoteConsoleProtocol Протокол удаленной консоли.
RemoteConsoleProtocol RemoteConsoleProtocol `json:"remote_console_protocol"`
// RemoteConsoleUrl URL удаленной консоли.
RemoteConsoleUrl string `json:"remote_console_url"`
// RemoteConsoleWs WebSocket URL удаленной консоли.
RemoteConsoleWs string `json:"remote_console_ws"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
// Tags Теги
Tags []TagLiteSchema `json:"tags"`
// VncUrl URL виртуальной консоли.
VncUrl string `json:"vnc_url"`
// VncWs WebSocket URL виртуальной консоли.
VncWs string `json:"vnc_ws"`
}
RebuildVmResponseSchema defines model for RebuildVmResponseSchema.
type RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody ¶
type RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody = RebuildVmRequestSchemaBody
RebuildVmSvcV1VmsVmIdRebuildPostJSONRequestBody defines body for RebuildVmSvcV1VmsVmIdRebuildPost for application/json ContentType.
type RebuildVmSvcV1VmsVmIdRebuildPostResponse ¶
type RebuildVmSvcV1VmsVmIdRebuildPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RebuildVmResponseSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseRebuildVmSvcV1VmsVmIdRebuildPostResponse ¶
func ParseRebuildVmSvcV1VmsVmIdRebuildPostResponse(rsp *http.Response) (*RebuildVmSvcV1VmsVmIdRebuildPostResponse, error)
ParseRebuildVmSvcV1VmsVmIdRebuildPostResponse parses an HTTP response from a RebuildVmSvcV1VmsVmIdRebuildPostWithResponse call
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) ContentType ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetBody ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON200 ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON200() *RebuildVmResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON422 ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) Status ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) Status() string
Status returns HTTPResponse.Status
func (RebuildVmSvcV1VmsVmIdRebuildPostResponse) StatusCode ¶
func (r RebuildVmSvcV1VmsVmIdRebuildPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody ¶
type ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody = DiskReimageRequest
ReimageDiskSvcV1DisksDiskIdReimagePostJSONRequestBody defines body for ReimageDiskSvcV1DisksDiskIdReimagePost for application/json ContentType.
type ReimageDiskSvcV1DisksDiskIdReimagePostResponse ¶
type ReimageDiskSvcV1DisksDiskIdReimagePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]CustomRequestValidationErrorSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseReimageDiskSvcV1DisksDiskIdReimagePostResponse ¶
func ParseReimageDiskSvcV1DisksDiskIdReimagePostResponse(rsp *http.Response) (*ReimageDiskSvcV1DisksDiskIdReimagePostResponse, error)
ParseReimageDiskSvcV1DisksDiskIdReimagePostResponse parses an HTTP response from a ReimageDiskSvcV1DisksDiskIdReimagePostWithResponse call
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) ContentType ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetBody ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON200 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON200() *PublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON401 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON403 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON404 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON422 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON422() *[]CustomRequestValidationErrorSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON500 ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) Status ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) Status() string
Status returns HTTPResponse.Status
func (ReimageDiskSvcV1DisksDiskIdReimagePostResponse) StatusCode ¶
func (r ReimageDiskSvcV1DisksDiskIdReimagePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoteConsoleProtocol ¶
type RemoteConsoleProtocol string
RemoteConsoleProtocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
const ( RemoteConsoleProtocolMks RemoteConsoleProtocol = "mks" RemoteConsoleProtocolSerial RemoteConsoleProtocol = "serial" RemoteConsoleProtocolSpice RemoteConsoleProtocol = "spice" RemoteConsoleProtocolVnc RemoteConsoleProtocol = "vnc" )
Defines values for RemoteConsoleProtocol.
func (RemoteConsoleProtocol) Valid ¶
func (e RemoteConsoleProtocol) Valid() bool
Valid indicates whether the value is a known member of the RemoteConsoleProtocol enum.
type RemoteSecurityGroupMiniResponse ¶
type RemoteSecurityGroupMiniResponse struct {
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
}
RemoteSecurityGroupMiniResponse defines model for RemoteSecurityGroupMiniResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type Resource ¶
type Resource struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceType Тип ресурса:
//
// - `disk` — диск;
// - `virtual_machine` — виртуальная машина.
ResourceType ResourceType `json:"resource_type"`
}
Resource defines model for Resource.
type ResourceAvailabilityZone ¶
type ResourceAvailabilityZone struct {
// Id Идентификатор зоны доступности.
Id string `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
ResourceAvailabilityZone Зона доступности ресурса.
type ResourceProjectSchema ¶
type ResourceProjectSchema struct {
// Id Идентификатор проекта.
Id string `json:"id"`
}
ResourceProjectSchema Проект, в котором расположен ресурс.
type ResourceType ¶
type ResourceType string
ResourceType Тип ресурса:
- `disk` — диск; - `virtual_machine` — виртуальная машина.
const ( ResourceTypeDisk ResourceType = "disk" ResourceTypeVirtualMachine ResourceType = "virtual_machine" )
Defines values for ResourceType.
func (ResourceType) Valid ¶
func (e ResourceType) Valid() bool
Valid indicates whether the value is a known member of the ResourceType enum.
type ResourceUsageResponse ¶
type ResourceUsageResponse struct {
// Disks Количество слотов PCI, занятых дисками.
Disks PciDisks `json:"disks"`
// Gpus Количество слотов PCI, занятых графическими процесссорами.
Gpus PciGpus `json:"gpus"`
// NetworkInterfaces Количество слотов PCI, занятых сетевыми интерфейсами.
NetworkInterfaces PciNetworkInterfaces `json:"network_interfaces"`
// PciTotal Количество слотов PCI для виртуальной машины.
PciTotal PciTotal `json:"pci_total"`
// SerialPort Количество слотов PCI, занятых серийным портом.
SerialPort PciSerialPort `json:"serial_port"`
}
ResourceUsageResponse Количество PCI-устройств, подключенных к виртуальной машине.
type RestoreBackupDiskTargetConfig ¶
type RestoreBackupDiskTargetConfig struct {
// Description Описание диска.
Description *string `json:"description,omitempty"`
// DiskTypeId Идентификатор типа диска.
DiskTypeId *string `json:"disk_type_id,omitempty"`
// DiskTypeName Название типа диска.
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Name Название диска.
Name string `json:"name"`
}
RestoreBackupDiskTargetConfig Целевая конфигурация диска.
type RestoreBackupResource ¶
type RestoreBackupResource struct {
// TargetConfig Целевая конфигурация ресурса при восстановлении.
TargetConfig RestoreBackupResource_TargetConfig `json:"target_config"`
}
RestoreBackupResource Ресурс.
type RestoreBackupResource_TargetConfig ¶
type RestoreBackupResource_TargetConfig struct {
// contains filtered or unexported fields
}
RestoreBackupResource_TargetConfig Целевая конфигурация ресурса при восстановлении.
func (RestoreBackupResource_TargetConfig) AsDiskRestoreConfig ¶
func (t RestoreBackupResource_TargetConfig) AsDiskRestoreConfig() (DiskRestoreConfig, error)
AsDiskRestoreConfig returns the union data inside the RestoreBackupResource_TargetConfig as a DiskRestoreConfig
func (RestoreBackupResource_TargetConfig) AsVmRestoreConfig ¶
func (t RestoreBackupResource_TargetConfig) AsVmRestoreConfig() (VmRestoreConfig, error)
AsVmRestoreConfig returns the union data inside the RestoreBackupResource_TargetConfig as a VmRestoreConfig
func (*RestoreBackupResource_TargetConfig) FromDiskRestoreConfig ¶
func (t *RestoreBackupResource_TargetConfig) FromDiskRestoreConfig(v DiskRestoreConfig) error
FromDiskRestoreConfig overwrites any union data inside the RestoreBackupResource_TargetConfig as the provided DiskRestoreConfig
func (*RestoreBackupResource_TargetConfig) FromVmRestoreConfig ¶
func (t *RestoreBackupResource_TargetConfig) FromVmRestoreConfig(v VmRestoreConfig) error
FromVmRestoreConfig overwrites any union data inside the RestoreBackupResource_TargetConfig as the provided VmRestoreConfig
func (RestoreBackupResource_TargetConfig) MarshalJSON ¶
func (t RestoreBackupResource_TargetConfig) MarshalJSON() ([]byte, error)
func (*RestoreBackupResource_TargetConfig) MergeDiskRestoreConfig ¶
func (t *RestoreBackupResource_TargetConfig) MergeDiskRestoreConfig(v DiskRestoreConfig) error
MergeDiskRestoreConfig performs a merge with any union data inside the RestoreBackupResource_TargetConfig, using the provided DiskRestoreConfig
func (*RestoreBackupResource_TargetConfig) MergeVmRestoreConfig ¶
func (t *RestoreBackupResource_TargetConfig) MergeVmRestoreConfig(v VmRestoreConfig) error
MergeVmRestoreConfig performs a merge with any union data inside the RestoreBackupResource_TargetConfig, using the provided VmRestoreConfig
func (*RestoreBackupResource_TargetConfig) UnmarshalJSON ¶
func (t *RestoreBackupResource_TargetConfig) UnmarshalJSON(b []byte) error
type RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody ¶
type RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody = ActionBackupRequestBody
RestoreBackupSvcV1BackupsBackupIdActionPostJSONRequestBody defines body for RestoreBackupSvcV1BackupsBackupIdActionPost for application/json ContentType.
type RestoreBackupSvcV1BackupsBackupIdActionPostResponse ¶
type RestoreBackupSvcV1BackupsBackupIdActionPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *UpdateBackupResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]HTTPValidationError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseRestoreBackupSvcV1BackupsBackupIdActionPostResponse ¶
func ParseRestoreBackupSvcV1BackupsBackupIdActionPostResponse(rsp *http.Response) (*RestoreBackupSvcV1BackupsBackupIdActionPostResponse, error)
ParseRestoreBackupSvcV1BackupsBackupIdActionPostResponse parses an HTTP response from a RestoreBackupSvcV1BackupsBackupIdActionPostWithResponse call
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) ContentType ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetBody ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON201 ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON201() *UpdateBackupResponseSchema
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON401 ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON403 ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON422 ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON422() *[]HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON500 ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) Status ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreBackupSvcV1BackupsBackupIdActionPostResponse) StatusCode ¶
func (r RestoreBackupSvcV1BackupsBackupIdActionPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreBackupTargetConfigInterface ¶
type RestoreBackupTargetConfigInterface struct {
// AttachFloatingIpId Идентификатор публичного IP-адреса, который будет назначен сетевому интерфейсу.
AttachFloatingIpId *string `json:"attach_floating_ip_id,omitempty"`
// IpAddress IP-адрес.
IpAddress *string `json:"ip_address,omitempty"`
// Name Название сетевого интерфейса.
Name string `json:"name"`
// NewFloatingIp Если выбрано `true`, сетевому интерфейсу будет назначен новый публичный IP-адрес.
NewFloatingIp *bool `json:"new_floating_ip,omitempty"`
// SecurityGroups Идентификаторы групп безопасности.
SecurityGroups *[]string `json:"security_groups,omitempty"`
// SubnetId Идентификатор подсети.
SubnetId *string `json:"subnet_id,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
RestoreBackupTargetConfigInterface defines model for RestoreBackupTargetConfigInterface.
type RestoreBackupVmTargetConfig ¶
type RestoreBackupVmTargetConfig struct {
// Description Описание виртуальной машины.
Description *string `json:"description,omitempty"`
// Disks Диски.
Disks *[]RestoreTargetConfigVmDisk `json:"disks,omitempty"`
// FlavorId Идентификатор флейвора.
FlavorId *string `json:"flavor_id,omitempty"`
// FlavorName Название флейвора.
FlavorName *string `json:"flavor_name,omitempty"`
// Interfaces Сетевые интерфейсы.
Interfaces *[]RestoreBackupTargetConfigInterface `json:"interfaces,omitempty"`
// Name Название виртуальной машины.
Name string `json:"name"`
}
RestoreBackupVmTargetConfig Целевая конфигурация виртуальной машины.
type RestoreDiskBackupResource ¶
type RestoreDiskBackupResource struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceType Тип ресурса.
ResourceType RestoreDiskBackupResourceResourceType `json:"resource_type"`
// TargetConfig Целевая конфигурация диска.
TargetConfig RestoreBackupDiskTargetConfig `json:"target_config"`
}
RestoreDiskBackupResource defines model for RestoreDiskBackupResource.
type RestoreDiskBackupResourceResourceType ¶
type RestoreDiskBackupResourceResourceType string
RestoreDiskBackupResourceResourceType Тип ресурса.
const (
RestoreDiskBackupResourceResourceTypeDisk RestoreDiskBackupResourceResourceType = "disk"
)
Defines values for RestoreDiskBackupResourceResourceType.
func (RestoreDiskBackupResourceResourceType) Valid ¶
func (e RestoreDiskBackupResourceResourceType) Valid() bool
Valid indicates whether the value is a known member of the RestoreDiskBackupResourceResourceType enum.
type RestoreTargetConfigVmDisk ¶
type RestoreTargetConfigVmDisk struct {
// DiskTypeId Идентификатор типа диска.
DiskTypeId *string `json:"disk_type_id,omitempty"`
// DiskTypeName Название типа диска.
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Id Идентификатор диска.
Id string `json:"id"`
// Name Название диска.
Name string `json:"name"`
}
RestoreTargetConfigVmDisk defines model for RestoreTargetConfigVmDisk.
type RestoreVmBackupResource ¶
type RestoreVmBackupResource struct {
// ResourceId Идентификатор ресурса.
ResourceId string `json:"resource_id"`
// ResourceType Тип ресурса.
ResourceType RestoreVmBackupResourceResourceType `json:"resource_type"`
// TargetConfig Целевая конфигурация виртуальной машины.
TargetConfig RestoreBackupVmTargetConfig `json:"target_config"`
}
RestoreVmBackupResource defines model for RestoreVmBackupResource.
type RestoreVmBackupResourceResourceType ¶
type RestoreVmBackupResourceResourceType string
RestoreVmBackupResourceResourceType Тип ресурса.
const (
RestoreVmBackupResourceResourceTypeVirtualMachine RestoreVmBackupResourceResourceType = "virtual_machine"
)
Defines values for RestoreVmBackupResourceResourceType.
func (RestoreVmBackupResourceResourceType) Valid ¶
func (e RestoreVmBackupResourceResourceType) Valid() bool
Valid indicates whether the value is a known member of the RestoreVmBackupResourceResourceType enum.
type RouterNotFoundByProjectAndAzExceptionSchema ¶
type RouterNotFoundByProjectAndAzExceptionSchema struct {
Code string `json:"code"`
Message string `json:"message"`
}
RouterNotFoundByProjectAndAzExceptionSchema defines model for RouterNotFoundByProjectAndAzExceptionSchema.
type SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema ¶
type SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema defines model for SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema.
type SecurityGroupHasReferencesExceptionSchema ¶
type SecurityGroupHasReferencesExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SecurityGroupHasReferencesExceptionSchema defines model for SecurityGroupHasReferencesExceptionSchema.
type SecurityGroupLiteSchema ¶
type SecurityGroupLiteSchema struct {
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
// State Статус.
State string `json:"state"`
}
SecurityGroupLiteSchema defines model for SecurityGroupLiteSchema.
type SecurityGroupMiniResponse ¶
type SecurityGroupMiniResponse struct {
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
// State Статус группы безопасности:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SecurityGroupState `json:"state"`
}
SecurityGroupMiniResponse defines model for SecurityGroupMiniResponse.
type SecurityGroupNotFoundExceptionSchema ¶
type SecurityGroupNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SecurityGroupNotFoundExceptionSchema defines model for SecurityGroupNotFoundExceptionSchema.
type SecurityGroupRuleNotFoundExceptionSchema ¶
type SecurityGroupRuleNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SecurityGroupRuleNotFoundExceptionSchema defines model for SecurityGroupRuleNotFoundExceptionSchema.
type SecurityGroupRuleState ¶
type SecurityGroupRuleState string
SecurityGroupRuleState Статус правила группы безопасности.
const ( SecurityGroupRuleStateCreated SecurityGroupRuleState = "created" SecurityGroupRuleStateCreating SecurityGroupRuleState = "creating" SecurityGroupRuleStateDeleting SecurityGroupRuleState = "deleting" SecurityGroupRuleStateError SecurityGroupRuleState = "error" SecurityGroupRuleStateErrorCreating SecurityGroupRuleState = "error_creating" SecurityGroupRuleStateErrorDeleting SecurityGroupRuleState = "error_deleting" SecurityGroupRuleStateUpdating SecurityGroupRuleState = "updating" )
Defines values for SecurityGroupRuleState.
func (SecurityGroupRuleState) Valid ¶
func (e SecurityGroupRuleState) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleState enum.
type SecurityGroupRuleUpdateRequest ¶
type SecurityGroupRuleUpdateRequest struct {
// Description Описание правила группы безопасности.
Description *SecurityGroupRuleUpdateRequest_Description `json:"description,omitempty"`
// Direction Направление трафика.
Direction *SecurityGroupRuleUpdateRequest_Direction `json:"direction,omitempty"`
// EtherType Версия протокола IP.
EtherType *SecurityGroupRuleUpdateRequest_EtherType `json:"ether_type,omitempty"`
// IpProtocol Протокол.
IpProtocol *SecurityGroupRuleUpdateRequest_IpProtocol `json:"ip_protocol,omitempty"`
// PortRange Диапазон портов.
PortRange *SecurityGroupRuleUpdateRequest_PortRange `json:"port_range,omitempty"`
// RemoteIpPrefix IP-адрес источника.
RemoteIpPrefix *SecurityGroupRuleUpdateRequest_RemoteIpPrefix `json:"remote_ip_prefix,omitempty"`
// RemoteSecurityGroupId Идентификатор группы безопасности источника.
RemoteSecurityGroupId *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId `json:"remote_security_group_id,omitempty"`
// RemoteSecurityGroupName Название группы безопасности источника.
RemoteSecurityGroupName *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName `json:"remote_security_group_name,omitempty"`
}
SecurityGroupRuleUpdateRequest defines model for SecurityGroupRuleUpdateRequest.
type SecurityGroupRuleUpdateRequestDescription0 ¶
type SecurityGroupRuleUpdateRequestDescription0 = string
SecurityGroupRuleUpdateRequestDescription0 defines model for SecurityGroupRuleUpdateRequest.Description.0.
type SecurityGroupRuleUpdateRequestDescription1 ¶
type SecurityGroupRuleUpdateRequestDescription1 int
SecurityGroupRuleUpdateRequestDescription1 defines model for SecurityGroupRuleUpdateRequest.Description.1.
const (
SecurityGroupRuleUpdateRequestDescription1N1 SecurityGroupRuleUpdateRequestDescription1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestDescription1.
func (SecurityGroupRuleUpdateRequestDescription1) Valid ¶
func (e SecurityGroupRuleUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestDescription1 enum.
type SecurityGroupRuleUpdateRequestDirection1 ¶
type SecurityGroupRuleUpdateRequestDirection1 int
SecurityGroupRuleUpdateRequestDirection1 defines model for SecurityGroupRuleUpdateRequest.Direction.1.
const (
SecurityGroupRuleUpdateRequestDirection1N1 SecurityGroupRuleUpdateRequestDirection1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestDirection1.
func (SecurityGroupRuleUpdateRequestDirection1) Valid ¶
func (e SecurityGroupRuleUpdateRequestDirection1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestDirection1 enum.
type SecurityGroupRuleUpdateRequestEtherType1 ¶
type SecurityGroupRuleUpdateRequestEtherType1 int
SecurityGroupRuleUpdateRequestEtherType1 defines model for SecurityGroupRuleUpdateRequest.EtherType.1.
const (
SecurityGroupRuleUpdateRequestEtherType1N1 SecurityGroupRuleUpdateRequestEtherType1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestEtherType1.
func (SecurityGroupRuleUpdateRequestEtherType1) Valid ¶
func (e SecurityGroupRuleUpdateRequestEtherType1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestEtherType1 enum.
type SecurityGroupRuleUpdateRequestIpProtocol1 ¶
type SecurityGroupRuleUpdateRequestIpProtocol1 int
SecurityGroupRuleUpdateRequestIpProtocol1 defines model for SecurityGroupRuleUpdateRequest.IpProtocol.1.
const (
SecurityGroupRuleUpdateRequestIpProtocol1N1 SecurityGroupRuleUpdateRequestIpProtocol1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestIpProtocol1.
func (SecurityGroupRuleUpdateRequestIpProtocol1) Valid ¶
func (e SecurityGroupRuleUpdateRequestIpProtocol1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestIpProtocol1 enum.
type SecurityGroupRuleUpdateRequestPortRange0 ¶
type SecurityGroupRuleUpdateRequestPortRange0 = string
SecurityGroupRuleUpdateRequestPortRange0 defines model for SecurityGroupRuleUpdateRequest.PortRange.0.
type SecurityGroupRuleUpdateRequestPortRange1 ¶
type SecurityGroupRuleUpdateRequestPortRange1 int
SecurityGroupRuleUpdateRequestPortRange1 defines model for SecurityGroupRuleUpdateRequest.PortRange.1.
const (
SecurityGroupRuleUpdateRequestPortRange1N1 SecurityGroupRuleUpdateRequestPortRange1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestPortRange1.
func (SecurityGroupRuleUpdateRequestPortRange1) Valid ¶
func (e SecurityGroupRuleUpdateRequestPortRange1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestPortRange1 enum.
type SecurityGroupRuleUpdateRequestRemoteIpPrefix0 ¶
type SecurityGroupRuleUpdateRequestRemoteIpPrefix0 = string
SecurityGroupRuleUpdateRequestRemoteIpPrefix0 defines model for SecurityGroupRuleUpdateRequest.RemoteIpPrefix.0.
type SecurityGroupRuleUpdateRequestRemoteIpPrefix1 ¶
type SecurityGroupRuleUpdateRequestRemoteIpPrefix1 int
SecurityGroupRuleUpdateRequestRemoteIpPrefix1 defines model for SecurityGroupRuleUpdateRequest.RemoteIpPrefix.1.
const (
SecurityGroupRuleUpdateRequestRemoteIpPrefix1N1 SecurityGroupRuleUpdateRequestRemoteIpPrefix1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestRemoteIpPrefix1.
func (SecurityGroupRuleUpdateRequestRemoteIpPrefix1) Valid ¶
func (e SecurityGroupRuleUpdateRequestRemoteIpPrefix1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestRemoteIpPrefix1 enum.
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 ¶
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 = string
SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 defines model for SecurityGroupRuleUpdateRequest.RemoteSecurityGroupId.0.
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 ¶
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 int
SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 defines model for SecurityGroupRuleUpdateRequest.RemoteSecurityGroupId.1.
const (
SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1N1 SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1.
func (SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) Valid ¶
func (e SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 enum.
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 ¶
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 = string
SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 defines model for SecurityGroupRuleUpdateRequest.RemoteSecurityGroupName.0.
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 ¶
type SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 int
SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 defines model for SecurityGroupRuleUpdateRequest.RemoteSecurityGroupName.1.
const (
SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1N1 SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 = 1
)
Defines values for SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1.
func (SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) Valid ¶
func (e SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 enum.
type SecurityGroupRuleUpdateRequest_Description ¶
type SecurityGroupRuleUpdateRequest_Description struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_Description Описание правила группы безопасности.
func (SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription0 ¶
func (t SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription0() (SecurityGroupRuleUpdateRequestDescription0, error)
AsSecurityGroupRuleUpdateRequestDescription0 returns the union data inside the SecurityGroupRuleUpdateRequest_Description as a SecurityGroupRuleUpdateRequestDescription0
func (SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription1 ¶
func (t SecurityGroupRuleUpdateRequest_Description) AsSecurityGroupRuleUpdateRequestDescription1() (SecurityGroupRuleUpdateRequestDescription1, error)
AsSecurityGroupRuleUpdateRequestDescription1 returns the union data inside the SecurityGroupRuleUpdateRequest_Description as a SecurityGroupRuleUpdateRequestDescription1
func (*SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription0 ¶
func (t *SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription0(v SecurityGroupRuleUpdateRequestDescription0) error
FromSecurityGroupRuleUpdateRequestDescription0 overwrites any union data inside the SecurityGroupRuleUpdateRequest_Description as the provided SecurityGroupRuleUpdateRequestDescription0
func (*SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription1 ¶
func (t *SecurityGroupRuleUpdateRequest_Description) FromSecurityGroupRuleUpdateRequestDescription1(v SecurityGroupRuleUpdateRequestDescription1) error
FromSecurityGroupRuleUpdateRequestDescription1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_Description as the provided SecurityGroupRuleUpdateRequestDescription1
func (SecurityGroupRuleUpdateRequest_Description) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription0 ¶
func (t *SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription0(v SecurityGroupRuleUpdateRequestDescription0) error
MergeSecurityGroupRuleUpdateRequestDescription0 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_Description, using the provided SecurityGroupRuleUpdateRequestDescription0
func (*SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription1 ¶
func (t *SecurityGroupRuleUpdateRequest_Description) MergeSecurityGroupRuleUpdateRequestDescription1(v SecurityGroupRuleUpdateRequestDescription1) error
MergeSecurityGroupRuleUpdateRequestDescription1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_Description, using the provided SecurityGroupRuleUpdateRequestDescription1
func (*SecurityGroupRuleUpdateRequest_Description) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_Description) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_Direction ¶
type SecurityGroupRuleUpdateRequest_Direction struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_Direction Направление трафика.
func (SecurityGroupRuleUpdateRequest_Direction) AsSecurityGroupRuleUpdateRequestDirection1 ¶
func (t SecurityGroupRuleUpdateRequest_Direction) AsSecurityGroupRuleUpdateRequestDirection1() (SecurityGroupRuleUpdateRequestDirection1, error)
AsSecurityGroupRuleUpdateRequestDirection1 returns the union data inside the SecurityGroupRuleUpdateRequest_Direction as a SecurityGroupRuleUpdateRequestDirection1
func (SecurityGroupRuleUpdateRequest_Direction) AsTrafficDirection ¶
func (t SecurityGroupRuleUpdateRequest_Direction) AsTrafficDirection() (TrafficDirection, error)
AsTrafficDirection returns the union data inside the SecurityGroupRuleUpdateRequest_Direction as a TrafficDirection
func (*SecurityGroupRuleUpdateRequest_Direction) FromSecurityGroupRuleUpdateRequestDirection1 ¶
func (t *SecurityGroupRuleUpdateRequest_Direction) FromSecurityGroupRuleUpdateRequestDirection1(v SecurityGroupRuleUpdateRequestDirection1) error
FromSecurityGroupRuleUpdateRequestDirection1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_Direction as the provided SecurityGroupRuleUpdateRequestDirection1
func (*SecurityGroupRuleUpdateRequest_Direction) FromTrafficDirection ¶
func (t *SecurityGroupRuleUpdateRequest_Direction) FromTrafficDirection(v TrafficDirection) error
FromTrafficDirection overwrites any union data inside the SecurityGroupRuleUpdateRequest_Direction as the provided TrafficDirection
func (SecurityGroupRuleUpdateRequest_Direction) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_Direction) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_Direction) MergeSecurityGroupRuleUpdateRequestDirection1 ¶
func (t *SecurityGroupRuleUpdateRequest_Direction) MergeSecurityGroupRuleUpdateRequestDirection1(v SecurityGroupRuleUpdateRequestDirection1) error
MergeSecurityGroupRuleUpdateRequestDirection1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_Direction, using the provided SecurityGroupRuleUpdateRequestDirection1
func (*SecurityGroupRuleUpdateRequest_Direction) MergeTrafficDirection ¶
func (t *SecurityGroupRuleUpdateRequest_Direction) MergeTrafficDirection(v TrafficDirection) error
MergeTrafficDirection performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_Direction, using the provided TrafficDirection
func (*SecurityGroupRuleUpdateRequest_Direction) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_Direction) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_EtherType ¶
type SecurityGroupRuleUpdateRequest_EtherType struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_EtherType Версия протокола IP.
func (SecurityGroupRuleUpdateRequest_EtherType) AsEtherType ¶
func (t SecurityGroupRuleUpdateRequest_EtherType) AsEtherType() (EtherType, error)
AsEtherType returns the union data inside the SecurityGroupRuleUpdateRequest_EtherType as a EtherType
func (SecurityGroupRuleUpdateRequest_EtherType) AsSecurityGroupRuleUpdateRequestEtherType1 ¶
func (t SecurityGroupRuleUpdateRequest_EtherType) AsSecurityGroupRuleUpdateRequestEtherType1() (SecurityGroupRuleUpdateRequestEtherType1, error)
AsSecurityGroupRuleUpdateRequestEtherType1 returns the union data inside the SecurityGroupRuleUpdateRequest_EtherType as a SecurityGroupRuleUpdateRequestEtherType1
func (*SecurityGroupRuleUpdateRequest_EtherType) FromEtherType ¶
func (t *SecurityGroupRuleUpdateRequest_EtherType) FromEtherType(v EtherType) error
FromEtherType overwrites any union data inside the SecurityGroupRuleUpdateRequest_EtherType as the provided EtherType
func (*SecurityGroupRuleUpdateRequest_EtherType) FromSecurityGroupRuleUpdateRequestEtherType1 ¶
func (t *SecurityGroupRuleUpdateRequest_EtherType) FromSecurityGroupRuleUpdateRequestEtherType1(v SecurityGroupRuleUpdateRequestEtherType1) error
FromSecurityGroupRuleUpdateRequestEtherType1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_EtherType as the provided SecurityGroupRuleUpdateRequestEtherType1
func (SecurityGroupRuleUpdateRequest_EtherType) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_EtherType) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_EtherType) MergeEtherType ¶
func (t *SecurityGroupRuleUpdateRequest_EtherType) MergeEtherType(v EtherType) error
MergeEtherType performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_EtherType, using the provided EtherType
func (*SecurityGroupRuleUpdateRequest_EtherType) MergeSecurityGroupRuleUpdateRequestEtherType1 ¶
func (t *SecurityGroupRuleUpdateRequest_EtherType) MergeSecurityGroupRuleUpdateRequestEtherType1(v SecurityGroupRuleUpdateRequestEtherType1) error
MergeSecurityGroupRuleUpdateRequestEtherType1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_EtherType, using the provided SecurityGroupRuleUpdateRequestEtherType1
func (*SecurityGroupRuleUpdateRequest_EtherType) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_EtherType) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_IpProtocol ¶
type SecurityGroupRuleUpdateRequest_IpProtocol struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_IpProtocol Протокол.
func (SecurityGroupRuleUpdateRequest_IpProtocol) AsIpProtocol ¶
func (t SecurityGroupRuleUpdateRequest_IpProtocol) AsIpProtocol() (IpProtocol, error)
AsIpProtocol returns the union data inside the SecurityGroupRuleUpdateRequest_IpProtocol as a IpProtocol
func (SecurityGroupRuleUpdateRequest_IpProtocol) AsSecurityGroupRuleUpdateRequestIpProtocol1 ¶
func (t SecurityGroupRuleUpdateRequest_IpProtocol) AsSecurityGroupRuleUpdateRequestIpProtocol1() (SecurityGroupRuleUpdateRequestIpProtocol1, error)
AsSecurityGroupRuleUpdateRequestIpProtocol1 returns the union data inside the SecurityGroupRuleUpdateRequest_IpProtocol as a SecurityGroupRuleUpdateRequestIpProtocol1
func (*SecurityGroupRuleUpdateRequest_IpProtocol) FromIpProtocol ¶
func (t *SecurityGroupRuleUpdateRequest_IpProtocol) FromIpProtocol(v IpProtocol) error
FromIpProtocol overwrites any union data inside the SecurityGroupRuleUpdateRequest_IpProtocol as the provided IpProtocol
func (*SecurityGroupRuleUpdateRequest_IpProtocol) FromSecurityGroupRuleUpdateRequestIpProtocol1 ¶
func (t *SecurityGroupRuleUpdateRequest_IpProtocol) FromSecurityGroupRuleUpdateRequestIpProtocol1(v SecurityGroupRuleUpdateRequestIpProtocol1) error
FromSecurityGroupRuleUpdateRequestIpProtocol1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_IpProtocol as the provided SecurityGroupRuleUpdateRequestIpProtocol1
func (SecurityGroupRuleUpdateRequest_IpProtocol) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_IpProtocol) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_IpProtocol) MergeIpProtocol ¶
func (t *SecurityGroupRuleUpdateRequest_IpProtocol) MergeIpProtocol(v IpProtocol) error
MergeIpProtocol performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_IpProtocol, using the provided IpProtocol
func (*SecurityGroupRuleUpdateRequest_IpProtocol) MergeSecurityGroupRuleUpdateRequestIpProtocol1 ¶
func (t *SecurityGroupRuleUpdateRequest_IpProtocol) MergeSecurityGroupRuleUpdateRequestIpProtocol1(v SecurityGroupRuleUpdateRequestIpProtocol1) error
MergeSecurityGroupRuleUpdateRequestIpProtocol1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_IpProtocol, using the provided SecurityGroupRuleUpdateRequestIpProtocol1
func (*SecurityGroupRuleUpdateRequest_IpProtocol) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_IpProtocol) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_PortRange ¶
type SecurityGroupRuleUpdateRequest_PortRange struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_PortRange Диапазон портов.
func (SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange0 ¶
func (t SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange0() (SecurityGroupRuleUpdateRequestPortRange0, error)
AsSecurityGroupRuleUpdateRequestPortRange0 returns the union data inside the SecurityGroupRuleUpdateRequest_PortRange as a SecurityGroupRuleUpdateRequestPortRange0
func (SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange1 ¶
func (t SecurityGroupRuleUpdateRequest_PortRange) AsSecurityGroupRuleUpdateRequestPortRange1() (SecurityGroupRuleUpdateRequestPortRange1, error)
AsSecurityGroupRuleUpdateRequestPortRange1 returns the union data inside the SecurityGroupRuleUpdateRequest_PortRange as a SecurityGroupRuleUpdateRequestPortRange1
func (*SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange0 ¶
func (t *SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange0(v SecurityGroupRuleUpdateRequestPortRange0) error
FromSecurityGroupRuleUpdateRequestPortRange0 overwrites any union data inside the SecurityGroupRuleUpdateRequest_PortRange as the provided SecurityGroupRuleUpdateRequestPortRange0
func (*SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange1 ¶
func (t *SecurityGroupRuleUpdateRequest_PortRange) FromSecurityGroupRuleUpdateRequestPortRange1(v SecurityGroupRuleUpdateRequestPortRange1) error
FromSecurityGroupRuleUpdateRequestPortRange1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_PortRange as the provided SecurityGroupRuleUpdateRequestPortRange1
func (SecurityGroupRuleUpdateRequest_PortRange) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_PortRange) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange0 ¶
func (t *SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange0(v SecurityGroupRuleUpdateRequestPortRange0) error
MergeSecurityGroupRuleUpdateRequestPortRange0 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_PortRange, using the provided SecurityGroupRuleUpdateRequestPortRange0
func (*SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange1 ¶
func (t *SecurityGroupRuleUpdateRequest_PortRange) MergeSecurityGroupRuleUpdateRequestPortRange1(v SecurityGroupRuleUpdateRequestPortRange1) error
MergeSecurityGroupRuleUpdateRequestPortRange1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_PortRange, using the provided SecurityGroupRuleUpdateRequestPortRange1
func (*SecurityGroupRuleUpdateRequest_PortRange) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_PortRange) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_RemoteIpPrefix ¶
type SecurityGroupRuleUpdateRequest_RemoteIpPrefix struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_RemoteIpPrefix IP-адрес источника.
func (SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix0 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix0() (SecurityGroupRuleUpdateRequestRemoteIpPrefix0, error)
AsSecurityGroupRuleUpdateRequestRemoteIpPrefix0 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix as a SecurityGroupRuleUpdateRequestRemoteIpPrefix0
func (SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix1 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) AsSecurityGroupRuleUpdateRequestRemoteIpPrefix1() (SecurityGroupRuleUpdateRequestRemoteIpPrefix1, error)
AsSecurityGroupRuleUpdateRequestRemoteIpPrefix1 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix as a SecurityGroupRuleUpdateRequestRemoteIpPrefix1
func (*SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix0(v SecurityGroupRuleUpdateRequestRemoteIpPrefix0) error
FromSecurityGroupRuleUpdateRequestRemoteIpPrefix0 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix as the provided SecurityGroupRuleUpdateRequestRemoteIpPrefix0
func (*SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) FromSecurityGroupRuleUpdateRequestRemoteIpPrefix1(v SecurityGroupRuleUpdateRequestRemoteIpPrefix1) error
FromSecurityGroupRuleUpdateRequestRemoteIpPrefix1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix as the provided SecurityGroupRuleUpdateRequestRemoteIpPrefix1
func (SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix0(v SecurityGroupRuleUpdateRequestRemoteIpPrefix0) error
MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix0 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix, using the provided SecurityGroupRuleUpdateRequestRemoteIpPrefix0
func (*SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix1(v SecurityGroupRuleUpdateRequestRemoteIpPrefix1) error
MergeSecurityGroupRuleUpdateRequestRemoteIpPrefix1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteIpPrefix, using the provided SecurityGroupRuleUpdateRequestRemoteIpPrefix1
func (*SecurityGroupRuleUpdateRequest_RemoteIpPrefix) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteIpPrefix) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId ¶
type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId Идентификатор группы безопасности источника.
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0, error)
AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId as a SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1, error)
AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId as a SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0) error
FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId as the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) error
FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId as the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0) error
MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId0 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId, using the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupId0
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1) error
MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupId1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId, using the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupId1
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupId) UnmarshalJSON(b []byte) error
type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName ¶
type SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName struct {
// contains filtered or unexported fields
}
SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName Название группы безопасности источника.
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0, error)
AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName as a SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1() (SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1, error)
AsSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 returns the union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName as a SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0) error
FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName as the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) error
FromSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 overwrites any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName as the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1
func (SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MarshalJSON ¶
func (t SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MarshalJSON() ([]byte, error)
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0) error
MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName0 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName, using the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupName0
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1(v SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1) error
MergeSecurityGroupRuleUpdateRequestRemoteSecurityGroupName1 performs a merge with any union data inside the SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName, using the provided SecurityGroupRuleUpdateRequestRemoteSecurityGroupName1
func (*SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) UnmarshalJSON ¶
func (t *SecurityGroupRuleUpdateRequest_RemoteSecurityGroupName) UnmarshalJSON(b []byte) error
type SecurityGroupState ¶
type SecurityGroupState string
SecurityGroupState Статус группы безопасности: - `created` — создана; - `error` — ошибка; - `error_creating` — ошибка создания; - `error_deleting` — ошибка удаления; - `creating` — создается; - `deleting` — удаляется; - `updating` — обновляется.
const ( SecurityGroupStateCreated SecurityGroupState = "created" SecurityGroupStateCreating SecurityGroupState = "creating" SecurityGroupStateDeleting SecurityGroupState = "deleting" SecurityGroupStateError SecurityGroupState = "error" SecurityGroupStateErrorCreating SecurityGroupState = "error_creating" SecurityGroupStateErrorDeleting SecurityGroupState = "error_deleting" SecurityGroupStateUpdating SecurityGroupState = "updating" )
Defines values for SecurityGroupState.
func (SecurityGroupState) Valid ¶
func (e SecurityGroupState) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupState enum.
type SecurityGroupUpdateRequest ¶
type SecurityGroupUpdateRequest struct {
// Description Описание группы безопасности.
Description *SecurityGroupUpdateRequest_Description `json:"description,omitempty"`
// Name Название группы безопасности.
Name *SecurityGroupUpdateRequest_Name `json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *SecurityGroupUpdateRequest_TagIds `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
TagNames *SecurityGroupUpdateRequest_TagNames `json:"tag_names,omitempty"`
}
SecurityGroupUpdateRequest defines model for SecurityGroupUpdateRequest.
type SecurityGroupUpdateRequestDescription0 ¶
type SecurityGroupUpdateRequestDescription0 = string
SecurityGroupUpdateRequestDescription0 defines model for SecurityGroupUpdateRequest.Description.0.
type SecurityGroupUpdateRequestDescription1 ¶
type SecurityGroupUpdateRequestDescription1 int
SecurityGroupUpdateRequestDescription1 defines model for SecurityGroupUpdateRequest.Description.1.
const (
SecurityGroupUpdateRequestDescription1N1 SecurityGroupUpdateRequestDescription1 = 1
)
Defines values for SecurityGroupUpdateRequestDescription1.
func (SecurityGroupUpdateRequestDescription1) Valid ¶
func (e SecurityGroupUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupUpdateRequestDescription1 enum.
type SecurityGroupUpdateRequestName0 ¶
type SecurityGroupUpdateRequestName0 = string
SecurityGroupUpdateRequestName0 defines model for SecurityGroupUpdateRequest.Name.0.
type SecurityGroupUpdateRequestName1 ¶
type SecurityGroupUpdateRequestName1 int
SecurityGroupUpdateRequestName1 defines model for SecurityGroupUpdateRequest.Name.1.
const (
SecurityGroupUpdateRequestName1N1 SecurityGroupUpdateRequestName1 = 1
)
Defines values for SecurityGroupUpdateRequestName1.
func (SecurityGroupUpdateRequestName1) Valid ¶
func (e SecurityGroupUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupUpdateRequestName1 enum.
type SecurityGroupUpdateRequestTagIds0 ¶
type SecurityGroupUpdateRequestTagIds0 = []string
SecurityGroupUpdateRequestTagIds0 defines model for SecurityGroupUpdateRequest.TagIds.0.
type SecurityGroupUpdateRequestTagIds1 ¶
type SecurityGroupUpdateRequestTagIds1 int
SecurityGroupUpdateRequestTagIds1 defines model for SecurityGroupUpdateRequest.TagIds.1.
const (
SecurityGroupUpdateRequestTagIds1N1 SecurityGroupUpdateRequestTagIds1 = 1
)
Defines values for SecurityGroupUpdateRequestTagIds1.
func (SecurityGroupUpdateRequestTagIds1) Valid ¶
func (e SecurityGroupUpdateRequestTagIds1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupUpdateRequestTagIds1 enum.
type SecurityGroupUpdateRequestTagNames0 ¶
type SecurityGroupUpdateRequestTagNames0 = []string
SecurityGroupUpdateRequestTagNames0 defines model for SecurityGroupUpdateRequest.TagNames.0.
type SecurityGroupUpdateRequestTagNames1 ¶
type SecurityGroupUpdateRequestTagNames1 int
SecurityGroupUpdateRequestTagNames1 defines model for SecurityGroupUpdateRequest.TagNames.1.
const (
SecurityGroupUpdateRequestTagNames1N1 SecurityGroupUpdateRequestTagNames1 = 1
)
Defines values for SecurityGroupUpdateRequestTagNames1.
func (SecurityGroupUpdateRequestTagNames1) Valid ¶
func (e SecurityGroupUpdateRequestTagNames1) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupUpdateRequestTagNames1 enum.
type SecurityGroupUpdateRequest_Description ¶
type SecurityGroupUpdateRequest_Description struct {
// contains filtered or unexported fields
}
SecurityGroupUpdateRequest_Description Описание группы безопасности.
func (SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription0 ¶
func (t SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription0() (SecurityGroupUpdateRequestDescription0, error)
AsSecurityGroupUpdateRequestDescription0 returns the union data inside the SecurityGroupUpdateRequest_Description as a SecurityGroupUpdateRequestDescription0
func (SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription1 ¶
func (t SecurityGroupUpdateRequest_Description) AsSecurityGroupUpdateRequestDescription1() (SecurityGroupUpdateRequestDescription1, error)
AsSecurityGroupUpdateRequestDescription1 returns the union data inside the SecurityGroupUpdateRequest_Description as a SecurityGroupUpdateRequestDescription1
func (*SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription0 ¶
func (t *SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription0(v SecurityGroupUpdateRequestDescription0) error
FromSecurityGroupUpdateRequestDescription0 overwrites any union data inside the SecurityGroupUpdateRequest_Description as the provided SecurityGroupUpdateRequestDescription0
func (*SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription1 ¶
func (t *SecurityGroupUpdateRequest_Description) FromSecurityGroupUpdateRequestDescription1(v SecurityGroupUpdateRequestDescription1) error
FromSecurityGroupUpdateRequestDescription1 overwrites any union data inside the SecurityGroupUpdateRequest_Description as the provided SecurityGroupUpdateRequestDescription1
func (SecurityGroupUpdateRequest_Description) MarshalJSON ¶
func (t SecurityGroupUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription0 ¶
func (t *SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription0(v SecurityGroupUpdateRequestDescription0) error
MergeSecurityGroupUpdateRequestDescription0 performs a merge with any union data inside the SecurityGroupUpdateRequest_Description, using the provided SecurityGroupUpdateRequestDescription0
func (*SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription1 ¶
func (t *SecurityGroupUpdateRequest_Description) MergeSecurityGroupUpdateRequestDescription1(v SecurityGroupUpdateRequestDescription1) error
MergeSecurityGroupUpdateRequestDescription1 performs a merge with any union data inside the SecurityGroupUpdateRequest_Description, using the provided SecurityGroupUpdateRequestDescription1
func (*SecurityGroupUpdateRequest_Description) UnmarshalJSON ¶
func (t *SecurityGroupUpdateRequest_Description) UnmarshalJSON(b []byte) error
type SecurityGroupUpdateRequest_Name ¶
type SecurityGroupUpdateRequest_Name struct {
// contains filtered or unexported fields
}
SecurityGroupUpdateRequest_Name Название группы безопасности.
func (SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName0 ¶
func (t SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName0() (SecurityGroupUpdateRequestName0, error)
AsSecurityGroupUpdateRequestName0 returns the union data inside the SecurityGroupUpdateRequest_Name as a SecurityGroupUpdateRequestName0
func (SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName1 ¶
func (t SecurityGroupUpdateRequest_Name) AsSecurityGroupUpdateRequestName1() (SecurityGroupUpdateRequestName1, error)
AsSecurityGroupUpdateRequestName1 returns the union data inside the SecurityGroupUpdateRequest_Name as a SecurityGroupUpdateRequestName1
func (*SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName0 ¶
func (t *SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName0(v SecurityGroupUpdateRequestName0) error
FromSecurityGroupUpdateRequestName0 overwrites any union data inside the SecurityGroupUpdateRequest_Name as the provided SecurityGroupUpdateRequestName0
func (*SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName1 ¶
func (t *SecurityGroupUpdateRequest_Name) FromSecurityGroupUpdateRequestName1(v SecurityGroupUpdateRequestName1) error
FromSecurityGroupUpdateRequestName1 overwrites any union data inside the SecurityGroupUpdateRequest_Name as the provided SecurityGroupUpdateRequestName1
func (SecurityGroupUpdateRequest_Name) MarshalJSON ¶
func (t SecurityGroupUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName0 ¶
func (t *SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName0(v SecurityGroupUpdateRequestName0) error
MergeSecurityGroupUpdateRequestName0 performs a merge with any union data inside the SecurityGroupUpdateRequest_Name, using the provided SecurityGroupUpdateRequestName0
func (*SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName1 ¶
func (t *SecurityGroupUpdateRequest_Name) MergeSecurityGroupUpdateRequestName1(v SecurityGroupUpdateRequestName1) error
MergeSecurityGroupUpdateRequestName1 performs a merge with any union data inside the SecurityGroupUpdateRequest_Name, using the provided SecurityGroupUpdateRequestName1
func (*SecurityGroupUpdateRequest_Name) UnmarshalJSON ¶
func (t *SecurityGroupUpdateRequest_Name) UnmarshalJSON(b []byte) error
type SecurityGroupUpdateRequest_TagIds ¶
type SecurityGroupUpdateRequest_TagIds struct {
// contains filtered or unexported fields
}
SecurityGroupUpdateRequest_TagIds Идентификаторы тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds0 ¶
func (t SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds0() (SecurityGroupUpdateRequestTagIds0, error)
AsSecurityGroupUpdateRequestTagIds0 returns the union data inside the SecurityGroupUpdateRequest_TagIds as a SecurityGroupUpdateRequestTagIds0
func (SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds1 ¶
func (t SecurityGroupUpdateRequest_TagIds) AsSecurityGroupUpdateRequestTagIds1() (SecurityGroupUpdateRequestTagIds1, error)
AsSecurityGroupUpdateRequestTagIds1 returns the union data inside the SecurityGroupUpdateRequest_TagIds as a SecurityGroupUpdateRequestTagIds1
func (*SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds0 ¶
func (t *SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds0(v SecurityGroupUpdateRequestTagIds0) error
FromSecurityGroupUpdateRequestTagIds0 overwrites any union data inside the SecurityGroupUpdateRequest_TagIds as the provided SecurityGroupUpdateRequestTagIds0
func (*SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds1 ¶
func (t *SecurityGroupUpdateRequest_TagIds) FromSecurityGroupUpdateRequestTagIds1(v SecurityGroupUpdateRequestTagIds1) error
FromSecurityGroupUpdateRequestTagIds1 overwrites any union data inside the SecurityGroupUpdateRequest_TagIds as the provided SecurityGroupUpdateRequestTagIds1
func (SecurityGroupUpdateRequest_TagIds) MarshalJSON ¶
func (t SecurityGroupUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
func (*SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds0 ¶
func (t *SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds0(v SecurityGroupUpdateRequestTagIds0) error
MergeSecurityGroupUpdateRequestTagIds0 performs a merge with any union data inside the SecurityGroupUpdateRequest_TagIds, using the provided SecurityGroupUpdateRequestTagIds0
func (*SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds1 ¶
func (t *SecurityGroupUpdateRequest_TagIds) MergeSecurityGroupUpdateRequestTagIds1(v SecurityGroupUpdateRequestTagIds1) error
MergeSecurityGroupUpdateRequestTagIds1 performs a merge with any union data inside the SecurityGroupUpdateRequest_TagIds, using the provided SecurityGroupUpdateRequestTagIds1
func (*SecurityGroupUpdateRequest_TagIds) UnmarshalJSON ¶
func (t *SecurityGroupUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
type SecurityGroupUpdateRequest_TagNames ¶
type SecurityGroupUpdateRequest_TagNames struct {
// contains filtered or unexported fields
}
SecurityGroupUpdateRequest_TagNames Названия тегов.
func (SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames0 ¶
func (t SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames0() (SecurityGroupUpdateRequestTagNames0, error)
AsSecurityGroupUpdateRequestTagNames0 returns the union data inside the SecurityGroupUpdateRequest_TagNames as a SecurityGroupUpdateRequestTagNames0
func (SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames1 ¶
func (t SecurityGroupUpdateRequest_TagNames) AsSecurityGroupUpdateRequestTagNames1() (SecurityGroupUpdateRequestTagNames1, error)
AsSecurityGroupUpdateRequestTagNames1 returns the union data inside the SecurityGroupUpdateRequest_TagNames as a SecurityGroupUpdateRequestTagNames1
func (*SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames0 ¶
func (t *SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames0(v SecurityGroupUpdateRequestTagNames0) error
FromSecurityGroupUpdateRequestTagNames0 overwrites any union data inside the SecurityGroupUpdateRequest_TagNames as the provided SecurityGroupUpdateRequestTagNames0
func (*SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames1 ¶
func (t *SecurityGroupUpdateRequest_TagNames) FromSecurityGroupUpdateRequestTagNames1(v SecurityGroupUpdateRequestTagNames1) error
FromSecurityGroupUpdateRequestTagNames1 overwrites any union data inside the SecurityGroupUpdateRequest_TagNames as the provided SecurityGroupUpdateRequestTagNames1
func (SecurityGroupUpdateRequest_TagNames) MarshalJSON ¶
func (t SecurityGroupUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
func (*SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames0 ¶
func (t *SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames0(v SecurityGroupUpdateRequestTagNames0) error
MergeSecurityGroupUpdateRequestTagNames0 performs a merge with any union data inside the SecurityGroupUpdateRequest_TagNames, using the provided SecurityGroupUpdateRequestTagNames0
func (*SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames1 ¶
func (t *SecurityGroupUpdateRequest_TagNames) MergeSecurityGroupUpdateRequestTagNames1(v SecurityGroupUpdateRequestTagNames1) error
MergeSecurityGroupUpdateRequestTagNames1 performs a merge with any union data inside the SecurityGroupUpdateRequest_TagNames, using the provided SecurityGroupUpdateRequestTagNames1
func (*SecurityGroupUpdateRequest_TagNames) UnmarshalJSON ¶
func (t *SecurityGroupUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
type ServiceUnavailableExceptionSchema ¶
type ServiceUnavailableExceptionSchema struct {
Code string `json:"code"`
Message string `json:"message"`
}
ServiceUnavailableExceptionSchema defines model for ServiceUnavailableExceptionSchema.
type ServiceVariableMissingExceptionSchema ¶
type ServiceVariableMissingExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
ServiceVariableMissingExceptionSchema defines model for ServiceVariableMissingExceptionSchema.
type SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody ¶
type SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody = VmSetPasswordRequest
SetVmPasswordSvcV1VmsVmIdSetPasswordPostJSONRequestBody defines body for SetVmPasswordSvcV1VmsVmIdSetPasswordPost for application/json ContentType.
type SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse ¶
type SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseSetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse ¶
func ParseSetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse(rsp *http.Response) (*SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse, error)
ParseSetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse parses an HTTP response from a SetVmPasswordSvcV1VmsVmIdSetPasswordPostWithResponse call
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) ContentType ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetBody ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON401 ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON403 ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON422 ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON500 ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) Status ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) Status() string
Status returns HTTPResponse.Status
func (SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) StatusCode ¶
func (r SetVmPasswordSvcV1VmsVmIdSetPasswordPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody ¶
type SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody = VmSetPowerRequest
SetVmPowerSvcV1VmsVmIdSetPowerPostJSONRequestBody defines body for SetVmPowerSvcV1VmsVmIdSetPowerPost for application/json ContentType.
type SetVmPowerSvcV1VmsVmIdSetPowerPostResponse ¶
type SetVmPowerSvcV1VmsVmIdSetPowerPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseSetVmPowerSvcV1VmsVmIdSetPowerPostResponse ¶
func ParseSetVmPowerSvcV1VmsVmIdSetPowerPostResponse(rsp *http.Response) (*SetVmPowerSvcV1VmsVmIdSetPowerPostResponse, error)
ParseSetVmPowerSvcV1VmsVmIdSetPowerPostResponse parses an HTTP response from a SetVmPowerSvcV1VmsVmIdSetPowerPostWithResponse call
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) ContentType ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetBody ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON401 ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON403 ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON422 ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON500 ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) Status ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) Status() string
Status returns HTTPResponse.Status
func (SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) StatusCode ¶
func (r SetVmPowerSvcV1VmsVmIdSetPowerPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SpeedLimit ¶
type SpeedLimit struct {
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// Size Размер.
Size int `json:"size"`
}
SpeedLimit defines model for SpeedLimit.
type SubnetAlreadyExistsExceptionSchema ¶
type SubnetAlreadyExistsExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SubnetAlreadyExistsExceptionSchema defines model for SubnetAlreadyExistsExceptionSchema.
type SubnetCanNotBeDeletedFromCurrentStateExceptionSchema ¶
type SubnetCanNotBeDeletedFromCurrentStateExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SubnetCanNotBeDeletedFromCurrentStateExceptionSchema defines model for SubnetCanNotBeDeletedFromCurrentStateExceptionSchema.
type SubnetHasReferencesExceptionSchema ¶
type SubnetHasReferencesExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SubnetHasReferencesExceptionSchema defines model for SubnetHasReferencesExceptionSchema.
type SubnetLiteSchema ¶
type SubnetLiteSchema struct {
// Id Идентификатор подсети.
Id string `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// RoutedNetwork Признак маршрутизируемой подсети.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети.
State string `json:"state"`
// SubnetAddress IP-адрес подсети.
SubnetAddress string `json:"subnet_address"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId string `json:"vpc_id"`
}
SubnetLiteSchema defines model for SubnetLiteSchema.
type SubnetNotFoundExceptionSchema ¶
type SubnetNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
SubnetNotFoundExceptionSchema defines model for SubnetNotFoundExceptionSchema.
type SubnetParamTypes ¶
type SubnetParamTypes string
SubnetParamTypes Тип параметра.
const (
SubnetParamTypesSubnetState SubnetParamTypes = "subnet-state"
)
Defines values for SubnetParamTypes.
func (SubnetParamTypes) Valid ¶
func (e SubnetParamTypes) Valid() bool
Valid indicates whether the value is a known member of the SubnetParamTypes enum.
type SubnetState ¶
type SubnetState string
SubnetState Статус подсети: - `created` — создана; - `error` — ошибка; - `error_creating` — ошибка создания; - `error_deleting` — ошибка удаления; - `creating` — создется; - `deleting` — удаляется; - `updating` — обновляется.
const ( SubnetStateCreated SubnetState = "created" SubnetStateCreating SubnetState = "creating" SubnetStateDeleting SubnetState = "deleting" SubnetStateError SubnetState = "error" SubnetStateErrorCreating SubnetState = "error_creating" SubnetStateErrorDeleting SubnetState = "error_deleting" SubnetStateUpdating SubnetState = "updating" )
Defines values for SubnetState.
func (SubnetState) Valid ¶
func (e SubnetState) Valid() bool
Valid indicates whether the value is a known member of the SubnetState enum.
type SubnetType ¶
type SubnetType string
SubnetType An enumeration.
const ( SubnetTypeRegular SubnetType = "regular" SubnetTypeTechnical SubnetType = "technical" SubnetTypeVpc SubnetType = "vpc" SubnetTypeZoneTechnical SubnetType = "zone_technical" )
Defines values for SubnetType.
func (SubnetType) Valid ¶
func (e SubnetType) Valid() bool
Valid indicates whether the value is a known member of the SubnetType enum.
type SubnetWithAddressMiniResponse ¶
type SubnetWithAddressMiniResponse struct {
// Id Идентификатор подсети.
Id openapi_types.UUID `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// RoutedNetwork Если указано `true`, подсеть маршрутизируемая.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
}
SubnetWithAddressMiniResponse Подсеть.
type TagLiteSchema ¶
type TagLiteSchema struct {
// Color Цвет тега.
Color string `json:"color"`
// Id Идентификатор тега.
Id string `json:"id"`
// Name Название тега.
Name string `json:"name"`
}
TagLiteSchema defines model for TagLiteSchema.
type TagMiniResponse ¶
type TagMiniResponse struct {
// Color Цвет тега.
Color string `json:"color"`
// Id Идентификатор тега.
Id string `json:"id"`
// Name Название тега.
Name string `json:"name"`
}
TagMiniResponse defines model for TagMiniResponse.
type TaskNotFoundExceptionSchema ¶
type TaskNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
TaskNotFoundExceptionSchema defines model for TaskNotFoundExceptionSchema.
type TaskStatusEnum ¶
type TaskStatusEnum string
TaskStatusEnum Статус задачи.
const ( TaskStatusEnumComplete TaskStatusEnum = "complete" TaskStatusEnumFailed TaskStatusEnum = "failed" TaskStatusEnumPending TaskStatusEnum = "pending" TaskStatusEnumRunning TaskStatusEnum = "running" TaskStatusEnumScheduled TaskStatusEnum = "scheduled" )
Defines values for TaskStatusEnum.
func (TaskStatusEnum) Valid ¶
func (e TaskStatusEnum) Valid() bool
Valid indicates whether the value is a known member of the TaskStatusEnum enum.
type TrafficDirection ¶
type TrafficDirection string
TrafficDirection Направление трафика.
const ( TrafficDirectionEgress TrafficDirection = "egress" TrafficDirectionIngress TrafficDirection = "ingress" )
Defines values for TrafficDirection.
func (TrafficDirection) Valid ¶
func (e TrafficDirection) Valid() bool
Valid indicates whether the value is a known member of the TrafficDirection enum.
type UnderscoreDisksCount ¶
type UnderscoreDisksCount struct {
// DiskTypeId Идентификатор типа диска.
DiskTypeId string `json:"disk_type_id"`
// Size Размер диска в ГБ.
Size int `json:"size"`
}
UnderscoreDisksCount defines model for _DisksCount.
type UnderscoreFipCount ¶
type UnderscoreFipCount struct {
// Count Количество.
Count int `json:"count"`
// FloatingIpAction Действие с IP-адресом.
FloatingIpAction FipPriceEnum `json:"floating_ip_action"`
}
UnderscoreFipCount defines model for _FipCount.
type UnderscoreNatGatewaysCount ¶
type UnderscoreNatGatewaysCount struct {
// Count Количество.
Count int `json:"count"`
// NatGatewayType Тип SNAT-шлюза.
NatGatewayType PublicNATGatewayType `json:"nat_gateway_type"`
}
UnderscoreNatGatewaysCount defines model for _NatGatewaysCount.
type UnsupportedFloatingIpActionExceptionSchema ¶
type UnsupportedFloatingIpActionExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
UnsupportedFloatingIpActionExceptionSchema defines model for UnsupportedFloatingIpActionExceptionSchema.
type UpdateBackupRequestBody ¶
type UpdateBackupRequestBody struct {
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Name Название резервной копии.
Name *string `json:"name,omitempty"`
// TagIds Идентификаторы тегов. Идентификаторы можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *[]string `json:"tag_ids,omitempty"`
// TagNames Названия тегов. Названия можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagNames *[]string `json:"tag_names,omitempty"`
}
UpdateBackupRequestBody defines model for UpdateBackupRequestBody.
type UpdateBackupResponseSchema ¶
type UpdateBackupResponseSchema struct {
// CreatedAt Дата и время создания резервной копии.
CreatedAt time.Time `json:"created_at"`
// Description Описание резервной копии.
Description *string `json:"description,omitempty"`
// Id Идентификатор резервной копии.
Id string `json:"id"`
// LastRestoreTime Дата и время последнего восстановления ресурса из копии.
LastRestoreTime *time.Time `json:"last_restore_time,omitempty"`
// Name Название резервной копии.
Name string `json:"name"`
// ParentFullBackupId Идентификатор предыдущей полной копии.
ParentFullBackupId *string `json:"parent_full_backup_id,omitempty"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// ProtectionPlan План резервного копирования.
ProtectionPlan *ProtectionPlanLiteSchema `json:"protection_plan,omitempty"`
// Resource Ресурсы.
Resource BackupResourceSchema `json:"resource"`
// Size Размер резервной копии в МБ.
Size int `json:"size"`
// State Статус резервной копии:
//
// - `creating` — копия создается;
// - `created` — копия создана;
// - `error_creating` — ошибка создания копии;
// - `updating` — обновляется;
// - `error` — ошибка;
// - `deleting` — копия удаляется;
// - `error_deleting` — ошибка удаления копии.
State BackupState `json:"state"`
// Tags Теги
Tags []TagLiteSchema `json:"tags"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type BackupType `json:"type"`
// UpdatedAt Дата и время обновления резервной копии.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
UpdateBackupResponseSchema defines model for UpdateBackupResponseSchema.
type UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody ¶
type UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody = UpdateBackupRequestBody
UpdateBackupSvcV1BackupsBackupIdPutJSONRequestBody defines body for UpdateBackupSvcV1BackupsBackupIdPut for application/json ContentType.
type UpdateBackupSvcV1BackupsBackupIdPutResponse ¶
type UpdateBackupSvcV1BackupsBackupIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateBackupResponseSchema
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]UpdateBackupResponseSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateBackupSvcV1BackupsBackupIdPutResponse ¶
func ParseUpdateBackupSvcV1BackupsBackupIdPutResponse(rsp *http.Response) (*UpdateBackupSvcV1BackupsBackupIdPutResponse, error)
ParseUpdateBackupSvcV1BackupsBackupIdPutResponse parses an HTTP response from a UpdateBackupSvcV1BackupsBackupIdPutWithResponse call
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) ContentType ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetBody ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON200 ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON200() *UpdateBackupResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON401 ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON403 ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON422 ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON422() *[]UpdateBackupResponseSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON500 ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) Status ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBackupSvcV1BackupsBackupIdPutResponse) StatusCode ¶
func (r UpdateBackupSvcV1BackupsBackupIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody ¶
type UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody = PublicDiskUpdateRequest
UpdateDiskSvcV1DisksDiskIdPutJSONRequestBody defines body for UpdateDiskSvcV1DisksDiskIdPut for application/json ContentType.
type UpdateDiskSvcV1DisksDiskIdPutResponse ¶
type UpdateDiskSvcV1DisksDiskIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicDiskResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]DiskNotFoundExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]DiskAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongDiskTypeByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateDiskSvcV1DisksDiskIdPutResponse ¶
func ParseUpdateDiskSvcV1DisksDiskIdPutResponse(rsp *http.Response) (*UpdateDiskSvcV1DisksDiskIdPutResponse, error)
ParseUpdateDiskSvcV1DisksDiskIdPutResponse parses an HTTP response from a UpdateDiskSvcV1DisksDiskIdPutWithResponse call
func (UpdateDiskSvcV1DisksDiskIdPutResponse) ContentType ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetBody ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON200 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON200() *PublicDiskResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON401 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON403 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON404 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON404() *[]DiskNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON409 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON409() *[]DiskAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON422 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON422() *[]WrongDiskTypeByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON500 ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateDiskSvcV1DisksDiskIdPutResponse) Status ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDiskSvcV1DisksDiskIdPutResponse) StatusCode ¶
func (r UpdateDiskSvcV1DisksDiskIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody ¶
type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody = FloatingIpUpdateRequest
UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutJSONRequestBody defines body for UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPut for application/json ContentType.
type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse ¶
type UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicFloatingIpResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]FloatingIpNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]InterfaceAlreadyConnectedAnotherFloatingIpSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse ¶
func ParseUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse(rsp *http.Response) (*UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse, error)
ParseUpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse parses an HTTP response from a UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutWithResponse call
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) ContentType ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetBody ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON200 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON200() *PublicFloatingIpResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON401 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON403 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON404 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON404() *[]FloatingIpNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON422 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON422() *[]InterfaceAlreadyConnectedAnotherFloatingIpSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON500 ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) Status ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) StatusCode ¶
func (r UpdateFloatingIpSvcV1FloatingIpsFloatingIpIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateImageSvcV1ImagesImageIdPutJSONRequestBody ¶
type UpdateImageSvcV1ImagesImageIdPutJSONRequestBody = PublicImageUpdateRequest
UpdateImageSvcV1ImagesImageIdPutJSONRequestBody defines body for UpdateImageSvcV1ImagesImageIdPut for application/json ContentType.
type UpdateImageSvcV1ImagesImageIdPutResponse ¶
type UpdateImageSvcV1ImagesImageIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicImageResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]ImageNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongAvailabilityZoneForImageExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateImageSvcV1ImagesImageIdPutResponse ¶
func ParseUpdateImageSvcV1ImagesImageIdPutResponse(rsp *http.Response) (*UpdateImageSvcV1ImagesImageIdPutResponse, error)
ParseUpdateImageSvcV1ImagesImageIdPutResponse parses an HTTP response from a UpdateImageSvcV1ImagesImageIdPutWithResponse call
func (UpdateImageSvcV1ImagesImageIdPutResponse) ContentType ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetBody ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON200 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON200() *PublicImageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON401 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON403 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON404 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON404() *[]ImageNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON422 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON422() *[]WrongAvailabilityZoneForImageExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON500 ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateImageSvcV1ImagesImageIdPutResponse) Status ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateImageSvcV1ImagesImageIdPutResponse) StatusCode ¶
func (r UpdateImageSvcV1ImagesImageIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONBody ¶
type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONBody = []VmSetStateRequest
UpdateMultipleVmStatesPublicSvcV1VmsPutJSONBody defines parameters for UpdateMultipleVmStatesPublicSvcV1VmsPut.
type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody ¶
type UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody = UpdateMultipleVmStatesPublicSvcV1VmsPutJSONBody
UpdateMultipleVmStatesPublicSvcV1VmsPutJSONRequestBody defines body for UpdateMultipleVmStatesPublicSvcV1VmsPut for application/json ContentType.
type UpdateMultipleVmStatesPublicSvcV1VmsPutResponse ¶
type UpdateMultipleVmStatesPublicSvcV1VmsPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateMultipleVmStatesPublicSvcV1VmsPutResponse ¶
func ParseUpdateMultipleVmStatesPublicSvcV1VmsPutResponse(rsp *http.Response) (*UpdateMultipleVmStatesPublicSvcV1VmsPutResponse, error)
ParseUpdateMultipleVmStatesPublicSvcV1VmsPutResponse parses an HTTP response from a UpdateMultipleVmStatesPublicSvcV1VmsPutWithResponse call
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) ContentType ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetBody ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON401 ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON403 ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON422 ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON500 ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) Status ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) StatusCode ¶
func (r UpdateMultipleVmStatesPublicSvcV1VmsPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody ¶
type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody = NATGatewayUpdateRequest
UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutJSONRequestBody defines body for UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPut for application/json ContentType.
type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse ¶
type UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicNATGatewayResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]NATGatewayNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVdcExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse ¶
func ParseUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse(rsp *http.Response) (*UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse, error)
ParseUpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse parses an HTTP response from a UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutWithResponse call
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) ContentType ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetBody ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON200 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON200() *PublicNATGatewayResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON401 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON403 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON404 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON404() *[]NATGatewayNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON422 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON422() *[]WrongVdcExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON500 ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) Status ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) StatusCode ¶
func (r UpdateNatGatewaySvcV1NatGatewaysNatGatewayIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody ¶
type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody = PlacementGroupUpdateRequest
UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutJSONRequestBody defines body for UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPut for application/json ContentType.
type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse ¶
type UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicPlacementGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]PlacementGroupNotFoundExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]PlacementGroupAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]PlacementGroupBadCreationParamsExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse ¶
func ParseUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse(rsp *http.Response) (*UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse, error)
ParseUpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse parses an HTTP response from a UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutWithResponse call
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) ContentType ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetBody ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON200 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON200() *PublicPlacementGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON401 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON403 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON404 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON404() *[]PlacementGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON409 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON409() *[]PlacementGroupAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON422 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON422() *[]PlacementGroupBadCreationParamsExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON500 ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) Status ¶
Status returns HTTPResponse.Status
func (UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) StatusCode ¶
func (r UpdatePlacementGroupByIdSvcV1PlacementGroupsPlacementGroupIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProtectionPlanRequestBody ¶
type UpdateProtectionPlanRequestBody struct {
// Description Описание плана резервного копирования.
Description *string `json:"description,omitempty"`
// Name Название плана резервного копирования.
Name *string `json:"name,omitempty"`
// Resources Ресурсы, включенные в план.
Resources *[]ProtectionPlanResourceRequestSchema `json:"resources,omitempty"`
// Schedules Расписание плана резервного копирования.
Schedules *[]ProtectionPlanScheduleRequestSchema `json:"schedules,omitempty"`
}
UpdateProtectionPlanRequestBody defines model for UpdateProtectionPlanRequestBody.
type UpdateProtectionPlanResponseSchema ¶
type UpdateProtectionPlanResponseSchema struct {
// AvailabilityZone Зона доступности.
AvailabilityZone AvailabilityZoneLiteSchema `json:"availability_zone"`
// Backups Резервные копии.
Backups []BackupLiteSchema `json:"backups"`
// CreatedAt Дата и время создания плана резервного копирования.
CreatedAt time.Time `json:"created_at"`
// Description Описание плана резервного копирования.
Description *string `json:"description,omitempty"`
// Id Идентификатор плана резервного копирования
Id string `json:"id"`
// Name Название плана резервного копирования.
Name string `json:"name"`
// ProjectId Идентификатор проекта.
ProjectId string `json:"project_id"`
// Resources Ресурсы, включенные в план.
Resources []ProtectionPlanResourceResponseSchema `json:"resources"`
// Schedules Расписание плана резервного копирования.
Schedules []ProtectionPlanScheduleResponseSchema `json:"schedules"`
// State Статус плана резервного копирования:
//
// - “creating“ — план создается;
// - “created“ — план создан;
// - “error_creating“ — ошибка создания;
// - “updating“ — план обновляется;
// - “error“ — ошибка;
// - “deleting“ — план удаляется;
// - “error_deleting“ — ошибка удаления.
State ProtectionPlanState `json:"state"`
// Type Тип резервной копии:
//
// - “full“ — полная копия;
// - “incremental“ — инкрементальная копия.
Type *BackupType `json:"type,omitempty"`
// UpdatedAt Дата и время обновления плана резервного копирования.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
UpdateProtectionPlanResponseSchema defines model for UpdateProtectionPlanResponseSchema.
type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody ¶
type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody = UpdateProtectionPlanRequestBody
UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutJSONRequestBody defines body for UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPut for application/json ContentType.
type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse ¶
type UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateProtectionPlanResponseSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse ¶
func ParseUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse(rsp *http.Response) (*UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse, error)
ParseUpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse parses an HTTP response from a UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutWithResponse call
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) ContentType ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetBody ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON200 ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON200() *UpdateProtectionPlanResponseSchema
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON422 ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) Status ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) StatusCode ¶
func (r UpdateProtectionPlanSvcV1ProtectionPlansProtectionPlanIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody ¶
type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody = InterfaceUpdateRequest
UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutJSONRequestBody defines body for UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPut for application/json ContentType.
type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse ¶
type UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicInterfaceResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]InterfaceNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse ¶
func ParseUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse(rsp *http.Response) (*UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse, error)
ParseUpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse parses an HTTP response from a UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutWithResponse call
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) ContentType ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetBody ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON200 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON200() *PublicInterfaceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON401 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON403 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON404 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON404() *[]InterfaceNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON422 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON500 ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) Status ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) StatusCode ¶
func (r UpdatePublicInterfaceSvcV1InterfacesInterfaceIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody ¶
type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody = SecurityGroupRuleUpdateRequest
UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutJSONRequestBody defines body for UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPut for application/json ContentType.
type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse ¶
type UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSecurityGroupRuleResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupRuleNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongSecurityGroupByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse ¶
func ParseUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse(rsp *http.Response) (*UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse, error)
ParseUpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse parses an HTTP response from a UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutWithResponse call
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) ContentType ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetBody ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON200 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON200() *PublicSecurityGroupRuleResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON401 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON403 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON404 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON404() *[]SecurityGroupRuleNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON422 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON422() *[]WrongSecurityGroupByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON500 ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) Status ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) StatusCode ¶
func (r UpdateSecurityGroupRuleSvcV1SecurityGroupsSecurityGroupIdRulesSecurityGroupRuleIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody ¶
type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody = SecurityGroupUpdateRequest
UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutJSONRequestBody defines body for UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPut for application/json ContentType.
type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse ¶
type UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSecurityGroupResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SecurityGroupNotFoundExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse ¶
func ParseUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse(rsp *http.Response) (*UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse, error)
ParseUpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse parses an HTTP response from a UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutWithResponse call
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) ContentType ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetBody ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON200 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON200() *PublicSecurityGroupResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON401 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON403 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON404 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON404() *[]SecurityGroupNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON422 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON422() *[]SecurityGroupCannotBeChangedFromCurrentStateExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON500 ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) Status ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) StatusCode ¶
func (r UpdateSecurityGroupSvcV1SecurityGroupsSecurityGroupIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody ¶
type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody = PublicSubnetUpdateRequest
UpdateSubnetByIdSvcV1SubnetsSubnetIdPutJSONRequestBody defines body for UpdateSubnetByIdSvcV1SubnetsSubnetIdPut for application/json ContentType.
type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse ¶
type UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicSubnetResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *[]SubnetNotFoundExceptionSchema
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *[]SubnetAlreadyExistsExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongTagByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse ¶
func ParseUpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse(rsp *http.Response) (*UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse, error)
ParseUpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse parses an HTTP response from a UpdateSubnetByIdSvcV1SubnetsSubnetIdPutWithResponse call
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) ContentType ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetBody ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON200 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON200() *PublicSubnetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON401 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON403 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON404 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON404() *[]SubnetNotFoundExceptionSchema
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON409 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON409() *[]SubnetAlreadyExistsExceptionSchema
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON422 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON422() *[]WrongTagByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON500 ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) Status ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) StatusCode ¶
func (r UpdateSubnetByIdSvcV1SubnetsSubnetIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVmSvcV1VmsVmIdPutJSONRequestBody ¶
type UpdateVmSvcV1VmsVmIdPutJSONRequestBody = VmUpdateRequest
UpdateVmSvcV1VmsVmIdPutJSONRequestBody defines body for UpdateVmSvcV1VmsVmIdPut for application/json ContentType.
type UpdateVmSvcV1VmsVmIdPutResponse ¶
type UpdateVmSvcV1VmsVmIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicVmResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongVmByIdExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseUpdateVmSvcV1VmsVmIdPutResponse ¶
func ParseUpdateVmSvcV1VmsVmIdPutResponse(rsp *http.Response) (*UpdateVmSvcV1VmsVmIdPutResponse, error)
ParseUpdateVmSvcV1VmsVmIdPutResponse parses an HTTP response from a UpdateVmSvcV1VmsVmIdPutWithResponse call
func (UpdateVmSvcV1VmsVmIdPutResponse) ContentType ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVmSvcV1VmsVmIdPutResponse) GetBody ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVmSvcV1VmsVmIdPutResponse) GetJSON200 ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON200() *PublicVmResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateVmSvcV1VmsVmIdPutResponse) GetJSON401 ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateVmSvcV1VmsVmIdPutResponse) GetJSON403 ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateVmSvcV1VmsVmIdPutResponse) GetJSON422 ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON422() *[]WrongVmByIdExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateVmSvcV1VmsVmIdPutResponse) GetJSON500 ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (UpdateVmSvcV1VmsVmIdPutResponse) Status ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVmSvcV1VmsVmIdPutResponse) StatusCode ¶
func (r UpdateVmSvcV1VmsVmIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams ¶
type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams struct {
// EntityType Тип сущности.
EntityType EntityTypeWithUniqueNameWithinProject `form:"entity_type" json:"entity_type"`
// Names Названия сущности.
Names []string `form:"names" json:"names"`
}
ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetParams defines parameters for ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGet.
type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse ¶
type ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectValidateNameResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *[]AuthUnauthorizedExceptionSchema
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *[]AuthForbiddenExceptionSchema
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *[]WrongProjectExceptionSchema
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *[]APIExceptionSchema
}
func ParseValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse ¶
func ParseValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse(rsp *http.Response) (*ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse, error)
ParseValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse parses an HTTP response from a ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetWithResponse call
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) ContentType ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetBody ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON200 ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON200() *ProjectValidateNameResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON401 ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON401() *[]AuthUnauthorizedExceptionSchema
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON403 ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON403() *[]AuthForbiddenExceptionSchema
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON422 ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON422() *[]WrongProjectExceptionSchema
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON500 ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) GetJSON500() *[]APIExceptionSchema
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) Status ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) Status() string
Status returns HTTPResponse.Status
func (ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) StatusCode ¶
func (r ValidateNameWithinProjectForPublicSvcV1ProjectsProjectIdValidateNameGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError struct {
// Loc Расположение ошибки.
Loc []ValidationError_Loc_Item `json:"loc"`
// Msg Сообщение об ошибке.
Msg string `json:"msg"`
// Type Тип ошибки.
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for ValidationError.Loc.0.
type ValidationErrorLoc1 ¶
type ValidationErrorLoc1 = int
ValidationErrorLoc1 defines model for ValidationError.Loc.1.
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type VmCanNotBeDeletedFromCurrentStateExceptionSchema ¶
type VmCanNotBeDeletedFromCurrentStateExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
VmCanNotBeDeletedFromCurrentStateExceptionSchema defines model for VmCanNotBeDeletedFromCurrentStateExceptionSchema.
type VmCreateInterfaceSection ¶
type VmCreateInterfaceSection struct {
// AttachExternalIpId Идентификатор публичного IP-адреса, который будет назначен интерфейсу.
//
// Укажите один из параметров: `attach_external_ip_id` или `attach_external_ip_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы свободных публичных IP-адресов можно получить, выполнив запрос [Get /api/v1/floating_ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get) с параметром `free=true`.
AttachExternalIpId *openapi_types.UUID `json:"attach_external_ip_id,omitempty"`
// AttachExternalIpName Название публичного IP-адреса, который будет назначен интерфейсу.
//
// Укажите один из параметров: `attach_external_ip_id` или `attach_external_ip_name`.
// Нельзя указывать оба параметра одновременно.
// Названия свободных публичных IP-адресов можно получить, выполните запрос [Get /api/v1/floating_ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get) с параметром `free=true`.
AttachExternalIpName *string `json:"attach_external_ip_name,omitempty"`
// IpAddress Внутренний IP-адрес.
// Параметр задается, если выбран тип интерфейса `regular`.
// Если параметр не задан и тип интерфейса `regular`, внутренний IP-адрес будет назначен интерфейсу автоматически.
IpAddress *string `json:"ip_address,omitempty"`
// NewExternalIp Если выбрано `true`, интерфейсу будет назначен новый публичный IP-адрес.
NewExternalIp *bool `json:"new_external_ip,omitempty"`
// SecurityGroupNames Названия групп безопасности.
//
// Чтобы назначить группу безопасности, укажите один из параметров: `security_groups` или `security_group_names`.
// Нельзя указывать оба параметра одновременно.
// Название группы безопасности можно получить, выполнив запрос [GET /api/v1/security-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroupNames *[]string `json:"security_group_names,omitempty"`
// SecurityGroups Идентификаторы групп безопасности.
//
// Чтобы назначить группу безопасности, укажите один из параметров: `security_groups` или `security_group_names`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор группы безопасности можно получить, выполнив запрос [GET /api/v1/security-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroups *[]openapi_types.UUID `json:"security_groups,omitempty"`
// SubnetId Идентификатор подсети.
// Если интерфейс `regular`, назначьте подсеть, к которой будет подключена ВМ.
//
// Укажите один из параметров: `subnet_id` или `subnet_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Идентификатор подсети можно получить, выполнив запрос [GET /api/v1/subnets](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
SubnetId *openapi_types.UUID `json:"subnet_id,omitempty"`
// SubnetName Название подсети.
// Если интерфейс `regular`, назначьте подсеть, к которой будет подключена ВМ.
//
// Укажите один из параметров: `subnet_id` или `subnet_name`.
// Нельзя указывать оба параметра одновременно или оставлять оба пустыми.
// Название подсети можно получить, выполнив запрос [GET /api/v1/subnets](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
SubnetName *string `json:"subnet_name,omitempty"`
// Type Тип интерфейса:
// - `regular` — обычный, подключение к подсети внутри платформы;
// - `direct_ip` — прямой публичный IP-адрес для обмена трафиком с интернетом.
//
// Обязательный параметр.
Type InterfaceTypeForVmCreationEnum `json:"type"`
}
VmCreateInterfaceSection defines model for VmCreateInterfaceSection.
type VmCreateMetadataByIdSection ¶
type VmCreateMetadataByIdSection struct {
// ImageMetadataId Идентификатор поля метаданных — значение параметра `"id"` в ответе запроса `GET /api/v1/images/:image_id`.
ImageMetadataId openapi_types.UUID `json:"image_metadata_id"`
// Value Значение поля метаданных, которое будет передано в ВМ.
Value string `json:"value"`
}
VmCreateMetadataByIdSection defines model for VmCreateMetadataByIdSection.
type VmCreateSubnetSection ¶
type VmCreateSubnetSection struct {
// AttachFloatingIpId Идентификатор публичного IP-адреса, который будет назначен виртуальной машине.
// Идентификаторы доступных публичных IP-адресов можно получить, выполнив запрос [GET /api/v1/floating-ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get).
AttachFloatingIpId *openapi_types.UUID `json:"attach_floating_ip_id,omitempty"`
// AttachFloatingIpName Название публичного IP-адреса, который будет назначен виртуальной машине.
// Названия доступных публичных IP-адресов можно получить, выполнив запрос [GET /api/v1/floating-ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get).
AttachFloatingIpName *string `json:"attach_floating_ip_name,omitempty"`
// IpAddress IP-адрес.
IpAddress *string `json:"ip_address,omitempty"`
// NewFloatingIp Если выбрано `true`, сетевому интерфейсу будет назначен новый публичный IP-адрес.
NewFloatingIp *bool `json:"new_floating_ip,omitempty"`
// SecurityGroupNames Названия групп безопасности.
//
// Укажите один из параметров: `security_groups` или `security_group_names`.
// Нельзя указывать оба параметра одновременно.
// Название группы безопасности можно получить, выполнив запрос [GET /api/v1/security_groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroupNames *[]string `json:"security_group_names,omitempty"`
// SecurityGroups Идентификаторы групп безопасности.
//
// Укажите один из параметров: `security_groups` или `security_group_names`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор группы безопасности можно получить, выполнив запрос [GET /api/v1/security_groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroups *[]openapi_types.UUID `json:"security_groups,omitempty"`
// SubnetId Идентификатор подсети.
//
// Укажите один из параметров: `subnet_id` или `subnet_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификатор подсети можно получить, выполнив запрос [GET /api/v1/subnets](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
SubnetId *openapi_types.UUID `json:"subnet_id,omitempty"`
// SubnetName Название подсети.
//
// Укажите один из параметров: `subnet_id` или `subnet_name`.
// Нельзя указывать оба параметра одновременно.
// Название подсети можно получить, выполнив запрос [GET /api/v1/subnets](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
SubnetName *string `json:"subnet_name,omitempty"`
}
VmCreateSubnetSection defines model for VmCreateSubnetSection.
type VmDeleteAttachmentsRequest ¶
type VmDeleteAttachmentsRequest struct {
// DiskIds Идентификаторы дисков, которые удаляются вместе с виртуальной машиной.
// Идентификаторы дисков ВМ можно получить, выполнив запрос [GET /api/v1/vms/{vm_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vm_by_id_svc_v1_vms__vm_id__get).
DiskIds []openapi_types.UUID `json:"disk_ids"`
// ExternalIps Идентификаторы публичных IP-адресов, которые удаляются вместе с виртуальной машиной. Идентификатор публичного IP-адреса ВМ можно получить, выполнив запрос [GET /api/v1/vms/{vm_id}](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vm_by_id_svc_v1_vms__vm_id__get).
ExternalIps []openapi_types.UUID `json:"external_ips"`
}
VmDeleteAttachmentsRequest Ресурсы, которые удаляются вместе с виртуальной машиной.
type VmDeletePasswordRequest ¶
type VmDeletePasswordRequest struct {
// Login Логин пользователя, пароль которого нужно удалить.
Login *string `json:"login,omitempty"`
}
VmDeletePasswordRequest defines model for VmDeletePasswordRequest.
type VmDeleteRequest ¶
type VmDeleteRequest struct {
// DeleteAttachments Ресурсы, которые удаляются вместе с виртуальной машиной.
DeleteAttachments *VmDeleteAttachmentsRequest `json:"delete_attachments,omitempty"`
}
VmDeleteRequest defines model for VmDeleteRequest.
type VmDiskLiteSchema ¶
type VmDiskLiteSchema struct {
DiskType DiskTypeLiteSchema `json:"disk_type"`
// Id Идентификатор диска.
Id string `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для нового размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// Name Название диска.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId string `json:"serial_id"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска.
State string `json:"state"`
}
VmDiskLiteSchema defines model for VmDiskLiteSchema.
type VmDisksResponseSection ¶
type VmDisksResponseSection struct {
// DiskType Тип диска.
DiskType VmResponseDiskTypeSection `json:"disk_type"`
// Id Идентификатор диска.
Id openapi_types.UUID `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw int `json:"limit_bw"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для этого размера.
LimitLock bool `json:"limit_lock"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate int `json:"limit_rate"`
// Name Название диска.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
// State Статус диска:
// - `available` — доступен;
// - `in_use` — используется;
// - `reserved` — зарезервирован;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `updating` — обновляется;
// - `deleting` — удаляется;
// - `attaching` — подключается;
// - `detaching` — отключается.
State DiskState `json:"state"`
// Tags Теги.
Tags []TagMiniResponse `json:"tags"`
}
VmDisksResponseSection defines model for VmDisksResponseSection.
type VmGuestAgentState ¶
type VmGuestAgentState string
VmGuestAgentState Статус Compute Agent: - `enabled` — включен; - `disabled` — выключен; - `unavailable` — недоступен; - `not_installed` — не установлен; - `error` — ошибка.
const ( VmGuestAgentStateDisabled VmGuestAgentState = "disabled" VmGuestAgentStateEnabled VmGuestAgentState = "enabled" VmGuestAgentStateError VmGuestAgentState = "error" VmGuestAgentStateNotInstalled VmGuestAgentState = "not_installed" )
Defines values for VmGuestAgentState.
func (VmGuestAgentState) Valid ¶
func (e VmGuestAgentState) Valid() bool
Valid indicates whether the value is a known member of the VmGuestAgentState enum.
type VmHasReferencesExceptionSchema ¶
type VmHasReferencesExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
VmHasReferencesExceptionSchema defines model for VmHasReferencesExceptionSchema.
type VmImageLiteSchema ¶
type VmImageLiteSchema struct {
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// FreeTierEnabled Если указано `true`, образ можно использовать для бесплатных (free tier) ВМ.
FreeTierEnabled bool `json:"free_tier_enabled"`
// Icon Значок образа в SVG.
Icon string `json:"icon"`
// Id Идентификатор образа.
Id string `json:"id"`
// Name Название образа.
Name string `json:"name"`
// Type Тип образа.
Type string `json:"type"`
}
VmImageLiteSchema defines model for VmImageLiteSchema.
type VmMetadataLiteSchema ¶
type VmMetadataLiteSchema struct {
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// Id Идентификатор поля метаданных.
Id string `json:"id"`
// MetadataId Идентификатор метаданных.
MetadataId string `json:"metadata_id"`
// Name Название.
Name string `json:"name"`
// Value Значение.
Value string `json:"value"`
}
VmMetadataLiteSchema defines model for VmMetadataLiteSchema.
type VmMetadataResponseSection ¶
type VmMetadataResponseSection struct {
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// Id Идентификатор поля метаданных.
Id openapi_types.UUID `json:"id"`
// MetadataId Идентификатор метаданных.
MetadataId openapi_types.UUID `json:"metadata_id"`
// Name Название.
Name string `json:"name"`
// Value Значение.
Value string `json:"value"`
}
VmMetadataResponseSection defines model for VmMetadataResponseSection.
type VmMiniResponse ¶
type VmMiniResponse struct {
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Name Название виртуальной машины.
Name string `json:"name"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
}
VmMiniResponse Виртуальная машина.
type VmNotFoundExceptionSchema ¶
type VmNotFoundExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
VmNotFoundExceptionSchema defines model for VmNotFoundExceptionSchema.
type VmOrderByFields ¶
type VmOrderByFields string
VmOrderByFields Определяет поле, по которому будут отсортированы результаты: `created_time` — дата создания ВМ, `name` — название ВМ.
const ( VmOrderByFieldsCreatedTime VmOrderByFields = "created_time" VmOrderByFieldsName VmOrderByFields = "name" )
Defines values for VmOrderByFields.
func (VmOrderByFields) Valid ¶
func (e VmOrderByFields) Valid() bool
Valid indicates whether the value is a known member of the VmOrderByFields enum.
type VmParamTypes ¶
type VmParamTypes string
VmParamTypes Тип параметра.
const (
VmParamTypesVmState VmParamTypes = "vm-state"
)
Defines values for VmParamTypes.
func (VmParamTypes) Valid ¶
func (e VmParamTypes) Valid() bool
Valid indicates whether the value is a known member of the VmParamTypes enum.
type VmPowerEnum ¶
type VmPowerEnum string
VmPowerEnum Команда для управления питанием ВМ: - `power_on` — запустить ВМ; - `power_off` — остановить ВМ; - `reboot` — перезагрузить ВМ.
const ( VmPowerEnumPowerOff VmPowerEnum = "power_off" VmPowerEnumPowerOn VmPowerEnum = "power_on" VmPowerEnumReboot VmPowerEnum = "reboot" )
Defines values for VmPowerEnum.
func (VmPowerEnum) Valid ¶
func (e VmPowerEnum) Valid() bool
Valid indicates whether the value is a known member of the VmPowerEnum enum.
type VmRemoteConsoleProtocol ¶
type VmRemoteConsoleProtocol string
VmRemoteConsoleProtocol Тип удаленной консоли: `vnc` — виртуальная консоль, `serial` — серийная консоль.
const ( VmRemoteConsoleProtocolSerial VmRemoteConsoleProtocol = "serial" VmRemoteConsoleProtocolVnc VmRemoteConsoleProtocol = "vnc" )
Defines values for VmRemoteConsoleProtocol.
func (VmRemoteConsoleProtocol) Valid ¶
func (e VmRemoteConsoleProtocol) Valid() bool
Valid indicates whether the value is a known member of the VmRemoteConsoleProtocol enum.
type VmResource ¶
type VmResource struct {
// AvailabilityZone Зона доуступности.
AvailabilityZone ResourceAvailabilityZone `json:"availability_zone"`
// CreatedTime Дата и время создания ресурса.
CreatedTime time.Time `json:"created_time"`
// Description Описание.
Description *string `json:"description,omitempty"`
// Disks Диски.
Disks *[]VmResourceDisk `json:"disks,omitempty"`
// Flavor Флейвор.
Flavor VmResourceFlavor `json:"flavor"`
// Hidden Если указано `true`, ресурс скрыт для пользователей.
Hidden bool `json:"hidden"`
// Id Идентификатор ресурса.
Id string `json:"id"`
// Image Образ.
Image VmResourceImage `json:"image"`
// Interfaces Интерфейсы.
Interfaces *[]VmResourceInterface `json:"interfaces,omitempty"`
// MetadataFields Поля метаданных.
MetadataFields *[]MetadataField `json:"metadata_fields,omitempty"`
// ModifiedTime Дата и время последнего изменения ресурса.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название ресурса.
Name string `json:"name"`
// PlacementGroup Группы размещения.
PlacementGroup *VmResourcePlacementGroup `json:"placement_group,omitempty"`
// Project Проект.
Project ResourceProjectSchema `json:"project"`
// Tags Теги.
Tags *[]TagLiteSchema `json:"tags,omitempty"`
}
VmResource defines model for VmResource.
type VmResourceDisk ¶
type VmResourceDisk struct {
// DiskType Тип диска.
DiskType VmResourceDiskType `json:"disk_type"`
// Id Идентификатор диска.
Id string `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw *int `json:"limit_bw,omitempty"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для этого размера.
LimitLock *bool `json:"limit_lock,omitempty"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate *int `json:"limit_rate,omitempty"`
// Name Название диска.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
}
VmResourceDisk defines model for VmResourceDisk.
type VmResourceDiskType ¶
type VmResourceDiskType struct {
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
VmResourceDiskType Тип диска.
type VmResourceFlavor ¶
type VmResourceFlavor struct {
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора.
Id string `json:"id"`
// Name Название флейвора.
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
VmResourceFlavor Флейвор.
type VmResourceFloatingIp ¶
type VmResourceFloatingIp map[string]interface{}
VmResourceFloatingIp defines model for VmResourceFloatingIp.
type VmResourceImage ¶
type VmResourceImage struct {
// Id Идентификатор образа.
Id string `json:"id"`
// Name Название образа.
Name string `json:"name"`
}
VmResourceImage Образ виртуальной машины.
type VmResourceInterface ¶
type VmResourceInterface struct {
// FloatingIp Публичный IP-адрес.
FloatingIp *VmResourceFloatingIp `json:"floating_ip,omitempty"`
// Id Идентификатор интерфейса.
Id string `json:"id"`
// IpAddress IP-адрес интерфейса.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// SecurityGroups Группы безопасности.
SecurityGroups *[]VmResourceSecurityGroup `json:"security_groups,omitempty"`
// Subnet Подсеть.
Subnet *VmResourceSubnet `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmResourceInterface defines model for VmResourceInterface.
type VmResourcePlacementGroup ¶
type VmResourcePlacementGroup struct {
// Id Идентификатор группы размещения.
Id string `json:"id"`
// Name Название группы размещения.
Name string `json:"name"`
}
VmResourcePlacementGroup defines model for VmResourcePlacementGroup.
type VmResourceSecurityGroup ¶
type VmResourceSecurityGroup struct {
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
}
VmResourceSecurityGroup defines model for VmResourceSecurityGroup.
type VmResourceSubnet ¶
type VmResourceSubnet struct {
// Id Идентификатор подсети.
Id string `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
}
VmResourceSubnet defines model for VmResourceSubnet.
type VmResponseDiskTypeSection ¶
type VmResponseDiskTypeSection struct {
// Id Идентификатор типа диска.
Id openapi_types.UUID `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
VmResponseDiskTypeSection Тип диска.
type VmResponseFreeTierInterfaceSection ¶
type VmResponseFreeTierInterfaceSection struct {
// FloatingIp Публичный IP-адрес.
FloatingIp *FloatingIpWithNameMiniResponse `json:"floating_ip,omitempty"`
// Id Идентификатор интерфейса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес.
IpAddress string `json:"ip_address"`
// Name Название.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []SecurityGroupMiniResponse `json:"security_groups"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmResponseFreeTierInterfaceSection defines model for VmResponseFreeTierInterfaceSection.
type VmResponseInterfaceSection ¶
type VmResponseInterfaceSection struct {
// FloatingIp Публичный IP-адрес.
FloatingIp *FloatingIpWithNameMiniResponse `json:"floating_ip,omitempty"`
// Id Идентификатор сетевого интерфейса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес интерфейса.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// SecurityGroups Группы безопасности.
SecurityGroups []SecurityGroupMiniResponse `json:"security_groups"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Subnet Подсеть.
Subnet *SubnetWithAddressMiniResponse `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmResponseInterfaceSection defines model for VmResponseInterfaceSection.
type VmResponseItemInterfaceSection ¶
type VmResponseItemInterfaceSection struct {
// FloatingIp Публичный IP-адрес.
FloatingIp *FloatingIpWithNameMiniResponse `json:"floating_ip,omitempty"`
// Id Идентификатор сетевого интерфейса.
Id openapi_types.UUID `json:"id"`
// IpAddress IP-адрес интерфейса.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// Primary Если укаазно `true`, интерфейс является основным для ВМ.
Primary bool `json:"primary"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
// Subnet Подсеть.
Subnet *SubnetWithAddressMiniResponse `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmResponseItemInterfaceSection defines model for VmResponseItemInterfaceSection.
type VmRestore ¶
type VmRestore struct {
AvailabilityZone VmRestoreAvailabilityZone `json:"availability_zone"`
// CreatedTime Время и дата создания.
CreatedTime time.Time `json:"created_time"`
// Description Описание восстановленного ресурса.
Description *string `json:"description,omitempty"`
// Disks Диски.
Disks *[]VmRestoreDisk `json:"disks,omitempty"`
Flavor VmRestoreFlavor `json:"flavor"`
// Id Идентификатор восстановленного ресурса.
Id string `json:"id"`
Image VmRestoreImage `json:"image"`
// Interfaces Интерфейсы.
Interfaces *[]VmRestoreInterface `json:"interfaces,omitempty"`
// MetadataFields Параметры метаданных.
MetadataFields *[]MetadataField `json:"metadata_fields,omitempty"`
// ModifiedTime Время и дата обновления.
ModifiedTime *time.Time `json:"modified_time,omitempty"`
// Name Название восстановленного ресурса.
Name string `json:"name"`
PlacementGroup *VmRestorePlacementGroup `json:"placement_group,omitempty"`
// Project Проект, в котором расположен ресурс.
Project ResourceProjectSchema `json:"project"`
// Tags Теги.
Tags *[]TagLiteSchema `json:"tags,omitempty"`
}
VmRestore Конфигурация виртуальной машины для восстановления.
type VmRestoreAvailabilityZone ¶
type VmRestoreAvailabilityZone struct {
// Available ?
Available bool `json:"available"`
// Id Идентификатор зоны доступности.
Id string `json:"id"`
// Name Название зоны доступности.
Name string `json:"name"`
}
VmRestoreAvailabilityZone defines model for VmRestoreAvailabilityZone.
type VmRestoreConfig ¶
type VmRestoreConfig struct {
// Description Описание ресурса.
Description *string `json:"description,omitempty"`
// Disks Диски, которые будут подключены к ВМ при восстановлении.
Disks *[]VmRestoreDiskRestoreConfig `json:"disks,omitempty"`
// FlavorId Идентификатор флейвора.
// Укажите только один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorId *string `json:"flavor_id,omitempty"`
// FlavorName Название флейвора.
// Укажите только один из параметров: `flavor_id` или `flavor_name`.
// Нельзя указывать оба параметра одновременно.
// Названия флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorName *string `json:"flavor_name,omitempty"`
// Interfaces Интерфейсы, которые будут добавлены ВМ при восстановлении.
// Рекомендуется добавить хотя бы один интерфейс.
// Если не указывать этот параметр, ВМ будет создана без интерфейса и не будет иметь связи с внешними и внутренними сетями.
// Вы сможете назначить интерфейс позже через параметры ВМ в личном кабинете или выполнив запрос [POST /api/v1/interfaces](https://dev.site.sbercloud.dev/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Interfaces/operation/create_interface_svc_v1_interfaces_post).
Interfaces *[]VmRestoreInterfaceConfig `json:"interfaces,omitempty"`
// Name Название ресурса.
Name string `json:"name"`
}
VmRestoreConfig defines model for VmRestoreConfig.
type VmRestoreDisk ¶
type VmRestoreDisk struct {
DiskType VmRestoreDiskType `json:"disk_type"`
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор ресурса.
Id string `json:"id"`
// LimitBw Ограничение пропускной способности (bandwidth) в Мбит/с.
LimitBw *int `json:"limit_bw,omitempty"`
// LimitLock Параметр влияет на автоматическое изменение значений `limit_bw` и `limit_rate` при изменении размера диска:
// - Если указано `true`, значения `limit_bw` и `limit_rate` не изменяются.
// - Если указано `false`, значения `limit_bw` и `limit_rate` изменяются на значения по умолчанию для нового размера.
LimitLock *bool `json:"limit_lock,omitempty"`
// LimitRate Ограничение скорости передачи данных в МБ/с.
LimitRate *int `json:"limit_rate,omitempty"`
// Name Название ресурса.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным.
Primary bool `json:"primary"`
// SerialId Серийный номер диска.
SerialId *string `json:"serial_id,omitempty"`
// Size Размер диска в ГБ.
Size int `json:"size"`
}
VmRestoreDisk defines model for VmRestoreDisk.
type VmRestoreDiskRestoreConfig ¶
type VmRestoreDiskRestoreConfig struct {
// Description Описание диска.
Description *string `json:"description,omitempty"`
// DiskTypeId Идентификатор типа диска, который будет прикреплен к ВМ при восстановлении.
// Укажите один из параметров: “disk_type_id“ или “disk_type_name“.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы типов дисков можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeId *string `json:"disk_type_id,omitempty"`
// DiskTypeName Название типа диска, который будет прикреплен к ВМ при восстановлении.
// Укажите один из параметров: “disk_type_id“ или “disk_type_name“.
// Нельзя указывать оба параметра одновременно.
// Названия типов дисков можно получить, выполнив запрос [GET /api/v1/disk-types](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Disk-Types/operation/get_disk_types_svc_v1_disk_types_get).
DiskTypeName *string `json:"disk_type_name,omitempty"`
// Name Название диска, который будет прикреплен к ВМ при восстановлении.
Name string `json:"name"`
// RelatedDiskId Идентификатор диска, который будет прикреплен к ВМ при восстановлении.
RelatedDiskId *string `json:"related_disk_id,omitempty"`
}
VmRestoreDiskRestoreConfig defines model for VmRestoreDiskRestoreConfig.
type VmRestoreDiskType ¶
type VmRestoreDiskType struct {
// Available Если указано `true`, тип диска доступен для использования.
Available bool `json:"available"`
// FreeTier Если указано `true`, тип диска можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Id Идентификатор типа диска.
Id string `json:"id"`
// Name Название типа диска.
Name string `json:"name"`
}
VmRestoreDiskType defines model for VmRestoreDiskType.
type VmRestoreFlavor ¶
type VmRestoreFlavor struct {
// Available Если указано `true`, флейвор доступен для использования.
Available bool `json:"available"`
// Cpu Количество виртуальных процессоров — vCPU.
Cpu int `json:"cpu"`
// FreeTier Если указано `true`, флейвор можно использовать для бесплатной ВМ (free tier).
FreeTier *bool `json:"free_tier,omitempty"`
// Gpu Количество графических процессоров — GPU.
Gpu int `json:"gpu"`
// Id Идентификатор флейвора
Id string `json:"id"`
// Name Название флейвора
Name string `json:"name"`
// Oversubscription Гарантированная доля vCPU: `1:1` — 100%, `1:3` — 30%, `1:10` — 10%.
Oversubscription string `json:"oversubscription"`
// Ram Объем оперативной памяти (RAM) в ГБ.
Ram int `json:"ram"`
}
VmRestoreFlavor defines model for VmRestoreFlavor.
type VmRestoreFloatingIp ¶
type VmRestoreFloatingIp struct {
// CanCreateMore Can Create More
CanCreateMore bool `json:"can_create_more"`
// Exists Если указано`true`, публичный IP-адрес существует.
Exists bool `json:"exists"`
// Id Идентификатор публичного IP-адреса.
Id string `json:"id"`
// IpAddress IP-адрес публичного IP-адреса.
IpAddress string `json:"ip_address"`
// Name Название публичного IP-адреса.
Name string `json:"name"`
}
VmRestoreFloatingIp defines model for VmRestoreFloatingIp.
type VmRestoreImage ¶
type VmRestoreImage struct {
// Available Если указано `true`, образ доступен для использования.
Available bool `json:"available"`
// DisplayName Отображаемое название.
DisplayName string `json:"display_name"`
// FreeTierEnabled Если указано `true`, образ можно использовать для бесплатной ВМ (free tier).
FreeTierEnabled *bool `json:"free_tier_enabled,omitempty"`
// Id Идентификатор образа.
Id string `json:"id"`
// Name Название.
Name string `json:"name"`
// Type Тип образа:
// - `public` — публичный;
// - `private` — пользовательский;
// - `marketplace` — из Маркетплейса.
Type ImageType `json:"type"`
}
VmRestoreImage defines model for VmRestoreImage.
type VmRestoreInterface ¶
type VmRestoreInterface struct {
// Exists Если `true`, интерфейсы существуют.
Exists bool `json:"exists"`
// ExistsIpAddresses Если `true`, IP-адреса существуют.
ExistsIpAddresses bool `json:"exists_ip_addresses"`
FloatingIp *VmRestoreFloatingIp `json:"floating_ip,omitempty"`
// Id Идентификатор интерфейса.
Id string `json:"id"`
// IpAddress IP-адресс.
IpAddress string `json:"ip_address"`
// Name Название интерфейса.
Name string `json:"name"`
// SecurityGroups Группы безопасности.
SecurityGroups *[]VmRestoreSecurityGroup `json:"security_groups,omitempty"`
// State Статус сетевого интерфейса:
// - `created` — создан;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State InterfaceState `json:"state"`
Subnet *VmRestoreSubnet `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmRestoreInterface defines model for VmRestoreInterface.
type VmRestoreInterfaceConfig ¶
type VmRestoreInterfaceConfig struct {
// AttachFloatingIpId Идентификатор публичного IP-адреса, который будет назначен ВМ при восстановлении.
// Укажите один из параметров: “attach_floating_ip_id“ или “attach_floating_ip_name“.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы доступных публичных IP-адресов можно получить, выполнив запрос [GET /api/v1/floating-ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get).
AttachFloatingIpId *string `json:"attach_floating_ip_id,omitempty"`
// AttachFloatingIpName Название публичного IP-адреса, который будет назначен ВМ при восстановлении.
// Укажите один из параметров: “attach_floating_ip_id“ или “attach_floating_ip_name“.
// Нельзя указывать оба параметра одновременно.
// Названия доступных публичных IP-адресов можно получить, выполнив запрос [GET /api/v1/floating-ips](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Floating-IPs/operation/get_floating_ip_fips_svc_v1_floating_ips_get).
AttachFloatingIpName *string `json:"attach_floating_ip_name,omitempty"`
// IpAddress IP-адрес интерфейса.
IpAddress *string `json:"ip_address,omitempty"`
// Name Название интерфейса.
Name string `json:"name"`
// NewFloatingIp Если указано “true“, при восстановленни из копии ресурсу будет назначен новый публичный IP-адрес.
NewFloatingIp bool `json:"new_floating_ip"`
// SecurityGroupIds Идентификаторы групп безопасности, которые будут назначены интерфейсу.
// Укажите один из параметров: “security_group_ids“ или “security_group_names“.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы групп безопасности можно получить, выполнив запрос [GET /api/v1/security-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroupIds *[]string `json:"security_group_ids,omitempty"`
// SecurityGroupNames Идентификаторы групп безопасности, которые будут назначены интерфейсу.
// Укажите один из параметров: “security_group_ids“ или “security_group_names“.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы групп безопасности можно получить, выполнив запрос [GET /api/v1/security-groups](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Security-Groups/operation/get_security_groups_by_project_id_svc_v1_security_groups_get).
SecurityGroupNames *[]string `json:"security_group_names,omitempty"`
// Subnet Подсеть.
Subnet *VmRestoreSubnetConfig `json:"subnet,omitempty"`
// Type Тип интерфейса:
// - `regular` — стандартный;
// - `system` — системный;
// - `service` — сервисный;
// - `gateway` — шлюз;
// - `technical` — технический;
// - `magic_technical` — технический для Magic Router;
// - `fip` — плавающий публичный IP-адрес;
// - `direct_ip` — прямой публичный IP-адрес.
Type InterfaceType `json:"type"`
}
VmRestoreInterfaceConfig defines model for VmRestoreInterfaceConfig.
type VmRestorePlacementGroup ¶
type VmRestorePlacementGroup struct {
// CanCreateMore Если `true`, в группу можно добавить еще виртуальные машины.
CanCreateMore bool `json:"can_create_more"`
// Exists Признак существующего объекта.
Exists bool `json:"exists"`
// Id Идентификатор группы размещения.
Id string `json:"id"`
// Name Название группы размещения.
Name string `json:"name"`
}
VmRestorePlacementGroup defines model for VmRestorePlacementGroup.
type VmRestoreSecurityGroup ¶
type VmRestoreSecurityGroup struct {
// Exists Если указано `true`, группа безопасности существует.
Exists bool `json:"exists"`
// Id Идентификатор группы безопасности.
Id string `json:"id"`
// Name Название группы безопасности.
Name string `json:"name"`
// State Статус группы безопасности:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SecurityGroupState `json:"state"`
}
VmRestoreSecurityGroup defines model for VmRestoreSecurityGroup.
type VmRestoreSubnet ¶
type VmRestoreSubnet struct {
// AvailableAddresses Available Addresses
AvailableAddresses bool `json:"available_addresses"`
// Exists Exists
Exists bool `json:"exists"`
// Id Идентификатор подсети.
Id string `json:"id"`
// Name Название подсети.
Name string `json:"name"`
// RoutedNetwork Признак маршрутизируемой подсети: `true` — подсеть имеет настроенные маршруты для внутренней и внешней связи, `false` — подсеть изолирована и не поддерживает маршрутизацию трафика за ее пределы.
RoutedNetwork bool `json:"routed_network"`
// State Статус подсети:
// - `created` — создана;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создется;
// - `deleting` — удаляется;
// - `updating` — обновляется.
State SubnetState `json:"state"`
// SubnetAddress Адрес подсети.
SubnetAddress string `json:"subnet_address"`
// VpcId Идентификатор виртуальной сети (VPC).
VpcId string `json:"vpc_id"`
}
VmRestoreSubnet defines model for VmRestoreSubnet.
type VmRestoreSubnetConfig ¶
type VmRestoreSubnetConfig struct {
// Id Идентификатор подсети.
// Укажите один из параметров: `id` или `name`.
// Нельзя указывать оба параметра одновременно.
// Идентификаторы подсетей можно получить, выполнив запрос [GET /api/v1/subnets](https://dev.site.sbercloud.dev/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
Id *string `json:"id,omitempty"`
// Name Название подсети.
// Укажите один из параметров: `id` или `name`.
// Нельзя указывать оба параметра одновременно.
// Названия подсетей можно получить, выполнив запрос [GET /api/v1/subnets](https://dev.site.sbercloud.dev/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Subnets/operation/get_subnets_svc_v1_subnets_get).
Name *string `json:"name,omitempty"`
}
VmRestoreSubnetConfig defines model for VmRestoreSubnetConfig.
type VmSetPasswordRequest ¶
type VmSetPasswordRequest struct {
// Login Логин пользователя, для которого устанавливается пароль.
Login *string `json:"login,omitempty"`
// Password Пароль виртуальной машины. Требования к паролю:
// - Должен состоять минимум из 8 символов.
// - Только латиница в буквенной части: минимум одна заглавная и одна строчная буква.
// - Как минимум одна цифра (0-9).
// - Как минимум один специальный символ: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~.
Password string `json:"password"`
}
VmSetPasswordRequest defines model for VmSetPasswordRequest.
type VmSetPowerRequest ¶
type VmSetPowerRequest struct {
// State Команда для управления питанием ВМ:
// - `power_on` — запустить ВМ;
// - `power_off` — остановить ВМ;
// - `reboot` — перезагрузить ВМ.
State VmPowerEnum `json:"state"`
}
VmSetPowerRequest defines model for VmSetPowerRequest.
type VmSetStateRequest ¶
type VmSetStateRequest struct {
// Id Идентификатор виртуальной машины. Идентификатор можно получить, выполнив запрос [GET /api/v1/vms](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/VMs/operation/get_vms_svc_v1_vms_get).
Id openapi_types.UUID `json:"id"`
// State Статус виртуальной машины: `stopped` — остановлена, `running` — запущена.
State VmSetStateRequestState `json:"state"`
}
VmSetStateRequest defines model for VmSetStateRequest.
type VmSetStateRequestState ¶
type VmSetStateRequestState string
VmSetStateRequestState Статус виртуальной машины: `stopped` — остановлена, `running` — запущена.
const ( VmSetStateRequestStateRunning VmSetStateRequestState = "running" VmSetStateRequestStateStopped VmSetStateRequestState = "stopped" )
Defines values for VmSetStateRequestState.
func (VmSetStateRequestState) Valid ¶
func (e VmSetStateRequestState) Valid() bool
Valid indicates whether the value is a known member of the VmSetStateRequestState enum.
type VmState ¶
type VmState string
VmState Статус ВМ:
- `running` — запущена;
- `stopped` — остановлена;
- `error` — ошибка;
- `error_creating` — ошибка создания;
- `error_deleting` — ошибка удаления;
- `creating` — создается;
- `starting` — запускается;
- `stopping` — выключается
- `rebooting` — перезагружается;
- `deleting` — удаляется;
- `updating` — обновляется;
- `rebuilding` — смена образа.
const ( VmStateCreating VmState = "creating" VmStateDeleting VmState = "deleting" VmStateError VmState = "error" VmStateErrorCreating VmState = "error_creating" VmStateErrorDeleting VmState = "error_deleting" VmStateRebooting VmState = "rebooting" VmStateRunning VmState = "running" VmStateStarting VmState = "starting" VmStateStopped VmState = "stopped" VmStateStopping VmState = "stopping" VmStateUpdating VmState = "updating" )
Defines values for VmState.
type VmStateBlocksInterfaceDeletionExceptionSchema ¶
type VmStateBlocksInterfaceDeletionExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
VmStateBlocksInterfaceDeletionExceptionSchema defines model for VmStateBlocksInterfaceDeletionExceptionSchema.
type VmUpdateRequest ¶
type VmUpdateRequest struct {
// Description Описание виртуальной машины.
Description *VmUpdateRequest_Description `json:"description,omitempty"`
// FlavorId Идентификатор флейвора.
// Идентификаторы доступных флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorId *VmUpdateRequest_FlavorId `json:"flavor_id,omitempty"`
// FlavorName Название флейвора.
// Названия доступных флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
FlavorName *VmUpdateRequest_FlavorName `json:"flavor_name,omitempty"`
// Name Название виртуальной машины.
Name *VmUpdateRequest_Name `json:"name,omitempty"`
// TagIds Идентификаторы тегов.
// Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagIds *VmUpdateRequest_TagIds `json:"tag_ids,omitempty"`
// TagNames Названия тегов.
// Названия тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
TagNames *VmUpdateRequest_TagNames `json:"tag_names,omitempty"`
}
VmUpdateRequest defines model for VmUpdateRequest.
type VmUpdateRequestDescription0 ¶
type VmUpdateRequestDescription0 = string
VmUpdateRequestDescription0 defines model for VmUpdateRequest.Description.0.
type VmUpdateRequestDescription1 ¶
type VmUpdateRequestDescription1 int
VmUpdateRequestDescription1 defines model for VmUpdateRequest.Description.1.
const (
VmUpdateRequestDescription1N1 VmUpdateRequestDescription1 = 1
)
Defines values for VmUpdateRequestDescription1.
func (VmUpdateRequestDescription1) Valid ¶
func (e VmUpdateRequestDescription1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestDescription1 enum.
type VmUpdateRequestFlavorId0 ¶
type VmUpdateRequestFlavorId0 = openapi_types.UUID
VmUpdateRequestFlavorId0 defines model for VmUpdateRequest.FlavorId.0.
type VmUpdateRequestFlavorId1 ¶
type VmUpdateRequestFlavorId1 int
VmUpdateRequestFlavorId1 defines model for VmUpdateRequest.FlavorId.1.
const (
VmUpdateRequestFlavorId1N1 VmUpdateRequestFlavorId1 = 1
)
Defines values for VmUpdateRequestFlavorId1.
func (VmUpdateRequestFlavorId1) Valid ¶
func (e VmUpdateRequestFlavorId1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestFlavorId1 enum.
type VmUpdateRequestFlavorName0 ¶
type VmUpdateRequestFlavorName0 = string
VmUpdateRequestFlavorName0 defines model for VmUpdateRequest.FlavorName.0.
type VmUpdateRequestFlavorName1 ¶
type VmUpdateRequestFlavorName1 int
VmUpdateRequestFlavorName1 defines model for VmUpdateRequest.FlavorName.1.
const (
VmUpdateRequestFlavorName1N1 VmUpdateRequestFlavorName1 = 1
)
Defines values for VmUpdateRequestFlavorName1.
func (VmUpdateRequestFlavorName1) Valid ¶
func (e VmUpdateRequestFlavorName1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestFlavorName1 enum.
type VmUpdateRequestName0 ¶
type VmUpdateRequestName0 = string
VmUpdateRequestName0 defines model for VmUpdateRequest.Name.0.
type VmUpdateRequestName1 ¶
type VmUpdateRequestName1 int
VmUpdateRequestName1 defines model for VmUpdateRequest.Name.1.
const (
VmUpdateRequestName1N1 VmUpdateRequestName1 = 1
)
Defines values for VmUpdateRequestName1.
func (VmUpdateRequestName1) Valid ¶
func (e VmUpdateRequestName1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestName1 enum.
type VmUpdateRequestTagIds0 ¶
type VmUpdateRequestTagIds0 = []openapi_types.UUID
VmUpdateRequestTagIds0 defines model for VmUpdateRequest.TagIds.0.
type VmUpdateRequestTagIds1 ¶
type VmUpdateRequestTagIds1 int
VmUpdateRequestTagIds1 defines model for VmUpdateRequest.TagIds.1.
const (
VmUpdateRequestTagIds1N1 VmUpdateRequestTagIds1 = 1
)
Defines values for VmUpdateRequestTagIds1.
func (VmUpdateRequestTagIds1) Valid ¶
func (e VmUpdateRequestTagIds1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestTagIds1 enum.
type VmUpdateRequestTagNames0 ¶
type VmUpdateRequestTagNames0 = []string
VmUpdateRequestTagNames0 defines model for VmUpdateRequest.TagNames.0.
type VmUpdateRequestTagNames1 ¶
type VmUpdateRequestTagNames1 int
VmUpdateRequestTagNames1 defines model for VmUpdateRequest.TagNames.1.
const (
VmUpdateRequestTagNames1N1 VmUpdateRequestTagNames1 = 1
)
Defines values for VmUpdateRequestTagNames1.
func (VmUpdateRequestTagNames1) Valid ¶
func (e VmUpdateRequestTagNames1) Valid() bool
Valid indicates whether the value is a known member of the VmUpdateRequestTagNames1 enum.
type VmUpdateRequest_Description ¶
type VmUpdateRequest_Description struct {
// contains filtered or unexported fields
}
VmUpdateRequest_Description Описание виртуальной машины.
func (VmUpdateRequest_Description) AsVmUpdateRequestDescription0 ¶
func (t VmUpdateRequest_Description) AsVmUpdateRequestDescription0() (VmUpdateRequestDescription0, error)
AsVmUpdateRequestDescription0 returns the union data inside the VmUpdateRequest_Description as a VmUpdateRequestDescription0
func (VmUpdateRequest_Description) AsVmUpdateRequestDescription1 ¶
func (t VmUpdateRequest_Description) AsVmUpdateRequestDescription1() (VmUpdateRequestDescription1, error)
AsVmUpdateRequestDescription1 returns the union data inside the VmUpdateRequest_Description as a VmUpdateRequestDescription1
func (*VmUpdateRequest_Description) FromVmUpdateRequestDescription0 ¶
func (t *VmUpdateRequest_Description) FromVmUpdateRequestDescription0(v VmUpdateRequestDescription0) error
FromVmUpdateRequestDescription0 overwrites any union data inside the VmUpdateRequest_Description as the provided VmUpdateRequestDescription0
func (*VmUpdateRequest_Description) FromVmUpdateRequestDescription1 ¶
func (t *VmUpdateRequest_Description) FromVmUpdateRequestDescription1(v VmUpdateRequestDescription1) error
FromVmUpdateRequestDescription1 overwrites any union data inside the VmUpdateRequest_Description as the provided VmUpdateRequestDescription1
func (VmUpdateRequest_Description) MarshalJSON ¶
func (t VmUpdateRequest_Description) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_Description) MergeVmUpdateRequestDescription0 ¶
func (t *VmUpdateRequest_Description) MergeVmUpdateRequestDescription0(v VmUpdateRequestDescription0) error
MergeVmUpdateRequestDescription0 performs a merge with any union data inside the VmUpdateRequest_Description, using the provided VmUpdateRequestDescription0
func (*VmUpdateRequest_Description) MergeVmUpdateRequestDescription1 ¶
func (t *VmUpdateRequest_Description) MergeVmUpdateRequestDescription1(v VmUpdateRequestDescription1) error
MergeVmUpdateRequestDescription1 performs a merge with any union data inside the VmUpdateRequest_Description, using the provided VmUpdateRequestDescription1
func (*VmUpdateRequest_Description) UnmarshalJSON ¶
func (t *VmUpdateRequest_Description) UnmarshalJSON(b []byte) error
type VmUpdateRequest_FlavorId ¶
type VmUpdateRequest_FlavorId struct {
// contains filtered or unexported fields
}
VmUpdateRequest_FlavorId Идентификатор флейвора. Идентификаторы доступных флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
func (VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId0 ¶
func (t VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId0() (VmUpdateRequestFlavorId0, error)
AsVmUpdateRequestFlavorId0 returns the union data inside the VmUpdateRequest_FlavorId as a VmUpdateRequestFlavorId0
func (VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId1 ¶
func (t VmUpdateRequest_FlavorId) AsVmUpdateRequestFlavorId1() (VmUpdateRequestFlavorId1, error)
AsVmUpdateRequestFlavorId1 returns the union data inside the VmUpdateRequest_FlavorId as a VmUpdateRequestFlavorId1
func (*VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId0 ¶
func (t *VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId0(v VmUpdateRequestFlavorId0) error
FromVmUpdateRequestFlavorId0 overwrites any union data inside the VmUpdateRequest_FlavorId as the provided VmUpdateRequestFlavorId0
func (*VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId1 ¶
func (t *VmUpdateRequest_FlavorId) FromVmUpdateRequestFlavorId1(v VmUpdateRequestFlavorId1) error
FromVmUpdateRequestFlavorId1 overwrites any union data inside the VmUpdateRequest_FlavorId as the provided VmUpdateRequestFlavorId1
func (VmUpdateRequest_FlavorId) MarshalJSON ¶
func (t VmUpdateRequest_FlavorId) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId0 ¶
func (t *VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId0(v VmUpdateRequestFlavorId0) error
MergeVmUpdateRequestFlavorId0 performs a merge with any union data inside the VmUpdateRequest_FlavorId, using the provided VmUpdateRequestFlavorId0
func (*VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId1 ¶
func (t *VmUpdateRequest_FlavorId) MergeVmUpdateRequestFlavorId1(v VmUpdateRequestFlavorId1) error
MergeVmUpdateRequestFlavorId1 performs a merge with any union data inside the VmUpdateRequest_FlavorId, using the provided VmUpdateRequestFlavorId1
func (*VmUpdateRequest_FlavorId) UnmarshalJSON ¶
func (t *VmUpdateRequest_FlavorId) UnmarshalJSON(b []byte) error
type VmUpdateRequest_FlavorName ¶
type VmUpdateRequest_FlavorName struct {
// contains filtered or unexported fields
}
VmUpdateRequest_FlavorName Название флейвора. Названия доступных флейворов можно получить, выполнив запрос [GET /api/v1/flavors](https://cloud.ru/docs/virtual-machines/ug/topics/api-ref-v3?source-platform=#tag/Flavors/operation/get_flavors_svc_v1_flavors_get).
func (VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName0 ¶
func (t VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName0() (VmUpdateRequestFlavorName0, error)
AsVmUpdateRequestFlavorName0 returns the union data inside the VmUpdateRequest_FlavorName as a VmUpdateRequestFlavorName0
func (VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName1 ¶
func (t VmUpdateRequest_FlavorName) AsVmUpdateRequestFlavorName1() (VmUpdateRequestFlavorName1, error)
AsVmUpdateRequestFlavorName1 returns the union data inside the VmUpdateRequest_FlavorName as a VmUpdateRequestFlavorName1
func (*VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName0 ¶
func (t *VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName0(v VmUpdateRequestFlavorName0) error
FromVmUpdateRequestFlavorName0 overwrites any union data inside the VmUpdateRequest_FlavorName as the provided VmUpdateRequestFlavorName0
func (*VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName1 ¶
func (t *VmUpdateRequest_FlavorName) FromVmUpdateRequestFlavorName1(v VmUpdateRequestFlavorName1) error
FromVmUpdateRequestFlavorName1 overwrites any union data inside the VmUpdateRequest_FlavorName as the provided VmUpdateRequestFlavorName1
func (VmUpdateRequest_FlavorName) MarshalJSON ¶
func (t VmUpdateRequest_FlavorName) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName0 ¶
func (t *VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName0(v VmUpdateRequestFlavorName0) error
MergeVmUpdateRequestFlavorName0 performs a merge with any union data inside the VmUpdateRequest_FlavorName, using the provided VmUpdateRequestFlavorName0
func (*VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName1 ¶
func (t *VmUpdateRequest_FlavorName) MergeVmUpdateRequestFlavorName1(v VmUpdateRequestFlavorName1) error
MergeVmUpdateRequestFlavorName1 performs a merge with any union data inside the VmUpdateRequest_FlavorName, using the provided VmUpdateRequestFlavorName1
func (*VmUpdateRequest_FlavorName) UnmarshalJSON ¶
func (t *VmUpdateRequest_FlavorName) UnmarshalJSON(b []byte) error
type VmUpdateRequest_Name ¶
type VmUpdateRequest_Name struct {
// contains filtered or unexported fields
}
VmUpdateRequest_Name Название виртуальной машины.
func (VmUpdateRequest_Name) AsVmUpdateRequestName0 ¶
func (t VmUpdateRequest_Name) AsVmUpdateRequestName0() (VmUpdateRequestName0, error)
AsVmUpdateRequestName0 returns the union data inside the VmUpdateRequest_Name as a VmUpdateRequestName0
func (VmUpdateRequest_Name) AsVmUpdateRequestName1 ¶
func (t VmUpdateRequest_Name) AsVmUpdateRequestName1() (VmUpdateRequestName1, error)
AsVmUpdateRequestName1 returns the union data inside the VmUpdateRequest_Name as a VmUpdateRequestName1
func (*VmUpdateRequest_Name) FromVmUpdateRequestName0 ¶
func (t *VmUpdateRequest_Name) FromVmUpdateRequestName0(v VmUpdateRequestName0) error
FromVmUpdateRequestName0 overwrites any union data inside the VmUpdateRequest_Name as the provided VmUpdateRequestName0
func (*VmUpdateRequest_Name) FromVmUpdateRequestName1 ¶
func (t *VmUpdateRequest_Name) FromVmUpdateRequestName1(v VmUpdateRequestName1) error
FromVmUpdateRequestName1 overwrites any union data inside the VmUpdateRequest_Name as the provided VmUpdateRequestName1
func (VmUpdateRequest_Name) MarshalJSON ¶
func (t VmUpdateRequest_Name) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_Name) MergeVmUpdateRequestName0 ¶
func (t *VmUpdateRequest_Name) MergeVmUpdateRequestName0(v VmUpdateRequestName0) error
MergeVmUpdateRequestName0 performs a merge with any union data inside the VmUpdateRequest_Name, using the provided VmUpdateRequestName0
func (*VmUpdateRequest_Name) MergeVmUpdateRequestName1 ¶
func (t *VmUpdateRequest_Name) MergeVmUpdateRequestName1(v VmUpdateRequestName1) error
MergeVmUpdateRequestName1 performs a merge with any union data inside the VmUpdateRequest_Name, using the provided VmUpdateRequestName1
func (*VmUpdateRequest_Name) UnmarshalJSON ¶
func (t *VmUpdateRequest_Name) UnmarshalJSON(b []byte) error
type VmUpdateRequest_TagIds ¶
type VmUpdateRequest_TagIds struct {
// contains filtered or unexported fields
}
VmUpdateRequest_TagIds Идентификаторы тегов. Идентификаторы тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds0 ¶
func (t VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds0() (VmUpdateRequestTagIds0, error)
AsVmUpdateRequestTagIds0 returns the union data inside the VmUpdateRequest_TagIds as a VmUpdateRequestTagIds0
func (VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds1 ¶
func (t VmUpdateRequest_TagIds) AsVmUpdateRequestTagIds1() (VmUpdateRequestTagIds1, error)
AsVmUpdateRequestTagIds1 returns the union data inside the VmUpdateRequest_TagIds as a VmUpdateRequestTagIds1
func (*VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds0 ¶
func (t *VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds0(v VmUpdateRequestTagIds0) error
FromVmUpdateRequestTagIds0 overwrites any union data inside the VmUpdateRequest_TagIds as the provided VmUpdateRequestTagIds0
func (*VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds1 ¶
func (t *VmUpdateRequest_TagIds) FromVmUpdateRequestTagIds1(v VmUpdateRequestTagIds1) error
FromVmUpdateRequestTagIds1 overwrites any union data inside the VmUpdateRequest_TagIds as the provided VmUpdateRequestTagIds1
func (VmUpdateRequest_TagIds) MarshalJSON ¶
func (t VmUpdateRequest_TagIds) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds0 ¶
func (t *VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds0(v VmUpdateRequestTagIds0) error
MergeVmUpdateRequestTagIds0 performs a merge with any union data inside the VmUpdateRequest_TagIds, using the provided VmUpdateRequestTagIds0
func (*VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds1 ¶
func (t *VmUpdateRequest_TagIds) MergeVmUpdateRequestTagIds1(v VmUpdateRequestTagIds1) error
MergeVmUpdateRequestTagIds1 performs a merge with any union data inside the VmUpdateRequest_TagIds, using the provided VmUpdateRequestTagIds1
func (*VmUpdateRequest_TagIds) UnmarshalJSON ¶
func (t *VmUpdateRequest_TagIds) UnmarshalJSON(b []byte) error
type VmUpdateRequest_TagNames ¶
type VmUpdateRequest_TagNames struct {
// contains filtered or unexported fields
}
VmUpdateRequest_TagNames Названия тегов. Названия тегов можно получить, выполнив запрос `GET /api/tags/v1/tags`.
func (VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames0 ¶
func (t VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames0() (VmUpdateRequestTagNames0, error)
AsVmUpdateRequestTagNames0 returns the union data inside the VmUpdateRequest_TagNames as a VmUpdateRequestTagNames0
func (VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames1 ¶
func (t VmUpdateRequest_TagNames) AsVmUpdateRequestTagNames1() (VmUpdateRequestTagNames1, error)
AsVmUpdateRequestTagNames1 returns the union data inside the VmUpdateRequest_TagNames as a VmUpdateRequestTagNames1
func (*VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames0 ¶
func (t *VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames0(v VmUpdateRequestTagNames0) error
FromVmUpdateRequestTagNames0 overwrites any union data inside the VmUpdateRequest_TagNames as the provided VmUpdateRequestTagNames0
func (*VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames1 ¶
func (t *VmUpdateRequest_TagNames) FromVmUpdateRequestTagNames1(v VmUpdateRequestTagNames1) error
FromVmUpdateRequestTagNames1 overwrites any union data inside the VmUpdateRequest_TagNames as the provided VmUpdateRequestTagNames1
func (VmUpdateRequest_TagNames) MarshalJSON ¶
func (t VmUpdateRequest_TagNames) MarshalJSON() ([]byte, error)
func (*VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames0 ¶
func (t *VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames0(v VmUpdateRequestTagNames0) error
MergeVmUpdateRequestTagNames0 performs a merge with any union data inside the VmUpdateRequest_TagNames, using the provided VmUpdateRequestTagNames0
func (*VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames1 ¶
func (t *VmUpdateRequest_TagNames) MergeVmUpdateRequestTagNames1(v VmUpdateRequestTagNames1) error
MergeVmUpdateRequestTagNames1 performs a merge with any union data inside the VmUpdateRequest_TagNames, using the provided VmUpdateRequestTagNames1
func (*VmUpdateRequest_TagNames) UnmarshalJSON ¶
func (t *VmUpdateRequest_TagNames) UnmarshalJSON(b []byte) error
type VmWithFlavorMiniResponse ¶
type VmWithFlavorMiniResponse struct {
// Flavor Флейвор.
Flavor FlavorMiniResponse `json:"flavor"`
// Id Идентификатор виртуальной машины.
Id openapi_types.UUID `json:"id"`
// Name Название виртуальной машины.
Name string `json:"name"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
}
VmWithFlavorMiniResponse Виртуальная машина.
type VmsBlockResponse ¶
type VmsBlockResponse struct {
// Id Идентификатор виртуальной машины.
Id string `json:"id"`
// Name Название виртуальной машины.
Name string `json:"name"`
// Primary Если указано `true`, диск является загрузочным для ВМ.
Primary bool `json:"primary"`
// State Статус ВМ:
// - `running` — запущена;
// - `stopped` — остановлена;
// - `error` — ошибка;
// - `error_creating` — ошибка создания;
// - `error_deleting` — ошибка удаления;
// - `creating` — создается;
// - `starting` — запускается;
// - `stopping` — выключается
// - `rebooting` — перезагружается;
// - `deleting` — удаляется;
// - `updating` — обновляется;
// - `rebuilding` — смена образа.
State VmState `json:"state"`
}
VmsBlockResponse defines model for VmsBlockResponse.
type WrongAvailabilityZoneByIdExceptionSchema ¶
type WrongAvailabilityZoneByIdExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongAvailabilityZoneByIdExceptionSchema defines model for WrongAvailabilityZoneByIdExceptionSchema.
type WrongAvailabilityZoneForImageExceptionSchema ¶
type WrongAvailabilityZoneForImageExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongAvailabilityZoneForImageExceptionSchema defines model for WrongAvailabilityZoneForImageExceptionSchema.
type WrongDiskTypeByIdExceptionSchema ¶
type WrongDiskTypeByIdExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongDiskTypeByIdExceptionSchema defines model for WrongDiskTypeByIdExceptionSchema.
type WrongProjectExceptionSchema ¶
type WrongProjectExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongProjectExceptionSchema defines model for WrongProjectExceptionSchema.
type WrongSecurityGroupByIdExceptionSchema ¶
type WrongSecurityGroupByIdExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongSecurityGroupByIdExceptionSchema defines model for WrongSecurityGroupByIdExceptionSchema.
type WrongTagByIdExceptionSchema ¶
type WrongTagByIdExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongTagByIdExceptionSchema defines model for WrongTagByIdExceptionSchema.
type WrongVdcExceptionSchema ¶
type WrongVdcExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongVdcExceptionSchema defines model for WrongVdcExceptionSchema.
type WrongVmByIdExceptionSchema ¶
type WrongVmByIdExceptionSchema struct {
// Code Код ошибки.
Code string `json:"code"`
// Message Описание ошибки.
Message string `json:"message"`
}
WrongVmByIdExceptionSchema defines model for WrongVmByIdExceptionSchema.