Get deployment descriptor file content for a published object
get/models/{publishId}/deploymentDescriptor/{descriptorName}
Returns the deployment descriptor content for a published object that was published to a container.
1apiVersion: v12kind: Service3metadata:4 annotations:5 sas.com/component-name: sas-scr-PLACEHOLDER6 sas.com/tls-enabled-ports: all7 labels:8 sas.com/deployment: sas-scr-PLACEHOLDER9 name: Logistic_Regression_012510 namespace: default11spec:12 ports:13 - name: apiserver14 port: 44315 protocol: TCP16 targetPort: 808017 selector:18 app: sas-scr-PLACEHOLDER19 sessionAffinity: None20 type: ClusterIP21status:22 loadBalancer: {}
Name | Type | Required | Description |
---|---|---|---|
descriptorName | string | true | The file name of the deployment descriptor. Examples: "service.yaml" |
publishId | string | true | The identifier of the published object. Examples: "094078e7-278a-4719-a704-6e5e65af29e" |