How to use azure-mgmt-scheduler - 10 common examples

To help you get started, we’ve selected a few azure-mgmt-scheduler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / http_authentication.py View on Github external
def __init__(self, **kwargs):
        super(HttpAuthentication, self).__init__(**kwargs)
        self.type = None
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / client_cert_authentication.py View on Github external
# 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 .http_authentication import HttpAuthentication


class ClientCertAuthentication(HttpAuthentication):
    """ClientCertAuthentication.

    All required parameters must be populated in order to send to Azure.

    :param type: Required. Constant filled by server.
    :type type: str
    :param password: Gets or sets the certificate password, return value will
     always be empty.
    :type password: str
    :param pfx: Gets or sets the pfx certificate. Accepts certification in
     base64 encoding, return value will always be empty.
    :type pfx: str
    :param certificate_thumbprint: Gets or sets the certificate thumbprint.
    :type certificate_thumbprint: str
    :param certificate_expiration_date: Gets or sets the certificate
     expiration date.
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / oauth_authentication.py View on Github external
# 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 .http_authentication import HttpAuthentication


class OAuthAuthentication(HttpAuthentication):
    """OAuthAuthentication.

    All required parameters must be populated in order to send to Azure.

    :param type: Required. Constant filled by server.
    :type type: str
    :param secret: Gets or sets the secret, return value will always be empty.
    :type secret: str
    :param tenant: Gets or sets the tenant.
    :type tenant: str
    :param audience: Gets or sets the audience.
    :type audience: str
    :param client_id: Gets or sets the client identifier.
    :type client_id: str
    """
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / basic_authentication.py View on Github external
# 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 .http_authentication import HttpAuthentication


class BasicAuthentication(HttpAuthentication):
    """BasicAuthentication.

    All required parameters must be populated in order to send to Azure.

    :param type: Required. Constant filled by server.
    :type type: str
    :param username: Gets or sets the username.
    :type username: str
    :param password: Gets or sets the password, return value will always be
     empty.
    :type password: str
    """

    _validation = {
        'type': {'required': True},
    }
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / service_bus_topic_message.py View on Github external
# 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 .service_bus_message import ServiceBusMessage


class ServiceBusTopicMessage(ServiceBusMessage):
    """ServiceBusTopicMessage.

    :param authentication: Gets or sets the Service Bus authentication.
    :type authentication:
     ~azure.mgmt.scheduler.models.ServiceBusAuthentication
    :param brokered_message_properties: Gets or sets the brokered message
     properties.
    :type brokered_message_properties:
     ~azure.mgmt.scheduler.models.ServiceBusBrokeredMessageProperties
    :param custom_message_properties: Gets or sets the custom message
     properties.
    :type custom_message_properties: dict[str, str]
    :param message: Gets or sets the message.
    :type message: str
    :param namespace: Gets or sets the namespace.
    :type namespace: str
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / service_bus_queue_message.py View on Github external
# 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 .service_bus_message import ServiceBusMessage


class ServiceBusQueueMessage(ServiceBusMessage):
    """ServiceBusQueueMessage.

    :param authentication: Gets or sets the Service Bus authentication.
    :type authentication:
     ~azure.mgmt.scheduler.models.ServiceBusAuthentication
    :param brokered_message_properties: Gets or sets the brokered message
     properties.
    :type brokered_message_properties:
     ~azure.mgmt.scheduler.models.ServiceBusBrokeredMessageProperties
    :param custom_message_properties: Gets or sets the custom message
     properties.
    :type custom_message_properties: dict[str, str]
    :param message: Gets or sets the message.
    :type message: str
    :param namespace: Gets or sets the namespace.
    :type namespace: str
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / models / service_bus_message.py View on Github external
def __init__(self, **kwargs):
        super(ServiceBusMessage, self).__init__(**kwargs)
        self.authentication = kwargs.get('authentication', None)
        self.brokered_message_properties = kwargs.get('brokered_message_properties', None)
        self.custom_message_properties = kwargs.get('custom_message_properties', None)
        self.message = kwargs.get('message', None)
        self.namespace = kwargs.get('namespace', None)
        self.transport_type = kwargs.get('transport_type', None)
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / scheduler_management_client.py View on Github external
def __init__(
            self, credentials, subscription_id, base_url=None):

        self.config = SchedulerManagementClientConfiguration(credentials, subscription_id, base_url)
        super(SchedulerManagementClient, self).__init__(self.config.credentials, self.config)

        client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
        self.api_version = '2016-03-01'
        self._serialize = Serializer(client_models)
        self._deserialize = Deserializer(client_models)

        self.job_collections = JobCollectionsOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.jobs = JobsOperations(
            self._client, self.config, self._serialize, self._deserialize)

        patch_client(self)
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / scheduler_management_client.py View on Github external
def __init__(
            self, credentials, subscription_id, base_url=None):

        self.config = SchedulerManagementClientConfiguration(credentials, subscription_id, base_url)
        super(SchedulerManagementClient, self).__init__(self.config.credentials, self.config)

        client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
        self.api_version = '2016-03-01'
        self._serialize = Serializer(client_models)
        self._deserialize = Deserializer(client_models)

        self.job_collections = JobCollectionsOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.jobs = JobsOperations(
            self._client, self.config, self._serialize, self._deserialize)

        patch_client(self)
github Azure / azure-sdk-for-python / azure-mgmt-scheduler / azure / mgmt / scheduler / scheduler_management_client.py View on Github external
def __init__(
            self, credentials, subscription_id, base_url=None):

        if credentials is None:
            raise ValueError("Parameter 'credentials' must not be None.")
        if subscription_id is None:
            raise ValueError("Parameter 'subscription_id' must not be None.")
        if not base_url:
            base_url = 'https://management.azure.com'

        super(SchedulerManagementClientConfiguration, self).__init__(base_url)

        self.add_user_agent('azure-mgmt-scheduler/{}'.format(VERSION))
        self.add_user_agent('Azure-SDK-For-Python')

        self.credentials = credentials
        self.subscription_id = subscription_id

azure-mgmt-scheduler

Microsoft Azure Scheduler Management Client Library for Python

MIT
Latest version published 17 days ago

Package Health Score

91 / 100
Full package analysis

Popular azure-mgmt-scheduler functions

Similar packages