Giter Site home page Giter Site logo

cbi-oi-azure-china's Introduction

Azure China CBI Upload Policy

What it does

This Policy will poll the Azure China EA API, download the bill and upload it to CBI Bill Upload API. This Policy will need to be applied every month with a new Billing Period

Input Parameters

This policy has the following input parameters required when launching the policy.

  • Azure Enrollment ID - Enrollment ID from Azure China Billing Portal
  • Bill Connect ID - Bill Connect ID created in CBI API ex: cbi-oi-azure-china-*
  • Billing Period - Billing Period from Azure Portal YYYY-MM
  • Email addresses - A list of email addresses to notify

Policy Actions

The following policy actions are taken on any resources found to be out of compliance.

  • Upload Bill to Optima Endpoint
  • Send an email report

Prerequisites

This policy uses credentials for connecting to the cloud -- in order to apply this policy you must have a credential registered in the system that is compatible with this policy. If there are no credentials listed when you apply the policy, please contact your cloud admin and ask them to register a credential that is compatible with this policy. The information below should be consulted when creating the credential.

Credential configuration

For administrators creating and managing credentials to use with this policy, the following information is needed:

A API Key Credential with the following configuration:

  • Identifier: azure_ea_china_$AZURE_ENROLLMENT_ID
  • Location: header
  • Field: Authorization
  • Type: Bearer
  • Key: Azure Key from Portal
  • Tags: provider: azure_ea_china

Supported Clouds

  • Azure

Cost

This Policy Template does not launch any instances, and so does not incur any cloud costs.

cbi-oi-azure-china's People

Contributors

douglaswth avatar rshade avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.