All URIs are relative to https://intersight.com
Method | HTTP request | Description |
---|---|---|
CreateHclCompatibilityStatus | Post /api/v1/hcl/CompatibilityStatuses | Create a 'hcl.CompatibilityStatus' resource. |
CreateHclHyperflexSoftwareCompatibilityInfo | Post /api/v1/hcl/HyperflexSoftwareCompatibilityInfos | Create a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
CreateHclSupportedDriverName | Post /api/v1/hcl/SupportedDriverNames | Create a 'hcl.SupportedDriverName' resource. |
DeleteHclHyperflexSoftwareCompatibilityInfo | Delete /api/v1/hcl/HyperflexSoftwareCompatibilityInfos/{Moid} | Delete a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
GetHclDriverImageByMoid | Get /api/v1/hcl/DriverImages/{Moid} | Read a 'hcl.DriverImage' resource. |
GetHclDriverImageList | Get /api/v1/hcl/DriverImages | Read a 'hcl.DriverImage' resource. |
GetHclExemptedCatalogByMoid | Get /api/v1/hcl/ExemptedCatalogs/{Moid} | Read a 'hcl.ExemptedCatalog' resource. |
GetHclExemptedCatalogList | Get /api/v1/hcl/ExemptedCatalogs | Read a 'hcl.ExemptedCatalog' resource. |
GetHclHwCatalogInfoByMoid | Get /api/v1/hcl/HwCatalogInfos/{Moid} | Read a 'hcl.HwCatalogInfo' resource. |
GetHclHwCatalogInfoList | Get /api/v1/hcl/HwCatalogInfos | Read a 'hcl.HwCatalogInfo' resource. |
GetHclHyperflexSoftwareCompatibilityInfoByMoid | Get /api/v1/hcl/HyperflexSoftwareCompatibilityInfos/{Moid} | Read a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
GetHclHyperflexSoftwareCompatibilityInfoList | Get /api/v1/hcl/HyperflexSoftwareCompatibilityInfos | Read a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
GetHclOperatingSystemByMoid | Get /api/v1/hcl/OperatingSystems/{Moid} | Read a 'hcl.OperatingSystem' resource. |
GetHclOperatingSystemList | Get /api/v1/hcl/OperatingSystems | Read a 'hcl.OperatingSystem' resource. |
GetHclOperatingSystemVendorByMoid | Get /api/v1/hcl/OperatingSystemVendors/{Moid} | Read a 'hcl.OperatingSystemVendor' resource. |
GetHclOperatingSystemVendorList | Get /api/v1/hcl/OperatingSystemVendors | Read a 'hcl.OperatingSystemVendor' resource. |
GetHclServerHwCatalogInfoByMoid | Get /api/v1/hcl/ServerHwCatalogInfos/{Moid} | Read a 'hcl.ServerHwCatalogInfo' resource. |
GetHclServerHwCatalogInfoList | Get /api/v1/hcl/ServerHwCatalogInfos | Read a 'hcl.ServerHwCatalogInfo' resource. |
PatchHclHyperflexSoftwareCompatibilityInfo | Patch /api/v1/hcl/HyperflexSoftwareCompatibilityInfos/{Moid} | Update a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
UpdateHclHyperflexSoftwareCompatibilityInfo | Post /api/v1/hcl/HyperflexSoftwareCompatibilityInfos/{Moid} | Update a 'hcl.HyperflexSoftwareCompatibilityInfo' resource. |
HclCompatibilityStatus CreateHclCompatibilityStatus(ctx).HclCompatibilityStatus(hclCompatibilityStatus).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
Create a 'hcl.CompatibilityStatus' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
hclCompatibilityStatus := *openapiclient.NewHclCompatibilityStatus("ClassId_example", "ObjectType_example") // HclCompatibilityStatus | The 'hcl.CompatibilityStatus' resource to create.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
ifNoneMatch := "ifNoneMatch_example" // string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.CreateHclCompatibilityStatus(context.Background()).HclCompatibilityStatus(hclCompatibilityStatus).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.CreateHclCompatibilityStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateHclCompatibilityStatus`: HclCompatibilityStatus
fmt.Fprintf(os.Stdout, "Response from `HclApi.CreateHclCompatibilityStatus`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateHclCompatibilityStatusRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
hclCompatibilityStatus | HclCompatibilityStatus | The 'hcl.CompatibilityStatus' resource to create. | |
ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. | |
ifNoneMatch | string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHyperflexSoftwareCompatibilityInfo CreateHclHyperflexSoftwareCompatibilityInfo(ctx).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
Create a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
hclHyperflexSoftwareCompatibilityInfo := *openapiclient.NewHclHyperflexSoftwareCompatibilityInfo("ClassId_example", "ObjectType_example") // HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to create.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
ifNoneMatch := "ifNoneMatch_example" // string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.CreateHclHyperflexSoftwareCompatibilityInfo(context.Background()).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.CreateHclHyperflexSoftwareCompatibilityInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateHclHyperflexSoftwareCompatibilityInfo`: HclHyperflexSoftwareCompatibilityInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.CreateHclHyperflexSoftwareCompatibilityInfo`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateHclHyperflexSoftwareCompatibilityInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
hclHyperflexSoftwareCompatibilityInfo | HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to create. | |
ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. | |
ifNoneMatch | string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. |
HclHyperflexSoftwareCompatibilityInfo
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclSupportedDriverName CreateHclSupportedDriverName(ctx).HclSupportedDriverName(hclSupportedDriverName).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
Create a 'hcl.SupportedDriverName' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
hclSupportedDriverName := *openapiclient.NewHclSupportedDriverName("ClassId_example", "ObjectType_example") // HclSupportedDriverName | The 'hcl.SupportedDriverName' resource to create.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
ifNoneMatch := "ifNoneMatch_example" // string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.CreateHclSupportedDriverName(context.Background()).HclSupportedDriverName(hclSupportedDriverName).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.CreateHclSupportedDriverName``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateHclSupportedDriverName`: HclSupportedDriverName
fmt.Fprintf(os.Stdout, "Response from `HclApi.CreateHclSupportedDriverName`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateHclSupportedDriverNameRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
hclSupportedDriverName | HclSupportedDriverName | The 'hcl.SupportedDriverName' resource to create. | |
ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. | |
ifNoneMatch | string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteHclHyperflexSoftwareCompatibilityInfo(ctx, moid).Execute()
Delete a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.HclApi.DeleteHclHyperflexSoftwareCompatibilityInfo(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.DeleteHclHyperflexSoftwareCompatibilityInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiDeleteHclHyperflexSoftwareCompatibilityInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclDriverImage GetHclDriverImageByMoid(ctx, moid).Execute()
Read a 'hcl.DriverImage' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclDriverImageByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclDriverImageByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclDriverImageByMoid`: HclDriverImage
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclDriverImageByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclDriverImageByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclDriverImageResponse GetHclDriverImageList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.DriverImage' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclDriverImageList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclDriverImageList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclDriverImageList`: HclDriverImageResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclDriverImageList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclDriverImageListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclExemptedCatalog GetHclExemptedCatalogByMoid(ctx, moid).Execute()
Read a 'hcl.ExemptedCatalog' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclExemptedCatalogByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclExemptedCatalogByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclExemptedCatalogByMoid`: HclExemptedCatalog
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclExemptedCatalogByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclExemptedCatalogByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclExemptedCatalogResponse GetHclExemptedCatalogList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.ExemptedCatalog' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclExemptedCatalogList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclExemptedCatalogList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclExemptedCatalogList`: HclExemptedCatalogResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclExemptedCatalogList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclExemptedCatalogListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHwCatalogInfo GetHclHwCatalogInfoByMoid(ctx, moid).Execute()
Read a 'hcl.HwCatalogInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclHwCatalogInfoByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclHwCatalogInfoByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclHwCatalogInfoByMoid`: HclHwCatalogInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclHwCatalogInfoByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclHwCatalogInfoByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHwCatalogInfoResponse GetHclHwCatalogInfoList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.HwCatalogInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclHwCatalogInfoList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclHwCatalogInfoList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclHwCatalogInfoList`: HclHwCatalogInfoResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclHwCatalogInfoList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclHwCatalogInfoListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHyperflexSoftwareCompatibilityInfo GetHclHyperflexSoftwareCompatibilityInfoByMoid(ctx, moid).Execute()
Read a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclHyperflexSoftwareCompatibilityInfoByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclHyperflexSoftwareCompatibilityInfoByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclHyperflexSoftwareCompatibilityInfoByMoid`: HclHyperflexSoftwareCompatibilityInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclHyperflexSoftwareCompatibilityInfoByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclHyperflexSoftwareCompatibilityInfoByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
HclHyperflexSoftwareCompatibilityInfo
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHyperflexSoftwareCompatibilityInfoResponse GetHclHyperflexSoftwareCompatibilityInfoList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclHyperflexSoftwareCompatibilityInfoList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclHyperflexSoftwareCompatibilityInfoList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclHyperflexSoftwareCompatibilityInfoList`: HclHyperflexSoftwareCompatibilityInfoResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclHyperflexSoftwareCompatibilityInfoList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclHyperflexSoftwareCompatibilityInfoListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
HclHyperflexSoftwareCompatibilityInfoResponse
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclOperatingSystem GetHclOperatingSystemByMoid(ctx, moid).Execute()
Read a 'hcl.OperatingSystem' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclOperatingSystemByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclOperatingSystemByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclOperatingSystemByMoid`: HclOperatingSystem
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclOperatingSystemByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclOperatingSystemByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclOperatingSystemResponse GetHclOperatingSystemList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.OperatingSystem' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclOperatingSystemList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclOperatingSystemList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclOperatingSystemList`: HclOperatingSystemResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclOperatingSystemList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclOperatingSystemListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclOperatingSystemVendor GetHclOperatingSystemVendorByMoid(ctx, moid).Execute()
Read a 'hcl.OperatingSystemVendor' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclOperatingSystemVendorByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclOperatingSystemVendorByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclOperatingSystemVendorByMoid`: HclOperatingSystemVendor
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclOperatingSystemVendorByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclOperatingSystemVendorByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclOperatingSystemVendorResponse GetHclOperatingSystemVendorList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.OperatingSystemVendor' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclOperatingSystemVendorList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclOperatingSystemVendorList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclOperatingSystemVendorList`: HclOperatingSystemVendorResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclOperatingSystemVendorList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclOperatingSystemVendorListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
HclOperatingSystemVendorResponse
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclServerHwCatalogInfo GetHclServerHwCatalogInfoByMoid(ctx, moid).Execute()
Read a 'hcl.ServerHwCatalogInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclServerHwCatalogInfoByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclServerHwCatalogInfoByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclServerHwCatalogInfoByMoid`: HclServerHwCatalogInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclServerHwCatalogInfoByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetHclServerHwCatalogInfoByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclServerHwCatalogInfoResponse GetHclServerHwCatalogInfoList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'hcl.ServerHwCatalogInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.GetHclServerHwCatalogInfoList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.GetHclServerHwCatalogInfoList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHclServerHwCatalogInfoList`: HclServerHwCatalogInfoResponse
fmt.Fprintf(os.Stdout, "Response from `HclApi.GetHclServerHwCatalogInfoList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetHclServerHwCatalogInfoListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
HclServerHwCatalogInfoResponse
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHyperflexSoftwareCompatibilityInfo PatchHclHyperflexSoftwareCompatibilityInfo(ctx, moid).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).Execute()
Update a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
hclHyperflexSoftwareCompatibilityInfo := *openapiclient.NewHclHyperflexSoftwareCompatibilityInfo("ClassId_example", "ObjectType_example") // HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.PatchHclHyperflexSoftwareCompatibilityInfo(context.Background(), moid).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.PatchHclHyperflexSoftwareCompatibilityInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PatchHclHyperflexSoftwareCompatibilityInfo`: HclHyperflexSoftwareCompatibilityInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.PatchHclHyperflexSoftwareCompatibilityInfo`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiPatchHclHyperflexSoftwareCompatibilityInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
hclHyperflexSoftwareCompatibilityInfo | HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
HclHyperflexSoftwareCompatibilityInfo
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HclHyperflexSoftwareCompatibilityInfo UpdateHclHyperflexSoftwareCompatibilityInfo(ctx, moid).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).Execute()
Update a 'hcl.HyperflexSoftwareCompatibilityInfo' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
hclHyperflexSoftwareCompatibilityInfo := *openapiclient.NewHclHyperflexSoftwareCompatibilityInfo("ClassId_example", "ObjectType_example") // HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HclApi.UpdateHclHyperflexSoftwareCompatibilityInfo(context.Background(), moid).HclHyperflexSoftwareCompatibilityInfo(hclHyperflexSoftwareCompatibilityInfo).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HclApi.UpdateHclHyperflexSoftwareCompatibilityInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateHclHyperflexSoftwareCompatibilityInfo`: HclHyperflexSoftwareCompatibilityInfo
fmt.Fprintf(os.Stdout, "Response from `HclApi.UpdateHclHyperflexSoftwareCompatibilityInfo`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiUpdateHclHyperflexSoftwareCompatibilityInfoRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
hclHyperflexSoftwareCompatibilityInfo | HclHyperflexSoftwareCompatibilityInfo | The 'hcl.HyperflexSoftwareCompatibilityInfo' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
HclHyperflexSoftwareCompatibilityInfo
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]