public/portworx/platform/onboard/apiv1/onboard.proto (version not set)
Download OpenAPI specification:Download
creates a new account registration request.
Request Body schema: application/jsonrequired
account to be created and onboarded.
object (v1Meta) Meta holds general resource metadata. | |
object (v1AccountConfig) Account Configuration Info used for Registration. |
Responses
Request samples
- Payload
Content type
application/json
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "accountConfig": {
- "dnsName": "string",
- "displayName": "string",
- "accountType": "ACCOUNT_TYPE_UNSPECIFIED",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}, - "pdsAwsRegistrationToken": "string",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsRegistrationToken": "string",
- "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsRegistrationToken": "string",
- "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}
}
Response samples
- 200
- default
Content type
application/json
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "accountConfig": {
- "userEmail": "string",
- "dnsName": "string",
- "displayName": "string",
- "accountType": "ACCOUNT_TYPE_UNSPECIFIED",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}, - "pdsAwsRegistrationToken": "string",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsRegistrationToken": "string",
- "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsRegistrationToken": "string",
- "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}
}
For updating account subscription info.
path Parameters
accountRegistration.meta.uid required | string UID of the resource of the format |
Request Body schema: application/jsonrequired
account for which subscription info needs to be updated.
object (Metadata of the account.) Metadata of the account. | |
object (v1AccountConfig) Account Configuration Info used for Registration. |
Responses
Request samples
- Payload
Content type
application/json
{- "meta": {
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "accountConfig": {
- "dnsName": "string",
- "displayName": "string",
- "accountType": "ACCOUNT_TYPE_UNSPECIFIED",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}, - "pdsAwsRegistrationToken": "string",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsRegistrationToken": "string",
- "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsRegistrationToken": "string",
- "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}
}
Response samples
- 200
- default
Content type
application/json
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "accountConfig": {
- "userEmail": "string",
- "dnsName": "string",
- "displayName": "string",
- "accountType": "ACCOUNT_TYPE_UNSPECIFIED",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsSubscription": {
- "clientId": "string",
- "productId": "string",
- "accountId": "string"
}, - "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}, - "pdsAwsRegistrationToken": "string",
- "pdsZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "pxeAwsRegistrationToken": "string",
- "pxeZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}, - "baasAwsRegistrationToken": "string",
- "baasZuoraSubscription": {
- "subscriptionId": "string",
- "accountId": "string"
}
}
}