File: operationalization_cluster_credentials.py

package info (click to toggle)
python-azure 20201208%2Bgit-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,437,920 kB
  • sloc: python: 4,287,452; javascript: 269; makefile: 198; sh: 187; xml: 106
file content (56 lines) | stat: -rw-r--r-- 2,892 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class OperationalizationClusterCredentials(Model):
    """Credentials to resources in the cluster.

    :param storage_account: Credentials for the Storage Account.
    :type storage_account:
     ~azure.mgmt.machinelearningcompute.models.StorageAccountCredentials
    :param container_registry: Credentials for Azure Container Registry.
    :type container_registry:
     ~azure.mgmt.machinelearningcompute.models.ContainerRegistryCredentials
    :param container_service: Credentials for Azure Container Service.
    :type container_service:
     ~azure.mgmt.machinelearningcompute.models.ContainerServiceCredentials
    :param app_insights: Credentials for Azure AppInsights.
    :type app_insights:
     ~azure.mgmt.machinelearningcompute.models.AppInsightsCredentials
    :param service_auth_configuration: Global authorization keys for all user
     services deployed in cluster. These are used if the service does not have
     auth keys.
    :type service_auth_configuration:
     ~azure.mgmt.machinelearningcompute.models.ServiceAuthConfiguration
    :param ssl_configuration: The SSL configuration for the services.
    :type ssl_configuration:
     ~azure.mgmt.machinelearningcompute.models.SslConfiguration
    """

    _attribute_map = {
        'storage_account': {'key': 'storageAccount', 'type': 'StorageAccountCredentials'},
        'container_registry': {'key': 'containerRegistry', 'type': 'ContainerRegistryCredentials'},
        'container_service': {'key': 'containerService', 'type': 'ContainerServiceCredentials'},
        'app_insights': {'key': 'appInsights', 'type': 'AppInsightsCredentials'},
        'service_auth_configuration': {'key': 'serviceAuthConfiguration', 'type': 'ServiceAuthConfiguration'},
        'ssl_configuration': {'key': 'sslConfiguration', 'type': 'SslConfiguration'},
    }

    def __init__(self, storage_account=None, container_registry=None, container_service=None, app_insights=None, service_auth_configuration=None, ssl_configuration=None):
        super(OperationalizationClusterCredentials, self).__init__()
        self.storage_account = storage_account
        self.container_registry = container_registry
        self.container_service = container_service
        self.app_insights = app_insights
        self.service_auth_configuration = service_auth_configuration
        self.ssl_configuration = ssl_configuration